编写要求:
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); MACD:(DIF-DEA)*2,COLORSTICK;
公式在线网解答:
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);