九毛八公式指标
公式模块:
请老师编一个当日macd金叉家数公式。显示在主图上.谢谢!
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
金叉:cross(DIFF,DEA);
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
M金叉:=CROSS(DIFF,DEA);
DRAWTEXT(M金叉,L*0.98,'M金叉'),COLORYELLOW;