编写要求:
macd 的dif在正负0.05之间金叉
公式在线网解答:
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); 金叉:CROSS(DIFF,DEA) AND BETWEEN(DIFF,-0.1,0.1);