MACD分析主力之二次金叉选股指标公式

SHORT:=12;

LONG:=26;

MID:=9;

DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);

DEA:=EMA(DIF,MID);

JCCOUNT:=COUNT(crOSS(DIF,DEA),BArslAst(DEA>=0));

二次金叉:CROSS(DIF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;