中DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
中DEA:=EMA(中DIFF,9);
A:=crOSS(中DIFF,中DEA);
两次金叉:=CROSS(中DIFF,中DEA)AND COUNT(A,20)=2 AND macd>REF(MacD,1);
X20日内2次金叉:两次金叉;
中DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
中DEA:=EMA(中DIFF,9);
A:=crOSS(中DIFF,中DEA);
两次金叉:=CROSS(中DIFF,中DEA)AND COUNT(A,20)=2 AND macd>REF(MacD,1);
X20日内2次金叉:两次金叉;