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

    正文概述    2024-04-13 15:45:22  

    万手:vol/10000,LINETHICK0;
    AA:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
    预测:AA/10000,LINETHICK0;
    BB:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
    买:=VOL;
    卖:=VOL;
    主动买:=IF(CLOSE>OPEN,BB*(HIGH-LOW),IF(CLOSE 主买:主动买/10000,COLORRED,LINETHICK0;
    主动卖:=IF(CLOSE>OPEN,0-BB*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 主卖:-主动卖/10000,COLORGREEN,LINETHICK0;
    差额:主买+主卖,LINETHICK0;
    STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.5,0),COLORWHITE;
    STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,3.5,0),COLORRED;
    STICKLINE(CLOSE STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.5 , 0 ) , COLORYELLOW ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 3.2 , 0 ) , COLOR0088FF ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.7 , 0 ) , COLOR00AAFF ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 2.1 , 0 ) , COLOR00CCFF ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 1.5 , 0 ) , COLOR22FFFF ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.9 , 0 ) , COLOR66FFFF ;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,AA,1 , 0.3 , 0 ) , COLOR99FFFF ;
    STICKLINE(主动买>0,0,主动买,3.2,0),COLOR000033;
    STICKLINE(主动买>0,0,主动买,2.7,0),COLOR000066;
    STICKLINE(主动买>0,0,主动买,2.1,0),COLOR000099;
    STICKLINE(主动买>0,0,主动买,1.5,0),COLOR0000CC;
    STICKLINE(主动买>0,0,主动买,0.9,0),COLOR0000FF;
    STICKLINE(主动买>0,0,主动买,0.3,0),COLORCC66FF;
    STICKLINE(主动卖<0,VOL,主动买,3.2,0),COLOR990000;
    STICKLINE(主动卖<0,VOL,主动买,2.7,0),COLORCC0000;
    STICKLINE(主动卖<0,VOL,主动买,2.1,0),COLORFF4400;
    STICKLINE(主动卖<0,VOL,主动买,1.5,0),COLORFF8800;
    STICKLINE(主动卖<0,VOL,主动买,0.9,0),COLORFFCC00;
    STICKLINE(主动卖<0,VOL,主动买,0.3,0),COLORCYAN;
    持币:IF(SAR(10,2,20)>=H,0,DRAWNULL),CIRCLEDOT,COLORGREEN;
    持股:IF(sar(10,2,20)<=L,0,DRAWNULL),CIRCLEDOT,COLOR000099;
    五日: MA(V,5) COLORWHITE;
    十日: MA(V,10) COLORYELLOW;
    超B:=L2_AMO(0,2)/10000.0;
    大B:=L2_AMO(1,2)/10000.0;
    中B:=L2_AMO(2,2)/10000.0;
    小B:=L2_AMO(3,2)/10000.0;
    超S:=L2_AMO(0,3)/10000.0;
    大S:=L2_AMO(1,3)/10000.0;
    中S:=L2_AMO(2,3)/10000.0;
    小S:=L2_AMO(3,3)/10000.0;
    净流入:=(超B+大B+中B+小B)-(超S+大S+中S+小S),NODRAW;
    超大单:=(超B)-(超S),NODRAW;
    大单:=(大B)-(大S),NODRAW;
    中单:=(中B)-(中S),NODRAW;
    小单:=(小B)-(小S),NODRAW;
    DAZHI:=CONST(MAX(ABS(净流入),MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单)))))),NODRAW;
    DRAwrECTREL(0,0,180,999.4,IF(120,RGB(10,0,0),0));
    DRAWRECTREL(0,CONST(830-(ABS(净流入)*500/DAZHI)),30,935,IF(CONST(净流入)>0,RGB(100,0,0{255,0,255}),RGB(0,100,100)));
    DRAWRECTREL(35,CONST(830-(ABS(超大单)*500/DAZHI)),65,935,IF(CONST(超大单)>0,RGB(100,0,0),RGB(0,50,0)));
    DRAWRECTREL(70,CONST(830-(ABS(大单)*500/DAZHI)),100,935,IF(CONST(大单)>0,RGB(100,0,0),RGB(0,50,0)));
    DRAWRECTREL(105,CONST(830-(ABS(中单)*500/DAZHI)),135,935,IF(CONST(中单)>0,RGB(100,0,0),RGB(0,50,0)));
    DRAWRECTREL(140,CONST(830-(ABS(小单)*500/DAZHI)),170,935,IF(CONST(小单)>0,RGB(100,0,0),RGB(0,50,0)));
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.002,0.98,0,'净流 超大 大单 中单 小单'),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'资金搏弈 (万元)'),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.002,0.55,0,INTPART(净流入)),COLORWHITE;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.036,0.30,0,INTPART(超大单)),COLORWHITE;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.070,0.55,0,INTPART(大单)),COLORWHITE;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.106,0.30,0,INTPART(中单)),COLORWHITE;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.145,0.55,0,INTPART(小单)),COLORWHITE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信VOL主力买卖指标公式 加入收藏