首页 > 通达信选股公式

通达信极道MACD指标公式

作者:K线奥秘创建日期:2023-03-08
wKLK线密码—破译K线的密码
SHORT:=12;
LONG:=26;
MID:=9;
周期:=60;
DRAWGBK(C>0, RGB(180,100,100),RGB(10,50,150),0,'',0);
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),NODRAW;
DEA:EMA(DIF,MID),NODRAW;
DRAWBAND(DIF,RGB(150,10,150),0,RGB(10,150,150));
macd:(DIF-DEA)*2,NODRAW;
高线:MA(REF(HHV(MacD,周期),1),2),COLORWHITE,DOTLINE;
STICKLINE(MACD>=0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLORRED;
STICKLINE(MACD>=0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR000050;
STICKLINE(MACD>高线,MAX(高线,0),MACD,1.5,0),COLORYELLOW;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.5,0),COLOR00AA00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR006000;
修复:DEA,COLORBLACK,LINETHICK2;
DRAWICON(crOSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DIF,2);

上一篇:通达信筹码辨别指标公式

下一篇:通达信超级共振选股指标公式

猜你喜欢