编写要求:
macd零轴下DFI金叉DEA出红柱的选股公式。
公式在线网解答:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=(DIFF-DEA)*2; 零下金叉:CROSS(DIFF,DEA) AND DIFF<-0.1; DRAWTEXT(零下金叉,0.9,'-零下金叉');