【股票投资】【通达信】MACD夹心指标公式
SHORT:=12; LONG:=26; MID:=9; DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIFF,MID); MACD:(DIFF-DEA)*2,LINETHICK0; STICKLINE(MACD>0,MACD,0,-1,1),COLORRED; STICKLINE(MACDREF(MACD,1),HHV(MACD,42),1); D...
SHORT:=12; LONG:=26; MID:=9; DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIFF,MID); MACD:(DIFF-DEA)*2,LINETHICK0; STICKLINE(MACD>0,MACD,0,-1,1),COLORRED; STICKLINE(MACDREF(MACD,1),HHV(MACD,42),1); D...