通达信缠师倍率副图指标 源码 贴图
2025-01-15 10:21:00来源:本站整理浏览:164
通达信缠师倍率副图指标 源码 贴图
放大倍率:=1;
S:=12*放大倍率;
P:=26*放大倍率;
M:=9*放大倍率;
DIF:EMA(CLOSE,S)-EMA(CLOSE,P);
DEA:EMA(DIF,M);
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORYELLOW,LINETHICK1;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORGREEN,LINETHICK1;
DRAWLINE(DIF>REF(DIF,1) AND REF(DIF,1)>0,DIF,DIF<REF(DIF,1),DIF,0),COLORFF00FF,LINETHICK1;
DRAWLINE(DEA>REF(DEA,1),DEA,DEA<REF(DEA,1),DEA,0),LINETHICK1;
0,COLORWHITE,DOTLINE;{公式网WWW.GPXIAZAI.COM}
DRAWRECTREL(0,0,30,35,RGB(255,255,00)),COLORWHITE;
S:=12*放大倍率;
P:=26*放大倍率;
M:=9*放大倍率;
DIF:EMA(CLOSE,S)-EMA(CLOSE,P);
DEA:EMA(DIF,M);
MACD:(DIF-DEA)*2,COLORSTICK;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),0,MACD,1,0),COLORYELLOW,LINETHICK1;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),0,MACD,1,0),COLORGREEN,LINETHICK1;
DRAWLINE(DIF>REF(DIF,1) AND REF(DIF,1)>0,DIF,DIF<REF(DIF,1),DIF,0),COLORFF00FF,LINETHICK1;
DRAWLINE(DEA>REF(DEA,1),DEA,DEA<REF(DEA,1),DEA,0),LINETHICK1;
0,COLORWHITE,DOTLINE;{公式网WWW.GPXIAZAI.COM}
DRAWRECTREL(0,0,30,35,RGB(255,255,00)),COLORWHITE;
- 上一篇公式:通达信精选二板选股指标 源码 贴图
- 下一篇公式:没有了