最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信黄龙突破重云主图指标公式源码

    正文概述    2024-04-13 13:25:10  

    DA1:=IF(130 TOTALBARSCOUNT,TOTALBARSCOUNT,130);
    DA:=IF(CURRBARSCOUNT DA1,0,DA1);
    HI:=REFDATE(HHV(H,DA),DATE);
    LO:=REFDATE(LLV(L,DA),DATE);
    C1:=IF(CURRBARSCOUNT =DA,C,DRAWNULL);
    GZ:=EXP(LN(HI/LO)/10);
    LH1:=SUM(IF(C1 =(HI/GZ),V,0),DA);
    LH2:=SUM(IF(C1 =(HI/POW(GZ,2)) AND C1 (HI/GZ),V,0),DA);
    LH3:=SUM(IF(C1 =(HI/POW(GZ,3)) AND C1 (HI/POW(GZ,2)),V,0),DA);
    LH4:=SUM(IF(C1 =(HI/POW(GZ,4)) AND C1 (HI/POW(GZ,3)),V,0),DA);
    LH5:=SUM(IF(C1 =(HI/POW(GZ,5)) AND C1 (HI/POW(GZ,4)),V,0),DA);
    LH6:=SUM(IF(C1 =(HI/POW(GZ,6)) AND C1 (HI/POW(GZ,5)),V,0),DA);
    LH7:=SUM(IF(C1 =(HI/POW(GZ,7)) AND C1 (HI/POW(GZ,6)),V,0),DA);
    LH8:=SUM(IF(C1 =(HI/POW(GZ,8)) AND C1 (HI/POW(GZ,7)),V,0),DA);
    LH9:=SUM(IF(C1 =(LO*GZ) AND C1 LO*POW(GZ,2),V,0),DA);
    LH10:=SUM(IF(C1 =LO AND C1 LO*GZ,V,0),DA);
    L01:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;
    L02:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;
    L03:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;
    L04:=REFDATE(HHV(LH4,DA),DATE);
    L05:=REFDATE(HHV(LH5,DA),DATE);
    L06:=REFDATE(HHV(LH6,DA),DATE);
    L07:=REFDATE(HHV(LH7,DA),DATE);
    L08:=REFDATE(HHV(LH8,DA),DATE);
    L09:=REFDATE(HHV(LH9,DA),DATE);
    L10:=REFDATE(HHV(LH10,DA),DATE);
    SS:=(L01+L02+L03+L04+L05+L06+L07+L08+L09+L10);
    STICKLINE(CEILING(DA*L01/SS)*3 =CURRBARSCOUNT,HI*99/100,HI/GZ,9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L02/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L03/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L04/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L05/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L06/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L07/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L08/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L09/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0)COLOR2F2F2D,LINETHICK3;
    STICKLINE(CEILING(DA*L10/SS)*3 =CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)COLOR2F2F2D,LINETHICK3;
    W00:=COST(1);
    W10:=COST(10);
    W20:=COST(20);
    W30:=COST(30);
    W40:=COST(40);
    W50:=COST(50);
    W60:=COST(60);
    W70:=COST(70);
    W80:=COST(80);
    W90:=COST(90);
    W100:=COST(99);
    W5:=COST(5);
    W15:=COST(15);
    W25:=COST(25);
    W35:=COST(35);
    W45:=COST(45);
    W55:=COST(55);
    W65:=COST(65);
    W75:=COST(75);
    W85:=COST(85);
    W95:=COST(95);
    C5:=W5-W00;
    C10:=W10-W5;
    C15:=W15-W10;
    C20:=W20-W15;
    C25:=W25-W20;
    C30:=W30-W25;
    C35:=W35-W30;
    C40:=W40-W35;
    C45:=W45-W40;
    C50:=W50-W45;
    C55:=W55-W50;
    C60:=W60-W55;
    C65:=W65-W60;
    C70:=W70-W65;
    C75:=W75-W70;
    C80:=W80-W75;
    C85:=W85-W80;
    C90:=W90-W85;
    C95:=W95-W90;
    C100:=W100-W95;

    源码过长末粘贴完,请下载附件通达信黄龙突破重云主图指标公式源码

    通达信黄龙突破重云主图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信黄龙突破重云主图指标公式源码 加入收藏