SHORT:=12; LONG:=26; M:=9; DIFF:=Ema(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:=EMA(DIFF,M); A1:=COUNT(crOSS(DIFF,DEA),BArslAst(DEA>=0)); 二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(A1=2,21)=1;