【股票入门】【通达信】背离一目了然指标公式
W:=1; M:=1; MM:=9*M; SHORT:=MM*4/3; LONG:=MM*26/9; DIFF:=(EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)); DEA:=EMA(DIFF,MM),COLOR58FF58; MACD:=2*(DIFF-DEA),COLORFFFF00,LINETHICK0; 红柱:DRAWBAND(MACD,RGB(180,50,50...
W:=1; M:=1; MM:=9*M; SHORT:=MM*4/3; LONG:=MM*26/9; DIFF:=(EMA(CLOSE,SHORT)-EMA(CLOSE,LONG)); DEA:=EMA(DIFF,MM),COLOR58FF58; MACD:=2*(DIFF-DEA),COLORFFFF00,LINETHICK0; 红柱:DRAWBAND(MACD,RGB(180,50,50...