DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
macd:=2*(DIFF-DEA);
A:=DIFF<0 AND crOSS(DIFF,DEA);
两次金叉:CROSS(DIFF,DEA) AND COUNT(A,10)=2;
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:EMA(DIFF,9);
macd:=2*(DIFF-DEA);
A:=DIFF<0 AND crOSS(DIFF,DEA);
两次金叉:CROSS(DIFF,DEA) AND COUNT(A,10)=2;