您现在的位置是: 首页 >  指标公式 >  通达信 通达信

【通达信指标】上升画线主图指标公式(主图)

编辑:股小红 2023-03-16 8910人已围观

收藏

简介 【通达信指标】上升画线主图指标公式(主图),1.上升画线主图,波段画线,A点买B点卖 2.指标不含未来函数,指标不漂移

会员权益:

  • 普通用户 免费
  • VIP会员 免费
  • 年SVIP会员 免费推荐
  • 帝王SVIP会员   永久免费推荐

提示信息:

请在文章末尾获取资源下载链接!!!

开通会员下载更优惠!!官方客服微信:mhcj668

点击下方按钮自助充值,实时到账!!

【通达信指标】上升画线主图指标公式(主图)

第一部分 指标介绍

1.上升画线主图,波段画线,A点买B点卖

2.指标不含未来函数,指标不漂移

第二部分 指标公式

{上升画线--主图}

DRAWGBK(C>0, RGB(0,0,20),RGB(00,0,0),0,0,1);

DRAWKLINE(H,O,L,C);

HD:=FILTER(BACKSET(FILTER(REF(H,5)=HHV(H,13),5),5+1),6);{高点}

LD:=FILTER(BACKSET(FILTER(REF(L,5)=LLV(L,21),6),6),5);{低点}

DRAWLINE(LD,L,HD,H,0),COLORRED,LINETHICK2;

DRAWLINE(HD,H,LD,L,0),COLORGREEN;

J1:=BACKSET(CURRBARSCOUNT=2 ,MIN(BARSLAST(HD),BARSLAST(LD))+1);

J2:=J1>REF(J1,1);

DRAWLINE(J2,IF(HD,H,L),CURRBARSCOUNT=2 ,IF(BARSLAST(HD)>BARSLAST(LD),H,L),0),DOTLINE,COLORWHITE;

C点:=BARSLAST(LD);

DRAWTEXT(LD AND BARSLAST(HD)<BARSLAST(REF(LD,1)) ,L-0.1,'A'),COLORRED;

DRAWTEXT(HD,H+0.1,'B'),COLORGREEN;

波1:=12;

PLZ:=CONST(BARSLAST(CONST(FINDHIGH(H,0,25,1))=H))+1;

高25:CONST(IF(PLZ=1,H,REF(H,PLZ-1))),COLORGREEN,DOTLINE;

PLL:=CONST(BARSLAST(CONST(FINDLOW(L,0,100,1))=L))+1;

低100:CONST(IF(PLL=1,L,REF(L,PLL-1))),COLORGREEN,DOTLINE;

波动速率:=100*((高25-低100)/(IF(PLL>PLZ,低100,高25)))/(PLL-PLZ);

BPURC:=CONST(FINDHIGH(H,0,(IF(波1>0,波1,IF(PLZ<PLL,5,10)))*5,1));

BPLZ:=CONST(BARSLAST(BPURC=H))+1;

BQQT:=CONST(FINDLOW(L,0,(IF(波1>0,波1,IF(PLZ<PLL,5,10)))*5,1));

BPLL:=CONST(BARSLAST(BQQT=L))+1;

BLC顶X:=CONST(IF(BPLZ=1,H,REF(H,BPLZ-1)));

BLC低X:=CONST(IF(BPLL=1,L,REF(L,BPLL-1)));

BASE:=IF(波动速率<0,BLC顶X,BLC低X);

BLCZ:=(高25-低100)*(IF(PLL>PLZ,1,-1));

B12:=BASE+(BLCZ*1.382);

B14:=BASE+(BLCZ*1.618);

B200:=BASE+(BLCZ*2);

XZDD:=IF(PLL>PLZ,BPLL,BPLZ);

STICKLINE(CURRBARSCOUNT=XZDD ,BASE,B200,0,0),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=XZDD,B12,'---------------------------------------------------------------C1')COLORC0FF7F;

DRAWTEXT(CURRBARSCOUNT=XZDD,B14,'---------------------------------------------------------------C2')COLORYELLOW;

DRAWTEXT(CURRBARSCOUNT=XZDD,B200,'--------------------------------------------------------------C3')COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=10,B12,CON2STR(B12,2)),COLORC0FF7F;

DRAWTEXT(CURRBARSCOUNT=10,B14,CON2STR(B14,2)),COLORYELLOW;

DRAWTEXT(CURRBARSCOUNT=10,B200,CON2STR(B200,2)),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=10,B200,CON2STR(B200,2)),COLORGREEN;

B121:=BASE+(BLCZ*0.775)COLORRED;

B141:=BASE+(BLCZ*0.868)COLORRED;

B2001:=BASE+(BLCZ*1)COLORRED;

XZDD1:=IF(PLL>PLZ,BPLL,BPLZ);

STICKLINE(CURRBARSCOUNT=XZDD1 ,BASE,B2001,0,0),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=XZDD1,B121,'---------------------------C1')COLORC0FF7F;

DRAWTEXT(CURRBARSCOUNT=XZDD1,B141,'---------------------------C2')COLORYELLOW;

DRAWTEXT(CURRBARSCOUNT=XZDD1,B2001,'--------------------------C3')COLORGREEN;

DRAWTEXT_FIX(1,0,0.07,0,'微信公众号:股海操作手'),COLORMAGENTA,LINETHICK4;

DRAWTEXT(CURRBARSCOUNT=10,B121,CON2STR(B121,2)),COLORC0FF7F;

DRAWTEXT(CURRBARSCOUNT=10,B141,CON2STR(B141,2)),COLORYELLOW;

DRAWTEXT(CURRBARSCOUNT=10,B2001,CON2STR(B2001,2)),COLORGREEN;

DRAWTEXT(CURRBARSCOUNT=10,B2001,CON2STR(B2001,2)),COLORGREEN;

第三部分 指标图示

股市长红网-图示1.png

文章评论 回复

周下载排行榜

月下载排行榜

免费指标公众号

联系我们

  • 建站时间:2014-06-18
  • 网站名称股市长红
  • 免费指标微信公众号股海操作手
  • VIP指标微信公众号股市长红网
  • 官方客服微信号:mhcj668