通达信macd零下金叉源码

通达信macd零下金叉指标公式

DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
 DEA := EMA(DIFF,9);
零下金叉:IF(DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA),50,0);