看看例子如:妖股-泉峰汽车603982 这个股票 AA:=WINNER(CLOSE+CLOSE*15/100)*100;
BB:=WINNER(CLOSE+CLOSE*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;
EE:=CC<3 AND DD<0.5 AND OPEN<>LOW;
A1:=DYNAINFO(6);
A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));
A3:=VOL/WINNER(LOW);
A4:=REF(HHV(CLOSE,120),1);
A5:=REF(LLV(CLOSE,120),1);
A6:=100*(CLOSE-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
A11:=IF(FILTER(A8,3),5,0);
A12:=IF(FILTER(A10,3) OR EE,10,0);
进场日:IF(A11,1,0),LINETHICK0;
STICKLINE(A12,100,15,5,0),COLORFF00FF;
加仓日:IF(A12,1,0),LINETHICK0;
STICKLINE(A12,100,15,5,0),COLORFF00FF;
STICKLINE(A11,50,5,5,0),COLORFF7700;
STICKLINE(A11,50,5,4.5,0),COLORFF8800;
STICKLINE(A11,50,5,4,0),COLORFF9900;
STICKLINE(A11,50,5,3.5,0),COLORFFAA00;
STICKLINE(A11,50,5,3,0),COLORFFBB00;
STICKLINE(A11,50,5,2.5,0),COLORFFCC00;
STICKLINE(A11,50,5,2,0),COLORFFDD00;
STICKLINE(A11,50,5,1,0),COLORFFEE00;
STICKLINE(A12,100,15,4.5,0),COLOR102099;
STICKLINE(A12,100,15,4,0),COLOR1020AA;
STICKLINE(A12,100,15,3.5,0),COLOR1020BB;
STICKLINE(A12,100,15,3,0),COLOR1020CC;
STICKLINE(A12,100,15,2.5,0),COLOR1020DD;
STICKLINE(A12,100,15,2,0),COLOR1020EE;
STICKLINE(A12,100,15,1,0),COLOR1020FF;
DRAWTEXT(A11,48,'进场'),COLORYELLOW;
DRAWTEXT(A12,77,'加仓'),COLORWHITE;
{持仓线}
VAR1:=IF(YEAR>=2993 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
VAR9:=IF(VAR8>100,100,VAR8)*VAR1;
吸筹:IF((VAR9>-150),VAR9,0),DRAWNULL,COLORMAGENTA;
STICKLINE(VAR9>-150,0,VAR9,6,1), , COLORMAGENTA;
持筹线: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100*VAR1, , COLORGREEN;
抄底: IF(CROSS(持筹线,-24),1,0), , COLORRED;
STICKLINE(CROSS(持筹线,-24),100,0,6,0), , COLORGREEN;
先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100*VAR1, , COLORYELLOW;
{可能放量拉升: 0*VAR1, , COLORWHITE;}
启动:(CROSS(ZIG(3,14),REF(ZIG(3,14),1))),COLORRED,LINETHICK0;
顶部:(CROSS(REF(ZIG(3,14),1),ZIG(3,14))),COLORGREEN,LINETHICK0;
DRAWICON(CROSS(ZIG(3,14),REF(ZIG(3,14),1)),-15,34), COLORRED;
DRAWICON(CROSS(REF(ZIG(3,14),1),ZIG(3,14)),82,35), COLORCYAN;
{大单异动}
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
XG:=(FILTER((VAR4AA>90),45)),COLORYELLOW;
异动:XG;
STICKLINE(XG,90,0,2.5,0),COLORRED ;
STICKLINE(XG,90,0,2,0),COLORYELLOW ;
STICKLINE(XG,50,0,1,0),COLORMAGENTA ;
DRAWTEXT(XG,50,'大单异动'),COLORYELLOW ;
{追板}{分析家公式网 WWW.fxjgsw.com 整理}
AZ:=IF(YEAR >= 2020,0,1);
AX:=EMA((EMA(C * V,3) / EMA(V,3) + EMA(C * V,6) / EMA(V,6) + EMA(C * V,12) / EMA(V,12) + EMA(C * V,24) / EMA(V,24)) / 4,13);
AC:=1.06 * AX * AZ;
AV:=(C - REF(C,1)) / REF(C,1) * 100;
大妖:FILTER(CROSS((EMA(C,5) * 7 + EMA(C,10) * 3) / 10,MA(H,30) * (1 + 13 / 100)),5) ;
STICKLINE(大妖,80,0,2,0),COLORRED;
{牛妖指标}
X_1:=EMA(CLOSE,2)-EMA(CLOSE,89);
X_2:=EMA(X_1,30);
X_3:=2*(X_1-X_2)*9.8;
X_4:=POW(X_3,3)*0.1+POW(X_3,2);
X_5:=IF(X_3>0.015,X_4,0)/28;
X_6:=MA(CLOSE,5);
X_7:=MA(CLOSE,10);
X_8:=MA(CLOSE,20);
X_9:=X_8>X_7 AND X_8>X_6;
X_10:=X_9 AND CROSS(CLOSE,X_8) AND CLOSE/REF(CLOSE,1)>1.02;
牛:=X_10,DRAWNULL;
X_11:=X_9 AND CROSS(CLOSE,X_8) AND CLOSE/REF(CLOSE,1)>1.09;
妖:X_11;
STICKLINE(X_11,0,50,9,0),COLORGREEN;
STICKLINE(X_11,0,60,7,0),COLORFF0033;
STICKLINE(X_11,0,70,6,0),COLORFF0066;
STICKLINE(X_11,0,80,5,0),COLORFF0099;
STICKLINE(X_11,0,90,3,0),COLORFF00CC;
STICKLINE(X_11,0,95,1.5,0),COLOR0099FF;
STICKLINE(X_11,0,95,0.6,0),COLORRED;
{STICKLINE(X_10,0,95,0.6,0),COLORBLUE;}
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
全仓:CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
STICKLINE(全仓,50,5,5,0),COLORYELLOW;
DRAWTEXT(全仓,25,'全仓'),COLORRED;
{起攀}
VVAR3:=(C-LLV(L,125))/(HHV(H,125)-LLV(L,125))*100;
VVAR4:=SMA(VVAR3,72,1);
VVAR5:=SMA(VVAR4,34,1);
VVAR6:=(2*C+H+L)/4;
VVAR7:=LLV(L,27);
VVAR8:=HHV(H,27);
攀登:=(EMA((VVAR6-VVAR7)/(VVAR8-VVAR7)*100,13)-15)*1.6;
金山:=EMA(0.618*REF(攀登,1)+0.382*攀登,3);
起步:IF(CROSS(攀登,金山) AND 金山<30,1,0),COLORRED;
均五升:=(MA(C,5)-REF(MA(C,5),1))>=0;
均十升:=(MA(C,10)-REF(MA(C,10),1))>=0;
中线趋势:=3*VVAR4-2*VVAR5;
中线趋势升:=(中线趋势-REF(中线趋势,1))>=0;
运动员:=IF(攀登>=金山 AND 均五升 AND 均十升 AND 中线趋势升 AND 金山<35,1,0);
起攀:IF(运动员=1 AND COUNT(运动员=1,5)=1,1,0),COLORFF9999,LINETHICK1;
DRAWICON(起步,20,23);
DRAWICON(起攀,20,30);
{火鸟出击}
AM1:=C/REF(C,1)>1.095 AND C=H;
H1:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.05);
H2:=C/REF(C,1)>1.041 AND C>REF(O,1);
XGH1:=H1 AND H2;
XGY:=XGH1;
火鸟:COUNT(REF(AM1,3),10) AND XGY;
DRAWTEXT(火鸟,10,'★'),COLORRED;
{绝密买点}
KM1:=C/REF(C,1)>1.095 AND C=H;
DM1:=C/REF(C,1)>1.041 AND L<MA(C,5) AND C>MA(C,5) AND L<MA(C,10) AND C>MA(C,10) AND L<MA(C,20) AND C>MA(C,20)
AND ((L<MA(C,60)AND C>MA(C,60)) OR (L<MA(C,120)AND C>MA(C,120)));
绝密:COUNT(REF(KM1,3),10) AND DM1;
DRAWTEXT(绝密,8,'★'),COLORWHITE;
{超牛}
涨跌:=REF(C,1);
涨停:=IF(((((C - 涨跌) * 100) / 涨跌) >= (10 - ((0.01 * 100) / 涨跌))),1,0);
DIF:=(EMA(C,12) - EMA(C,26));
DEA:=EMA(DIF,9);
MACD:=((DIF - DEA) * 2);
VARN2:=(CLOSE * VOL);
VARN3:=EMA((((((EMA(VAR2,3) / EMA(VOL,3)) + (EMA(VAR2,6) / EMA(VOL,6))) + (EMA(VAR2,12) / EMA(VOL,12))) + (EMA(VAR2,24) / EMA(VOL,24))) / 4),13);
VARN4:=EMA(CLOSE,9);
飞狐线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 20) / 100));
强势线:=(MA(CLOSE,25) + ((MA(CLOSE,25) * 6) / 100));
支撑线:=((((MA(CLOSE,3) + MA(CLOSE,6)) + MA(CLOSE,12)) + MA(CLOSE,24)) / 4);
压力线:=EMA((VARN4 * 1.14),5);
盈损线:=(LLV(REF(LOW,1),2) + ((HHV(REF(HIGH,1),2) - LLV(REF(LO |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!