九毛八公式指标
公式模块:
请老师看看阴线买选股公式的【阴】为什么选不出股来,图上可以显示,如当天选不出来,能改显示信号的第2天发出信号,望老师帮助,谢谢老师。
Var11aa:=EMA(CLOSE,30)-EMA(CLOSE,17);
Var12aa:=EMA(Var11aa,5);
九:=TROUGHBARS(3,10,1)<1 AND crOSS(Var11aa,Var12aa);
DRAWICON(九>0,50,1 ),ALIGN1;
drawtext(九,99,'九'),color000000;
Var2a:=(EMA(CLOSE,26)-EMA(CLOSE,52))/MA(CLOSE,60)*100;
Var3a:=EMA(Var2a,18);
Var4a:=Var2a<-1;
Var5a:=Var4a AND CROSS(Var2a,Var3a);
追2:=Var5a;
追涨:if(追2>0,60,0),STICK,COLORYELLOW,linethick3 ;
xx:=EMA(CLOSE,30)-EMA(CLOSE,17);
yy:=EMA(xx,13);
短针2:=TROUGHBARS(3,5,1)<1 AND xx<yy;
阴:if(短针2>0,60,0),STICK,COLORf0f000,linethick3;
DRAWICON(阴>0,50,1 );
drawtext(阴,85,'阴'),Color00FF80;
n1:=30;n2:=17;n3:=5;n4:=6;
Var1x:=EMA(CLOSE,N1)-EMA(CLOSE,N2);
Var2x:=EMA(Var1x,N3);
剑:=CROSS(Var1x,Var2x) AND TROUGHBARS(3,7,1)<1;
DRAWICON(剑>0,50,1 );
drawtext(剑,73,'剑'),ColorFF00FF;
{未来函数,信号会漂移,小心使用}
XX:=EMA(CLOSE,30)-EMA(CLOSE,17);
YY:=EMA(XX,13);
XG:TROUGHBARS(3,5,1)<1 AND XX<YY;