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

    正文概述    2024-04-14 15:33:35  

    DRAWGBK(C>0, RGB(0,0,00),RGB(0,0,0),0,'1',0);
     DRAWKLINE(HIGH,OPEN,LOW,CLOSE);


     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  LH10:=SUM(IF(C1>=LO AND C1  L1:=REFDATE(HHV(LH1,DA),DATE);
     L2:=REFDATE(HHV(LH2,DA),DATE);
     L3:=REFDATE(HHV(LH3,DA),DATE);
     L4:=REFDATE(HHV(LH4,DA),DATE);
     L5:=REFDATE(HHV(LH5,DA),DATE);
     L6:=REFDATE(HHV(LH6,DA),DATE);
     L7:=REFDATE(HHV(LH7,DA),DATE);
     L8:=REFDATE(HHV(LH8,DA),DATE);
     L9:=REFDATE(HHV(LH9,DA),DATE);
     L10:=REFDATE(HHV(LH10,DA),DATE);
     SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
     STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0),
     ,COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/100
     ,HI/POW(GZ,2),9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/100
     ,HI/POW(GZ,3),9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/100
     ,HI/POW(GZ,4),9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/100
     ,HI/POW(GZ,5),9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/100
     ,HI/POW(GZ,6),9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/100
     ,HI/POW(GZ,7),9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)
     *99/100,9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)
     *99/100,9,0),COLOR171717,LINETHICK3;
     STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)
     ,COLOR171717,LINETHICK3;
     DRAWKLINE(H,O,L,C);
     DRAWKLINE(H,O,L,C);
     DRAWTEXT(CURRBARSCOUNT=98,LOW*0.88,'☆压力越大暗条越长,做多越短越好★'),COLORYELLOW;
     N:=10;
     T1:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1;
    量能平台:IF(CURRBARSCOUNT<=N+15,CONST(IF(T1=0,C,REF(C,T1))),DRAWNULL),COLOR4080FF,LINETHICK3;
    新量能点:IF(CURRBARSCOUNT=T1+1,量能平台,DRAWNULL),CIRCLEDOT,COLORFFFFFF,LINETHICK9;
     DRAWTEXT(ISLASTBAR,量能平台,' 量能平台'),COLOR00F0F0;
     JJ:=(CLOSE+HIGH+LOW)/3;
     A:=EMA(JJ,10);
     B:=REF(A,1);
    持股区域:STICKLINE(A>B,A,B,2,0),COLORYELLOW;
    持币区域:STICKLINE(A

    VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
     VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
     VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
     DIR1:=ABS(CLOSE-REF(CLOSE,5));
     VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
     ER1:=DIR1/VIR1;
     CS1:=ER1*(0.8-2/8)+2/8;
     CQ1:=CS1*CS1;
     DIR2:=ABS(CLOSE-REF(CLOSE,10));
     VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
     ER2:=DIR2/VIR2;
     CS2:=ER2*(0.8-2/24)+2/24;
     CQ2:=CS2*CS2;
     STICKLINE(VAR2 < MA(VAR3,6),LOW,HIGH,0,1),COLORLIBLUE;
     STICKLINE(VAR2 > MA(VAR3,6),LOW,HIGH,0,1),COLORRED;
     STICKLINE(((OPEN>CLOSE)AND(VAR2  STICKLINE(((OPEN  STICKLINE(((OPEN>CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,(CLOSE-0.03),3.05,0),COLORRED;
     STICKLINE(((OPENMA(VAR3,6))),OPEN,CLOSE,3.05,1),COLORRED;
     DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.01)),23);
     DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.01)),15);
     PT:=REF(H,1)-REF(L,1);
     CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
     AH:=CDP+PT;
     AL:=CDP-PT;
     NH:=CDP*2-REF(L,1);
     NL:=CDP*2-REF(H,1);
    强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
    阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORBLUE;
     M:=IF(AL 撑:IF(NL 底:IF(AL


     C2:=REF(C,1);
    非ST涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);
    涨停:=非ST涨停;
    STICKLINE(涨停,OPEN,CLOSE,2,0),COLOR00FFFF;
     STICKLINE(涨停,H,L,0,0),COLOR00FFFF;
    非ST跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);
    跌停:=非ST跌停;
    STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
     STICKLINE(跌停,H,L,0,1),COLORGREEN;
    半涨1:=IF((C-C2)*100/C2>=(5-0.01*100/C2),1,0);
    半涨2:=IF((C-C2)*100/C2<(10-0.01*100/C2),1,0);
     JRS:=半涨1 AND 半涨2 AND FINANCE(33)>0;
     STICKLINE(JRS,OPEN,CLOSE,2,0),COLOR0066FF;
     STICKLINE(JRS,H,L,0,0),COLOR0066FF;
     NUMBER:=COUNT(非ST涨停,BARSSINCE(非ST涨停)+1);
     DRAWNUMBER(非ST涨停,HIGH*1.04,NUMBER),COLORWHITE;
     DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.30,0.02,0,NUMBER),COLORWHITE;
     DRAWTEXT_FIX(CURRBARSCOUNT=1,0.02,0.02,0,'上市以来共涨停'),COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信主图指标公式筹码峰附图 加入收藏