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

    正文概述    2024-05-04 04:33:36  

     

     通达信指标公式源码概况:


    指标类别: 通达信指标公式


    授权方式: 免费版


    指标评级: ★★★★★


    指标分类: 策略


    画线方法: 副图



    跟庄副图指标公式 


    HSL:=EMA(V/CAPITAL,3); 

    ZDL:=HHV(HSL,240); 

    ZXL:=LLV(HSL,240); 

    XS:=MA(C,33); 

    锁定筹码:EMA((HSL-ZXL)/ZXL*XS,13); 

    浮动筹码:EMA((ZDL-HSL)/HSL*XS,13); 

    力量对比:锁定筹码-浮动筹码,COLORSTICK; 

    VUR0:=(2*O+H+L+3*C)/7; 

    VUR1:=CAPITAL*VUR0; 

    VUR2:=SMA(AMOUNT,10,1)/1000; 

    VUR3:=MA(C*3,5); 

    VUR4:=VUR2*C*3/VUR3*1/10; 

    VUR5:=VUR2*O*3/VUR3*1/10; 

    VUR6:=VUR2*H*3/VUR3*1/10; 

    VUR7:=VUR2*L*3/VUR3*1/10; 

    VUR8:=(2*VUR5+VUR6+VUR7+3*VUR4)/7; 

    VUR9:=DMA(EMA(VUR4,2),SUM(V,1)*VUR8); 

    VUR10:=EMA(VUR9,2); 

    VURA:=VUR9 VUR10; 

    VURB:=EMA(VUR1-VUR9,1); 

    VURC:=REF(VURB,1); 

    VURD:=VURB VURC; 

    VURS:=VURDANDC  

    VURE:=(VURB-VURC)*15; 

    VURF:=(VUR9-VUR10)*15000; 

    VURG:=(VURC-VURB)*(-1); 

    VURH:=IF(VURB VURC,VURE/1000,0); 

    VURN:=IF(VURB VURC,VURE/1000,0); 

    VURT:=IF(VURAANDVURS,VURF/10000,0); 

    VURL:=IF(VURAANDVURB VURC,VURE/1000,0); 

    吸进量:VURH,POINTDOT,COLOR1010FF; 

    吐出量:VURN,POINTDOT,COLOR10C810; 

    买进强烈:VURT,POINTDOT,COLOR10E6FF; 

    减筹打压:VURL,POINTDOT,COLORFF1096; 

    STICKLINE(VURB VURC,0,VURE,2.5,1),COLOR1010FF; 

    STICKLINE(VURB VURC,0,VURE,2.5,0),COLOR10C810; 

    STICKLINE(VURAANDVURS,0,VURF,2.5,0),COLOR10E6FF; 

    STICKLINE(VURAANDVURB VURC,0,VURE,2.5,0),COLORFF1096; 

    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))ANDC1 (HI/GZ),V,0),DA); 

    LH3:=SUM(IF(C1 =(HI/POW(GZ,3))ANDC1 (HI/POW(GZ,2)),V,0),DA); 

    LH4:=SUM(IF(C1 =(HI/POW(GZ,4))ANDC1 (HI/POW(GZ,3)),V,0),DA); 

    LH5:=SUM(IF(C1 =(HI/POW(GZ,5))ANDC1 (HI/POW(GZ,4)),V,0),DA); 

    LH6:=SUM(IF(C1 =(HI/POW(GZ,6))ANDC1 (HI/POW(GZ,5)),V,0),DA); 

    LH7:=SUM(IF(C1 =(HI/POW(GZ,7))ANDC1 (HI/POW(GZ,6)),V,0),DA); 

    LH8:=SUM(IF(C1 =(HI/POW(GZ,8))ANDC1 (HI/POW(GZ,7)),V,0),DA); 

    LH9:=SUM(IF(C1 =(LO*GZ)ANDC1 LO*POW(GZ,2),V,0),DA); 

    LH10:=SUM(IF(C1 =LOANDC1 LO*GZ,V,0),DA); 

    L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0; 

    L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0; 

    L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0; 

    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)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L2/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L3/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L4/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L5/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L6/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L7/SS)*3 =CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L8/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L9/SS)*3 =CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0)COLOR3C3C3A,LINETHICK3; 

    STICKLINE(CEILING(DA*L10/SS)*3 =CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)COLOR3C3C3A,LINETHICK3; 

    DRAWKLINE(H,O,L,C);MA1:MA(CLOSE,5); 

    MA2:MA(CLOSE,10); 

    MA3:MA(CLOSE,30); 

    MA4:MA(CLOSE,60); 

    VAR3:=LLV(HIGH,240); 

    VAR4:=100*(CLOSE-VAR3)/VAR3; 

    VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; 

    VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; 

    VAR7:=0; 

    VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100; 

    VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100; 

    VAR10:=IF(TROUGHBARS(3,16,1)=0ANDHIGH LOW+0.04,4,0); 

    VAR11:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3); 

    VAR12:=ZIG(3,6) REF(ZIG(3,6),1)ANDREF(ZIG(3,6),1) =REF(ZIG(3,6),2)ANDREF(ZIG(3,6),2) =REF(ZIG(3,6),3); 

    VAR13:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3); 

    VAR14:=ZIG(3,22) REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1) =REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2) =REF(ZIG(3,22),3); 

    VAR15:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3); 

    VAR16:=ZIG(3,51) REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1) =REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2) =REF(ZIG(3,51),3); 

    VAR17:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3); 

    VAR18:=ZIG(3,72) REF(ZIG(3,72),1)ANDREF(ZIG(3,72),1) =REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2) =REF(ZIG(3,72),3); 

    VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150); 

    买1:=VAR10; 

    买2:=(VAR11+VAR13+VAR15+VAR17); 

    卖1:=(VAR12+VAR14+VAR16+VAR18); 

    B:IF(买1 0OR买2 0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; 

    DRAWTEXT(买1 0OR买2 0,LOW*0.99, 买入 ),COLORRED; 

    S:IF(卖1 0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN; 

    DRAWTEXT(卖1 0,HIGH*1.02, 卖出 ),COLORGREEN; 

    VAR100:=(100-((90*(HHV(HIGH,20)-CLOSE))/(HHV(HIGH,20)-LLV(LOW,20)))); 

    VAR200:=(100-((90*(HHV(HIGH,20)-CLOSE))/(HHV(HIGH,20)-LLV(LOW,20)))); 

    VAR300:=(100-MA(((100*(HHV(HIGH,5)-CLOSE))/(HHV(HIGH,5)-LLV(LOW,5))),34)); 

    F:IF(CROSS(VAR200,MA(VAR300,5)),LOW*0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE; 

    年:MA(CLOSE,22),LINETHICK2,COLORWHITE; 


    image.png



    坐庄副图指标公式 


    VAR2:=HIGH-LOW; 

    VAR3:=ABS(OPEN-CLOSE); 

    VAR4:=HIGH-IF(CLOSE OPEN,CLOSE,OPEN); 

    VAR5:=IF(CLOSE OPEN,OPEN,CLOSE)-LOW; 

    VAR6:=VAR3/VAR2*VOL; 

    VAR7:=VAR4/VAR2*VOL; 

    VAR8:=VAR5/VAR2*VOL; 

    VAR9:=IF(VOL/CAPITAL 0.001,1,EXP(ABS(LOG(VOL/CAPITAL*100)))); 

    VARA:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; 

    VARB:=MA(CLOSE,5) MA(CLOSE,10)ANDMA(CLOSE,10) MA(CLOSE,30)ANDMA(CLOSE,30) MA(CLOSE,60); 

    VARC:=MA(CLOSE,5) MA(CLOSE,10)ANDMA(CLOSE,10) MA(CLOSE,30); 

    {多头成交:}STICKLINE(CLOSE MA(CLOSE,30),0,VOL,4,1),COLORRED; 

    {空头成交:}STICKLINE(CLOSE MA(CLOSE,30),0,VOL,4,1),COLORGREEN; 

    {向上攻击量:}STICKLINE(VAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPEN,0,VAR6,4,0),COLORRED; 

    {向下攻击量:}STICKLINE(VAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPEN,0,VAR6,4,0),COLORGREEN; 

    {上探量:}STICKLINE(VAR7 VAR6ANDVAR7 VAR8,0,VAR7,4,0),COLORCCCC66; 

    {下探量:}STICKLINE(VAR8 VAR6ANDVAR8 VAR7,0,VAR8,4,0),COLORFF6633; 

    {相对地量:}STICKLINE(VAR9 2ANDVOL MA(VOL,5)/2,0,VOL,2.5,0),COLORYELLOW; 

    DRAWTEXT(VAR9 2ANDVOL MA(VOL,5)/2,VOL, 地量 ),COLORYELLOW; 

    {放量:}STICKLINE(VOL MA(VOL,5)*2.5,0,VOL,2.5,0),COLORWHITE; 

    DRAWTEXT(VAR7 VAR6ANDVARA 2ANDVAR7 VAR8ANDCLOSE MA(CLOSE,5)ANDCLOSE MA(CLOSE,30)ANDHIGH MA(CLOSE,60)ANDVOL MA(VOL,5)ANDVAR7 =MA(VOL,5),VOL, 逢高出货 ),COLORGREEN; 

    DRAWTEXT(VAR8 VAR6ANDVAR8 VAR7ANDVARA -2ANDCLOSE MA(CLOSE,30)ANDVAR8 MA(VOL,5)/2ANDMA(VOL,5) MA(VOL,10),VOL, 逢低跟进 ),COLORMAGENTA; 

    DRAWTEXT(VAR6 MA(VOL,5)*2ANDVAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPENORVOL MA(VOL,5)*3ANDVARB,VOL, 强势参与 ),COLORCC99CC; 

    DRAWTEXT(VAR6 =VAR7ANDVAR6 =VAR8ANDCLOSE OPENANDVAR6/VOL 0.7ANDVARCANDVAR6 MA(VOL,5),VAR6*2, 空头释放 ),COLORGREEN; 

    V5:MA(VOL,5),COLORWHITE; 

    V10:MA(VOL,10),COLORGREEN; 

    V20:MA(VOL,20),COLORYELLOW; 

    额:AMOUNT/100000000,VOLSTICK,COLORFF00FF; 

    VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 

    流入亿:IF(CLOSE OPEN,VAR1*(HIGH-LOW),IF(CLOSE OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW; 

    流出亿:IF(CLOSE OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLORMAGENTA,NODRAW; 

    差亿:流入亿+流出亿,COLORFFFF00,NODRAW; 

    净:=EMA(EMA(差亿,2),2),COLOR00FFFF,NODRAW; 

    净1:=EMA(净,2); 

    流:=EMA(净1,7); 

    净流:=3*EMA(净1+流,2); 

    STICKLINE(净流 0,0,净流,4,0),COLORFF6600; 

    STICKLINE(净流 0,0,净流,3,0),COLORFF9900; 

    STICKLINE(净流 0,0,净流,1.5,0),COLORFFCC00; 

    STICKLINE(净流 0,0,净流,0.5,0),COLORCYAN; 

    STICKLINE(净流 0,0,净流,4,0),COLOR000099; 

    STICKLINE(净流 0,0,净流,3,0),COLOR0000CC; 

    STICKLINE(净流 0,0,净流,1.5,0),COLOR0000FF; 

    STICKLINE(净流 0,0,净流,0.5,0),COLORCC66FF; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,4,0),COLOR009900; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,3,0),COLOR00BB00; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,2,0),COLOR00DD00; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,1,0),COLOR00FF00; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,4,0),COLOR000099; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,3,0),COLOR0000BB; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,1.5,0),COLOR0000DD; 

    STICKLINE(净流 REF(净流,1)AND净流 0,0,净流,0.5,0),COLOR0000FF; 

    DRAWTEXT(CROSS(净流,0),0, 买 ),COLORFF00FF;


    image.png




    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 跟庄筹码副图指标公式 主力资金坐庄副图指标公式 加入收藏