最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大智慧三点定乾坤主图画线公式

    正文概述    2024-04-12 23:12:04  

    input:n(5,1,100),m(4,0,4),la(50,1,1000),lb(70,1,1000),lc(120,1,1000);{参数}
    vv:=ZIG(4,n);
    tjs:=TROUGH(m,n,1)>TROUGH(m,n,2) and TROUGH(m,n,3)>TROUGH(m,n,2);
    aaz:=BACKSET(tjs,TROUGHBARS(m,n,2));
    az:=aaz bbz:=BACKSET(tjs,TROUGHBARS(m,n,1));
    bz:=bbz v1:=if(bz,1,0);
    abz:LINEVALUE(az,LOW,bz,LOW,0,0),linethick0;
    kka:=refx(abz,1)-abz;
    DRAWSL(vv=abz and az,l,kka,la,0),colorred,linethick2;
    ccz:=sum(abz>vv and ref(abz,1) TROUGHBARS(m,n,1)=0 and TROUGH(m,n,2)>=ref(abz,TROUGHBARS(m,n,2));
    cz:=ccz>ref(ccz,1);
    bcz:=LINEVALUE(bz,LOW,cz,LOW,0,0),linethick0;
    kkb:=refx(bcz,1)-bcz;
    DRAWSL(vv=abz and v1,l,kkb,lb,0),COLORMAGENTA,linethick2;
    DRAWSL(cz,l,0,lc,0),COLORWHITE,linethick2;
    DRAWTEXT(vv=abz and az,L*0.98,'A'),COLORWHITE;
    DRAWTEXT(vv=abz and v1,L*0.98,'B'),COLORWHITE;
    DRAWTEXT(cz,L*0.98,'C'),COLORWHITE;
    tjd:=peak(m,n,1) aad:=BACKSET(tjd,peakBARS(m,n,2));
    ad:=aad bbd:=BACKSET(tjd,peakBARS(m,n,1));
    bd:=bbd v2:=if(bd,1,0);
    abd:LINEVALUE(ad,h,bd,h,0,0),linethick0;
    kkad:=refx(abd,1)-abd;
    DRAWSL(vv=abd and ad,h,kkad,la,0),colorgreen,linethick2;
    ccd:=sum(abd>vv and ref(abd,1) peakBARS(m,n,1)=0 and peak(m,n,2)>=ref(abd,peakBARS(m,n,2));
    cd:=ccd>ref(ccd,1);
    bcd:=LINEVALUE(bd,h,cd,h,0,0),linethick0;
    kkbd:=refx(bcd,1)-bcd;
    DRAWSL(vv=abd and v2,h,kkbd,lb,0),COLORblue,linethick2;
    DRAWSL(cd,h,0,lc,0),COLORWHITE,linethick2;
    DRAWTEXT(vv=abd and ad,h*1.05,'A'),COLORWHITE;
    DRAWTEXT(vv=abd and v2,h*1.05,'B'),COLORWHITE;
    DRAWTEXT(cd,h*1.05,'C'),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧三点定乾坤主图画线公式 加入收藏