【股票入门基础知识】【通达信】自用东方MACD指标公式
SHORT:=12;LONG:=26;MID:=9; DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); MACD:(DIF-DEA)*2,COLORSTICK; {主升段} DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27); DEA1:=EMA(DIFF,9); MACD1:=2*(DIFF-DEA1),CO...
SHORT:=12;LONG:=26;MID:=9; DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); MACD:(DIF-DEA)*2,COLORSTICK; {主升段} DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27); DEA1:=EMA(DIFF,9); MACD1:=2*(DIFF-DEA1),CO...