【股票入门】【通达信】多彩MACD指标公式
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW; DEA:EMA(DIF,9),NODRAW; MACD:(DIF-DEA)*2,COLORSTICK,COLORRED; {以下是COPY的,来源于理想论坛} ES:=REF(EMA(C,26),1);EP:=REF(EMA(C,12),1); DI:=REF(DIF,1)...
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW; DEA:EMA(DIF,9),NODRAW; MACD:(DIF-DEA)*2,COLORSTICK,COLORRED; {以下是COPY的,来源于理想论坛} ES:=REF(EMA(C,26),1);EP:=REF(EMA(C,12),1); DI:=REF(DIF,1)...
换手:VOL/CAPITAL*100,NODRAW; HHS:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL); 虚换:HHS/CAPITAL*100,COLORRED,NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚换,0,2,-1),COLORC0C0C0...
SHORT:=24; LONG:=152; MID:=18; DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),NODRAW; DEA:EMA(DIF,MID),NODRAW; MACD:(DIF-DEA)*2,COLORSTICK; {多周期统计} 当红:IF(BARSLAST(MACD0),0),NODRAW,COLORGREEN; {MACD周...
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);{在屏幕左上角显示所属行业板块} DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);{在屏幕左上角显示所属地域板块} DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,G...