无敌黑马短线王:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
通达信:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
ggxffw1:=SMA(无敌黑马短线王,13,8);{通达信公式www.gs6699.com}
ggxffw2:=SMA(通达信,13,8);
ggxffw3:=SMA(ggxffw1,13,8),COLORRED;
ggxffw4:=SMA(ggxffw2,21,8),COLORGREEN;
ggxffw5:=CROSS(ggxffw4,ggxffw3);
ggxffw6:=BARSLAST(ggxffw5>0)>20;
ggxffw7:=ggxffw4-ggxffw3;
ggxffw8:=HHV(ggxffw7,BARSLAST(ggxffw5>0));
cccc:CROSS(ggxffw3,ggxffw4) AND ggxffw6=1 AND ggxffw8>60 AND CLOSE>OPEN;