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

通达信自动波段划线主图指标公式,通达信上拐下拐主图指标公式

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

    关注√

    牛市通网微信

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

通达信自动波段划线主图指标公式,通达信上拐下拐主图指标公式

通达信自动波段划线主图指标公式

N1:=4;

LC:=REF(CLOSE,1);

RA1:=REF(C,N1)=HHV(C,N1*2+1); RA2:=REF(C,N1)=LLV(C,N1*2+1);

RB1:=FILTER(RA1,N1); RB2:=FILTER(RA2,N1);

RC1:=BacKSET(RB1,N1+1); RC2:=BACKSET(RB2,N1+1);

RD1:=FILTER(RC1,N1); RD2:=FILTER(RC2,N1);

GD1:=BArslAst(RD1); DD1:=BARSLAST(RD2);

GDTS:=IF(RD1,CURRBARSCOUNT,0);

DDTS:=IF(RD2,CURRBARSCOUNT,0);

GDT1:=IF(GD1,REF(GDTS,GD1),GDTS);

DDT1:=IF(DD1,REF(DDTS,DD1),DDTS);

GDCS1:=CONST(GDT1); DDCS1:=CONST(DDT1);

GINGBUTS1:=REF(GDT1,GD1+1); DINGBUTS1:=REF(DDT1,DD1+1);

GDCS2:=CONST(GINGBUTS1); DDCS2:=CONST(DINGBUTS1);

GDCS13:=CONST(REF(C,GDCS1-1)); DDCS13:=CONST(REF(C,DDCS1-1));

GDCS23:=CONST(REF(C,GINGBUTS1-1)); DDCS23:=CONST(REF(C,DINGBUTS1-1));

XG1:=BACKSET(ISLASTBAR,GDCS1); XD1:=BACKSET(ISLASTBAR,DDCS1);

XG2:=BACKSET(ISLASTBAR,GDCS2); XD2:=BACKSET(ISLASTBAR,DDCS2);

M:=2*N1;

RA11:=REF(C,M)=HHV(C,M*2+1); RA22:=REF(C,M)=LLV(C,M*2+1);

RB11:=FILTER(RA11,M); RB22:=FILTER(RA22,M);

RC11:=BACKSET(RB11,M+1); RC22:=BACKSET(RB22,M+1);

RD11:=FILTER(RC11,M); RD22:=FILTER(RC22,M),NODRAW;

GD11:=BARSLAST(RD11); DD11:=BARSLAST(RD22);

GDTSS:=IF(RD11,CURRBARSCOUNT,0);

DDTSS:=IF(RD22,CURRBARSCOUNT,0);

GDT11:=IF(GD11,REF(GDTSS,GD11),GDTSS);

DDT11:=IF(DD11,REF(DDTSS,DD11),DDTSS);

GDCS11:=CONST(GDT11); DDCS11:=CONST(DDT11);

GINGBUTS11:=REF(GDT11,GD11+1); DINGBUTS11:=REF(DDT11,DD11+1);

GDCS22:=CONST(GINGBUTS11); DDCS22:=CONST(DINGBUTS11);

STICKLINE(XG1,GDCS13*0.9999,GDCS13*1,2,1),COLORWHITE;

STICKLINE(XG2,GDCS23*0.9999,GDCS23*1,2,1),COLORGREEN;

STICKLINE(XD2,DDCS23*0.9999,DDCS23*1,2,1),COLORYELLOW;

STICKLINE(XD1,DDCS13*0.9999,DDCS13*1,2,1),COLORRED;

HIGHN:=8;LOWN:=8;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;

maDISPLAY:=0;

AA:=REF(C,HIGHN)=HHV(C,2*HIGHN+1);

QY:=BACKSET(AA,HIGHN+1);

CC:=FILTER(QY,HIGHN) AND C=HHV(C,HIGHN+1);

DDD:=BARSLAST(CC);

GDTSG:=IF(CC,CURRBARSCOUNT,0);

DINGBU:=IF(DDD,REF(C,DDD),C);{

顶部}DINGBUTS:=IF(DDD,REF(GDTSG,DDD),GDTSG);

DINGBU1:=REF(DINGBU,DDD+1);

GDCSD:=CONST(DINGBUTS);

DINGBUTSD:=REF(DINGBUTS,DDD+1);

GDCSC:=CONST(DINGBUTSD);

DINGBU2:=REF(DINGBU1,DDD+1);

MM:=IF(CURRBARSCOUNT>GDCSC,0,1);

高压:DRAWLINE(CURRBARSCOUNT=GDCS2,C,CURRBARSCOUNT=GDCS1,C,1) COLORFF00FF,LINETHICK1;

DRAWLINE(CURRBARSCOUNT=GDCSC,C,ISLASTBAR,REF(C,GDCSC-1),1),COLOR0055FF,POINTDOT;

DRAWLINE(CURRBARSCOUNT=GDCSD,C,ISLASTBAR,REF(C,GDCSD-1),1),COLORYELLOW,POINTDOT;

