DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2,COLORSTICK;
AA:=BArslAST(crOSS(MA(C,18),MA(C,50)));
DD:IF(AA<10,AA,0);
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
S4:=DYNAINFO(17)>0;
去除ST:=S2 AND S3 AND S4;
金叉回踩:AA<=10 AND AA>=2
AND C>MA(C,18) AND L
AND MacD>=0.006 AND DIF>0.006 AND DEA>0.006 AND 去除ST;