编写要求:
公式在线网解答:
网友求助:
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;