AA1:=REF(C,LOWN)=LLV(C,2*LOWN+1);

QY1:=BACKSET(AA1,LOWN+1);

CC1:=FILTER(QY1,LOWN) AND C=LLV(C,LOWN+1);

DDA:=BARSLAST(CC1);

DDTSD:=IF(CC1,CURRBARSCOUNT,0);

YDB:=IF(DDA,REF(C,DDA),C);

DDTST:=IF(DDA,REF(DDTSD,DDA),DDTSD);

DDCSD:=CONST(DDTST);

ZDB:=REF(YDB,DDA+1);

DDTS2:=REF(DDTST,DDA+1);

DDCSC:=CONST(DDTS2);

低支:DRAWLINE(CURRBARSCOUNT=DDCSC,C,CURRBARSCOUNT=DDCSD,C,1) COLORFF00FF,LINETHICK1;

ZGSTAR:=(高压+低支)/2;

ZGEND:=CONST((高压+低支)/2);

STARDAY:=IF(DDCSC

中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF00FF,LINETHICK1;

DRAWLINE(CURRBARSCOUNT=DDCSD,C,ISLASTBAR,REF(C,DDCSD-1),1),COLORMAGENTA,POINTDOT,;

DRAWLINE(CURRBARSCOUNT=DDCSC,C,ISLASTBAR,REF(C,DDCSC-1),1),COLORCYAN,POINTDOT;

K:SMA(C,3,1),COLORWHITE;

D:SMA(K,3,1),COLORBLUE;

J:3*K-2*D,COLORYELLOW;

通达信上拐下拐主图指标公式

SHORT:=26;LONG:=12;M:=9;M1:=2;

LC:=REF(CLOSE,1);

rsi:=((SMA(maX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100);

FF:=ema(CLOSE,3);

MA15:=EMA(CLOSE,21);

波动回调提示图:MA(CLOSE,10000);

stICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLOR0000FF;

STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLORFF0000;

DRAWTEXT(crOSS(FF,MA15),(LOW * 0.99),'上拐点'),COLOR00FFFF;

DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),COLOR00FF00;

DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),COLORFFFFFF;

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),COLOR0000AA;

STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),COLOR0000CC;

STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),COLORAAAA00;

STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORBBBB00;

STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;

STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;

指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;

界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;

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

责任编辑:admin888 标签:通达信自动波段划线主图指标公式,通达信上拐下拐主图指标公式
广告

热门搜索

相关文章

广告
牛市通网 |财经频道

通达信自动波段划线主图指标公式,通达信上拐下拐主图指标公式

admin888

|

通达信自动波段划线主图指标公式,通达信上拐下拐主图指标公式

通达信自动波段划线主图指标公式

N1:=4;

LC:=REF(CLOSE,1);

RA1:=REF(C,N1)=HHV(C,N1*2+1); RA2:=REF(C,N1)=LLV(C,N1*2+1);

RB1:=FILTER(RA1,N1); RB2:=FILTER(RA2,N1);

RC1:=BacKSET(RB1,N1+1); RC2:=BACKSET(RB2,N1+1);

RD1:=FILTER(RC1,N1); RD2:=FILTER(RC2,N1);

GD1:=BArslAst(RD1); DD1:=BARSLAST(RD2);

GDTS:=IF(RD1,CURRBARSCOUNT,0);

DDTS:=IF(RD2,CURRBARSCOUNT,0);

GDT1:=IF(GD1,REF(GDTS,GD1),GDTS);

DDT1:=IF(DD1,REF(DDTS,DD1),DDTS);

GDCS1:=CONST(GDT1); DDCS1:=CONST(DDT1);

GINGBUTS1:=REF(GDT1,GD1+1); DINGBUTS1:=REF(DDT1,DD1+1);

GDCS2:=CONST(GINGBUTS1); DDCS2:=CONST(DINGBUTS1);

GDCS13:=CONST(REF(C,GDCS1-1)); DDCS13:=CONST(REF(C,DDCS1-1));

GDCS23:=CONST(REF(C,GINGBUTS1-1)); DDCS23:=CONST(REF(C,DINGBUTS1-1));

XG1:=BACKSET(ISLASTBAR,GDCS1); XD1:=BACKSET(ISLASTBAR,DDCS1);

XG2:=BACKSET(ISLASTBAR,GDCS2); XD2:=BACKSET(ISLASTBAR,DDCS2);

M:=2*N1;

RA11:=REF(C,M)=HHV(C,M*2+1); RA22:=REF(C,M)=LLV(C,M*2+1);

RB11:=FILTER(RA11,M); RB22:=FILTER(RA22,M);

RC11:=BACKSET(RB11,M+1); RC22:=BACKSET(RB22,M+1);

RD11:=FILTER(RC11,M); RD22:=FILTER(RC22,M),NODRAW;

GD11:=BARSLAST(RD11); DD11:=BARSLAST(RD22);

GDTSS:=IF(RD11,CURRBARSCOUNT,0);

