您当前的位置:股票 > 财经资讯 > 财经频道

通达信DMI黄金分割指标公式,通达信柱形乖离率指标公式

2024-06-15 23:17:50 来源: 作者: admin888
分享到
关注牛市通网在线:
  • 扫描二维码

    关注√

    牛市通网微信

在线咨询:
  • 扫描或点击关注牛市通网在线客服

通达信DMI黄金分割指标公式,通达信柱形乖离率指标公式

通达信DMI黄金分割指标公式

N:=14;

M:=6;

ADXP:=1;

TR1:= SUM(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);

HD := HIGH-REF(HIGH,1);

LD := REF(LOW,1)-LOW;

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);

DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);

pdi: DMP*100/TR1;

mdi: DMM*100/TR1;

ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);

ADXR:(ADX+REF(ADX,M))/2;

{传统MDI加进四条线 两句话较好}CD0:20;

CD1:40;

TD0:60;

TD1:80;

DRAWTEXT(crOSS( PDI,CD0), CD0,'●金'),COLORMAGENTA;

DRAWTEXT(CROSS( TD0,PDI), PDI,'●死'),COLORBLUE;

DRAWTEXT(CROSS( ADX,CD0), CD0,'●金'),COLORMAGENTA;

DRAWTEXT(CROSS( TD0,ADX), ADX,'●死'),COLORBLUE;

DRAWTEXT(CROSS( PDI,MDI), MDI,'★金'), COLORYELLOW;

DRAWTEXT(CROSS( MDI,PDI), PDI,'★死'), COLORGREEN;

DRAWTEXT(CROSS( ADX,ADXP), ADXP,'★金'), COLOR000999 ;

DRAWTEXT(CROSS( ADXP,ADX), ADX,'★死'), COLORCYAN;

DRAWTEXT(CURRBARSCOUNT=35,80.1,'梦的海洋友情提示:'),COLORYELLOW;

DRAWTEXT(CURRBARSCOUNT=35,76,'PDI线上穿20介入,下破60急出手 '),COLORBLUE;

DRAWTEXT(CURRBARSCOUNT=35,69.1,'ADX线上穿20介入,下破60急出手'),COLORCYAN;

DRAWTEXT(CURRBARSCOUNT=35,64.1,'如果回调幅度在0.618内属强势调整后市方向不会改变'),COLORMAGENTA;

DRAWTEXT(CURRBARSCOUNT=35,59.1,'如果回调超过在0.618后市方向可能逆转:'),COLORBLUE;

DRAWTEXT(CURRBARSCOUNT=35,54.1,'如果反弹高度在0.382内属反弹行情后市方向不会改变:'),COLORMAGENTA;

DRAWTEXT(CURRBARSCOUNT=35,50,'如果反弹超过在0.382后市方向可能逆转:'),COLORBLUE;

通达信柱形乖离率指标公式

L1:=6;

bias:(CLOSE-ma(CLOSE,L1))/MA(CLOSE,L1)*100,NODRAW,COLORWHITE;

stICKLINE(BIAS,0,BIAS,2,0),COLORLIGRAY;

STICKLINE(BIAS>=0 AND BIAS<3,0,BIAS,2,0),COLORLIGRAY;

STICKLINE(BIAS>=3 AND BIAS<5,0,BIAS,2,0),COLORRED;

STICKLINE(BIAS>=5 AND BIAS<8,0,BIAS,2,0),COLORLIRED;

STICKLINE(BIAS>=8 AND BIAS<11,0,BIAS,2,0),COLORYELLOW;

STICKLINE(BIAS<=0 AND BIAS<-5,0,BIAS,2,0),COLORGRAY;

STICKLINE(BIAS<=-8 ,0,BIAS,2,0),COLORMAGENTA;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。

责任编辑:admin888 标签:通达信DMI黄金分割指标公式,通达信柱形乖离率指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信DMI黄金分割指标公式,通达信柱形乖离率指标公式

admin888

|

通达信DMI黄金分割指标公式,通达信柱形乖离率指标公式

通达信DMI黄金分割指标公式

N:=14;

M:=6;

ADXP:=1;

TR1:= SUM(maX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);

HD := HIGH-REF(HIGH,1);

LD := REF(LOW,1)-LOW;

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);

DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);

pdi: DMP*100/TR1;

mdi: DMM*100/TR1;

ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);

ADXR:(ADX+REF(ADX,M))/2;

{传统MDI加进四条线 两句话较好}CD0:20;

CD1:40;

TD0:60;

TD1:80;

DRAWTEXT(crOSS( PDI,CD0), CD0,'●金'),COLORMAGENTA;

DRAWTEXT(CROSS( TD0,PDI), PDI,'●死'),COLORBLUE;

DRAWTEXT(CROSS( ADX,CD0), CD0,'●金'),COLORMAGENTA;

DRAWTEXT(CROSS( TD0,ADX), ADX,'●死'),COLORBLUE;

DRAWTEXT(CROSS( PDI,MDI), MDI,'★金'), COLORYELLOW;

DRAWTEXT(CROSS( MDI,PDI), PDI,'★死'), COLORGREEN;

DRAWTEXT(CROSS( ADX,ADXP), ADXP,'★金'), COLOR000999 ;

DRAWTEXT(CROSS( ADXP,ADX), ADX,'★死'), COLORCYAN;

DRAWTEXT(CURRBARSCOUNT=35,80.1,'梦的海洋友情提示:'),COLORYELLOW;

DRAWTEXT(CURRBARSCOUNT=35,76,'PDI线上穿20介入,下破60急出手 '),COLORBLUE;

DRAWTEXT(CURRBARSCOUNT=35,69.1,'ADX线上穿20介入,下破60急出手'),COLORCYAN;

DRAWTEXT(CURRBARSCOUNT=35,64.1,'如果回调幅度在0.618内属强势调整后市方向不会改变'),COLORMAGENTA;

DRAWTEXT(CURRBARSCOUNT=35,59.1,'如果回调超过在0.618后市方向可能逆转:'),COLORBLUE;

DRAWTEXT(CURRBARSCOUNT=35,54.1,'如果反弹高度在0.382内属反弹行情后市方向不会改变:'),COLORMAGENTA;

DRAWTEXT(CURRBARSCOUNT=35,50,'如果反弹超过在0.382后市方向可能逆转:'),COLORBLUE;

通达信柱形乖离率指标公式

L1:=6;

bias:(CLOSE-ma(CLOSE,L1))/MA(CLOSE,L1)*100,NODRAW,COLORWHITE;

stICKLINE(BIAS,0,BIAS,2,0),COLORLIGRAY;

STICKLINE(BIAS>=0 AND BIAS<3,0,BIAS,2,0),COLORLIGRAY;

STICKLINE(BIAS>=3 AND BIAS<5,0,BIAS,2,0),COLORRED;

STICKLINE(BIAS>=5 AND BIAS<8,0,BIAS,2,0),COLORLIRED;

STICKLINE(BIAS>=8 AND BIAS<11,0,BIAS,2,0),COLORYELLOW;

STICKLINE(BIAS<=0 AND BIAS<-5,0,BIAS,2,0),COLORGRAY;

STICKLINE(BIAS<=-8 ,0,BIAS,2,0),COLORMAGENTA;

牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。


财经频道