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

    正文概述    2024-04-13 14:12:13  

    {虚拟量}

    TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));

    MTIME:=MOD(FROMOPEN,TOTAL);

    CTIME:=IF(MTIME<0.5,TOTAL,MTIME);

    VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;

    STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLORBROWN;{虚拟量};

    STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL/2,0,-1,-1),COLORBROWN;{虚拟量};

    VOLUME:VOL,VOLSTICK;

    低量柱:=IF(V=LLV(V,20),9,8);

    XG低:=低量柱>8;

    百日高量:=IF(DYNAINFO(4)>0 AND V=HHV(V,80) AND BARSCOUNT(C)>30 ,1,0);

    DRAWTEXT(百日高量 ,VOL*1.5,'100'),COLORWHITE;

    百日低量:=IF(DYNAINFO(4)>0 AND V=LLV(V,50) AND BARSCOUNT(C)>30 ,1,0);

    STICKLINE(百日低量,0,V,2,0),COLORYELLOW ;

     

    {倍量柱}

    倍量柱:=VOL>=REF(V,1)*1.9  AND C>O  ;

    DRAWTEXT(倍量柱 ,VOL*1.8,'倍'),COLORRED;

    梯量连阳:=REF(V,1)>REF(V,2)*1.1  AND  V>REF(V,1)*1.1 AND UPNDAY(C,3) AND COUNT(C/REF(C,1)<=1.03,3)=3

     AND DYNAINFO(4)>0 AND FINANCE(42)>30;

    DRAWTEXT(梯量连阳 ,VOL*1.8,'XT'),COLORRED;

     

    倍阴柱:=VOL>=REF(V,1)*1.9  AND C

    STICKLINE(倍阴柱,0,V,2,0),COLORGREEN ;

     {平量}

     

    平量:=V>REF(V,1)*0.95 AND V

    DRAWTEXT(平量 ,VOL*1.8,'平'),COLORRED;

     

    {倍缩}

    缩倍:=REF(V,1)*0.55>V  AND NOT(O=C AND H=O)  ;

    DRAWTEXT(缩倍 ,VOL*1.6,'2S'),COLORRED;

     

    {缩三一}

    缩三一:= V<=REF(V,1)*0.7  AND  V>REF(V,1)*0.55;

    DRAWTEXT(缩三一,VOL*1.5,'3S'),COLORLIMAGENTA;

     HH:=HHV(VOL,10);

    T:=BARSLAST(HH=V);

    异常高量:STICKLINE(T=0 ,VOL*0.7,VOL,1,0),COLORFF00FF;

    当前高量顶:DRAWLINE(T=0  ,V,T=1  ,REF(V,1),1)COLORBROWN,LINETHICK2;

    换手率:VOL/CAPITAL*100,NODRAW,COLORBROWN;

    缩量31:=换手率*2/3,NODRAW;

    缩量21:=VOL/2,NODRAW;

    缩量32:=换手率*1/3,NODRAW;

    STICKLINE(VOL/2,VOL/2,VOL/2,2,0),COLORBROWN;

    {假阴真阳}

    均价:=AMOUNT/VOL/100;

    假阴:=O>C AND 均价>REF(C,1) AND C>MA(C,5)  ;

    STICKLINE(FILTER(假阴,1),V*0.35,V*0.7,1,0),COLORRED ;

     

    量能:(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100 ,NODRAW;

    DRAWICON((量能<20 OR XG低)  AND NOT(C=O)  ,V*2,1);

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信虚拟量柱指标公式 加入收藏