DDTSS:=IF(RD22,CURRBARSCOUNT,0);

GDT11:=IF(GD11,REF(GDTSS,GD11),GDTSS);

DDT11:=IF(DD11,REF(DDTSS,DD11),DDTSS);

GDCS11:=CONST(GDT11); DDCS11:=CONST(DDT11);

GINGBUTS11:=REF(GDT11,GD11+1); DINGBUTS11:=REF(DDT11,DD11+1);

GDCS22:=CONST(GINGBUTS11); DDCS22:=CONST(DINGBUTS11);

STICKLINE(XG1,GDCS13*0.9999,GDCS13*1,2,1),COLORWHITE;

STICKLINE(XG2,GDCS23*0.9999,GDCS23*1,2,1),COLORGREEN;

STICKLINE(XD2,DDCS23*0.9999,DDCS23*1,2,1),COLORYELLOW;

STICKLINE(XD1,DDCS13*0.9999,DDCS13*1,2,1),COLORRED;

HIGHN:=8;LOWN:=8;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;

maDISPLAY:=0;

AA:=REF(C,HIGHN)=HHV(C,2*HIGHN+1);

QY:=BACKSET(AA,HIGHN+1);

CC:=FILTER(QY,HIGHN) AND C=HHV(C,HIGHN+1);

DDD:=BARSLAST(CC);

GDTSG:=IF(CC,CURRBARSCOUNT,0);

DINGBU:=IF(DDD,REF(C,DDD),C);{

顶部}DINGBUTS:=IF(DDD,REF(GDTSG,DDD),GDTSG);

DINGBU1:=REF(DINGBU,DDD+1);

GDCSD:=CONST(DINGBUTS);

DINGBUTSD:=REF(DINGBUTS,DDD+1);

GDCSC:=CONST(DINGBUTSD);

DINGBU2:=REF(DINGBU1,DDD+1);

MM:=IF(CURRBARSCOUNT>GDCSC,0,1);

高压:DRAWLINE(CURRBARSCOUNT=GDCS2,C,CURRBARSCOUNT=GDCS1,C,1) COLORFF00FF,LINETHICK1;

DRAWLINE(CURRBARSCOUNT=GDCSC,C,ISLASTBAR,REF(C,GDCSC-1),1),COLOR0055FF,POINTDOT;

DRAWLINE(CURRBARSCOUNT=GDCSD,C,ISLASTBAR,REF(C,GDCSD-1),1),COLORYELLOW,POINTDOT;

AA1:=REF(C,LOWN)=LLV(C,2*LOWN+1);

QY1:=BACKSET(AA1,LOWN+1);

CC1:=FILTER(QY1,LOWN) AND C=LLV(C,LOWN+1);

DDA:=BARSLAST(CC1);

DDTSD:=IF(CC1,CURRBARSCOUNT,0);

YDB:=IF(DDA,REF(C,DDA),C);

DDTST:=IF(DDA,REF(DDTSD,DDA),DDTSD);

DDCSD:=CONST(DDTST);

ZDB:=REF(YDB,DDA+1);

DDTS2:=REF(DDTST,DDA+1);

DDCSC:=CONST(DDTS2);

低支:DRAWLINE(CURRBARSCOUNT=DDCSC,C,CURRBARSCOUNT=DDCSD,C,1) COLORFF00FF,LINETHICK1;

ZGSTAR:=(高压+低支)/2;

ZGEND:=CONST((高压+低支)/2);

STARDAY:=IF(DDCSC

中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF00FF,LINETHICK1;

DRAWLINE(CURRBARSCOUNT=DDCSD,C,ISLASTBAR,REF(C,DDCSD-1),1),COLORMAGENTA,POINTDOT,;

DRAWLINE(CURRBARSCOUNT=DDCSC,C,ISLASTBAR,REF(C,DDCSC-1),1),COLORCYAN,POINTDOT;

K:SMA(C,3,1),COLORWHITE;

D:SMA(K,3,1),COLORBLUE;

J:3*K-2*D,COLORYELLOW;

通达信上拐下拐主图指标公式

SHORT:=26;LONG:=12;M:=9;M1:=2;

LC:=REF(CLOSE,1);

rsi:=((SMA(maX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) * 100);

FF:=ema(CLOSE,3);

MA15:=EMA(CLOSE,21);

波动回调提示图:MA(CLOSE,10000);

stICKLINE((MA15 > REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLOR0000FF;

STICKLINE((MA15 < REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLORFF0000;

DRAWTEXT(crOSS(FF,MA15),(LOW * 0.99),'上拐点'),COLOR00FFFF;

DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),COLOR00FF00;

DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),COLORFFFFFF;

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

STICKLINE(买线>=卖线,LOW,HIGH,1,0),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),COLOR0000AA;

STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),COLOR0000CC;

STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),COLORAAAA00;

STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORBBBB00;

STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORCCCC00;

STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;

指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;

界: MA(CLOSE,27),LINETHICK1,COLOR00FFFF;

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


财经频道