最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 把这个很好的成交量公式再加个条件

    正文概述    2024-04-14 08:38:45  

    九毛八公式指标

    公式模块:

    请老师把这个成交量公式再加上  每天能看到前20天主动买减去20天的主动卖的公式,最好能用数值表示。

    Vvol:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    成交:=VOL,POINTDOT;
    主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
    主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
    主动买万:主动买盘/10000,COLORRED,NODRAW;
    主动卖万:主动卖盘/10000,COLORGREEN,NODRAW;
    地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)<LLV(IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),14)*1.001;
    天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;
    STICKLINE(主动买盘>0,0,VOL,2,1),COLORWHITE;
    STICKLINE(主动买盘>V/2,0,V,2,1),COLOR3232FF;
    STICKLINE(主动买盘<=V/2,0,V,2,1),COLORFFFF54;
    STICKLINE(主动买盘>0,0,主动买盘,2,0),COLORRED;
    STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLORGREEN;
    STICKLINE(天量,0,主动买盘,0.5,1),COLORMAGENTA;
    STICKLINE(地量>0,0,主动买盘,0.5,1),COLORYELLOW;
    0,COLORWHITE;

    看20日前的买卖差有作用吗?
    卖卖差:REF(主动买万,20)-REF(主动卖万,20);这一句加到主动卖万之下即可。
    VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,3,-1),COLOR00C0C0;
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    成交:=VOL,POINTDOT;
    主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
    主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;
    主动买万:主动买盘/10000,COLORRED,NODRAW;
    主动卖万:主动卖盘/10000,COLORGREEN,NODRAW;
    卖卖差:REF(主动买万,20)-REF(主动卖万,20);
    地量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)<LLV(IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL),14)*1.001;
    天量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL)/REF(V,1)>=2;
    STICKLINE(主动买盘>0,0,VOL,2,1),COLORWHITE;
    STICKLINE(主动买盘>V/2,0,V,2,1),COLOR3232FF;
    STICKLINE(主动买盘<=V/2,0,V,2,1),COLORFFFF54;
    STICKLINE(主动买盘>0,0,主动买盘,2,0),COLORRED;
    STICKLINE(主动卖盘<0,0,主动卖盘,2,0),COLORGREEN;
    STICKLINE(天量,0,主动买盘,0.5,1),COLORMAGENTA;
    STICKLINE(地量>0,0,主动买盘,0.5,1),COLORYELLOW;
    0,COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把这个很好的成交量公式再加个条件 加入收藏