最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 分享自用成交量

    正文概述    2024-04-13 12:27:07  

    DRAWGBK(C>0, RGB(0,0,0),RGB(10,10,0),0,'0',0);
    {自用成交量}
    预测量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
    STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,预测量,0,-1,-1),COLOR00C0C0;

    量:=VOL;
    V0001:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    主买:IF(CLOSE>OPEN,V0001*(HIGH-LOW),IF(CLOSE 主卖:IF(CLOSE>OPEN,0-V0001*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE 净买:主买+主卖,COLORMAGENTA,NODRAW;
    换手率:=VOL/CAPITAL*100;
    HS:=换手率;
    量比:IF(ISLASTBAR,DYNAINFO(17),VOL/REF(MA(VOL,5),1)),LINETHICK0,COLORYELLOW;
    A:=MA(换手率,2); 
    X:=LLV(A,20),LINETHICK;
    X1:=(A-LLV(A,20))=0;
    换手最小:=IF(EVERY (A>0,5) AND FILTERX(X1,5),X1,0),COLORRED;
    小天:BARSLAST(换手最小),LINETHICK,COLOR008888;
    X2:=HHV(A,20);
    X3:=(A-X2)=0;
    换手最大:=IF(EVERY(REF(A,1)

    STICKLINE(CLOSE<=REF(CLOSE,1) , VOL,0,3,0), COLOR808040;
    STICKLINE(CLOSE>REF(CLOSE,1), VOL,0,3,1),COLORFF87FF;

    STICKLINE(净买>0,0,主买,3,0),COLOR1020BB;
    STICKLINE(净买>0,0,主买,2,0),COLOR1020BB;
    STICKLINE(净买>0,0,主买,1,0),COLOR1020DD;
    STICKLINE(净买>0,0,主买,0,0),COLOR1020EE;

    STICKLINE(净买<=0,0,主买,3,0),COLOR1020BB;
    STICKLINE(净买<=0,0,主买,2,0),COLOR1020CC;
    STICKLINE(净买<=0,0,主买,1,0),COLOR1020DD;
    STICKLINE(净买<=0,0,主买,0,0),COLOR1020EE;
     
    STICKLINE(净买>0,V,主买,3,0),COLORFFAA22;
    STICKLINE(净买>0,V,主买,2,0),COLORFFBB33;
    STICKLINE(净买>0,V,主买,1,0),COLORFFDD44;
    STICKLINE(净买>0,V,主买,0,0),COLORFFFF55;
     
    STICKLINE(净买<=0,V,主买,3,0),COLORFFAA22;
    STICKLINE(净买<=0,V,主买,2,0),COLORFFBB33;
    STICKLINE(净买<=0,V,主买,1,0),COLORFFDD44;
    STICKLINE(净买<=0,V,主买,0,0),COLORFFFF55;

    STICKLINE(C,量比*15000,0,3,0),COLOR00AAAA;
    STICKLINE(C,量比*15000,0,2,0),COLOR00CCCC;
    STICKLINE(C,量比*15000,0,1,0),COLOR00EEEE;
    STICKLINE(C,量比*15000,0,0,0),COLOR00FFFF;

    {线形}
    H13:=HHV(MA(VOL,13),13),COLORGREEN;
    L13:=LLV(MA(VOL,5),13),COLORBROWN,LINETHICK2;
    MV5:MA(VOL,5),COLOR8888FF;
    MV13:MA(VOL,13),COLORMAGENTA;
    MV34:MA(VOL,34),COLORWHITE;
    {信号和文字提示}
    DRAWICON(MA(SUM(主买,34),10)>REF(MA(SUM(主买,34),10),1),-300,2);
    DRAWICON(MA(SUM(主买,34),10)<=REF(MA(SUM(主买,34),10),1),-300,1);
    {}
    DRAWRECTREL(0,0,285,999.2,IF(120,RGB(0,10,10),0));
    {}
    上涨家数:=INDEXADV,COLOR0080FF,NODRAW;
    下跌家数:=INDEXDEC,COLORGREEN,NODRAW;
    今日人气:=上涨家数/下跌家数;
    波段高:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*2.3+XMA(XMA(H,60),60);
    波段低:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))*2.3;
    高:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25);
    低:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1;
    大单动向:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7);
    涨跌动因:=IF(TRADENUM>0,(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,0);
    大单差分:=IF(TRADENUM>0,(LARGETRDINNUM-LARGETRDOUTNUM)/TRADENUM*100,0);
    主力净流入:=(LARGEINTRDVOL-LARGEOUTTRDVOL)*AMO/V/10000;
    超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);
    资金比:=(超B+大B+中B+小B)/(超S+大S+中S+小S);
    大单比:=(超B+大B+中B)/(超S+大S+中S);
    超大单比:=(超B+大B)/(超S+大S);
    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);
    虚拟量:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL);
    虚拟量比:=虚拟量/REF(VOL,1),COLORWHITE,LINETHICK0;
    止盈价:=(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),COLORMAGENTA,LINETHICK1;
    获利率:=(止盈价-C)/C*100,COLORWHITE,LINETHICK0;
    止损价:=C-(高-低)/2,LINETHICK1,COLORWHITE;
    止损率:=(止损价-C)/C*100,COLORWHITE,LINETHICK0;
    EMAH3:=REF(EMA(H,3),1);
    EMAL3:=REF(EMA(L,3),1);
    止盈价1:=EMAH3+(EMAH3-EMAL3)/4;
    获利率2:=(止盈价1-C)/C*100;
    止损价1:=EMAL3-(EMAH3-EMAL3)/4;
    止损率2:=(止损价1-C)/C*100;
    PBXHH:=(EXPMA(H,2)+EMA(H,2*2)+EMA(H,2*4))/3,COLORGREEN,LINETHICK1;
    PBXLL:=(EXPMA(L,2)+EMA(L,2*2)+EMA(L,2*4))/3,COLORRED,LINETHICK1;
    PBX高:=REF(PBXHH,1),COLORGREEN,LINETHICK1;
    PBX低:=REF(PBXLL,1),COLORRED,LINETHICK1;
    PMX差:=PBX高-PBX低;
    起爆止盈价:=PBX高+PMX差*2,COLORWHITE,LINETHICK1;
    起爆获利率:=(起爆止盈价-PBX高)/PBX高*100;
    起爆止损价:=PBX低-PMX差*0.7,COLORWHITE;
    起爆止损率:=(起爆止损价-PBX高)/PBX高*100;
    DRAWTEXT_FIX(1,0,0,0,'【大盘人气】:'),COLORYELLOW;
    DRAWNUMBER_FIX(1,0.07,0,0,CONST(今日人气)),COLORYELLOW;
    DRAWTEXT_FIX(1,0,0.07,0,'【上涨家数】:'),COLORYELLOW;
    DRAWNUMBER_FIX(1,0.07,0.07,0,CONST(上涨家数)),COLORYELLOW;
    DRAWTEXT_FIX(1,0,0.14,0,'【下跌家数】:'),COLORYELLOW;
    DRAWNUMBER_FIX(1,0.07,0.14,0,CONST(下跌家数)),COLORYELLOW;
    {DRAWTEXT_FIX(1,0.1,0,0,'【量比】:'),COLORRED;
    DRAWNUMBER_FIX(1,0.145,0,0,CONST(虚拟量比)),COLORRED;}
    DRAWTEXT_FIX(1,0,0.21,0,'【DDX】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.21,0,CONST(大单动向)),COLORMAGENTA;
    DRAWTEXT_FIX(1,0,0.28,0,'【DDY】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.28,0,CONST(涨跌动因)),COLORMAGENTA;
    DRAWTEXT_FIX(1,0,0.35,0,'【DDZ】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.35,0,CONST(大单差分)),COLORMAGENTA;
    DRAWTEXT_FIX(1,0,0.42,0,'【资金流】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.42,0,CONST(资金流向)),COLORMAGENTA;
    DRAWTEXT_FIX(1,0,0.49,0,'【资金比】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.49,0,CONST(资金比)),COLORMAGENTA;
    DRAWTEXT_FIX(1,0,0.58,0,'【大单比】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.58,0,CONST(大单比)),COLORMAGENTA;
    DRAWTEXT_FIX(1,0,0.65,0,'【超大单比】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.65,0,CONST(超大单比)),COLORMAGENTA;
    DRAWTEXT_FIX(1,0,0.72,0,'【主力资金】:'),COLORMAGENTA;
    DRAWNUMBER_FIX(1,0.07,0.72,0,CONST(主力净流入)),COLORMAGENTA;

    DRAWTEXT_FIX(1,0.15,0,0,'【红军起爆点选股操作】'),COLORCYAN;
    DRAWTEXT_FIX(1,0.15,0.07,0,'【止盈价】:'),COLORCYAN;
    DRAWNUMBER_FIX(1,0.21,0.07,0,CONST(起爆止盈价)),COLORCYAN;
    DRAWTEXT_FIX(1,0.15,0.14,0,'【止盈率】:'),COLORCYAN;
    DRAWNUMBER_FIX(1,0.21,0.14,0,CONST(起爆获利率)),COLORCYAN;
    DRAWTEXT_FIX(1,0.15,0.21,0,'【止损价】:'),COLORCYAN;
    DRAWNUMBER_FIX(1,0.21,0.21,0,CONST(起爆止损价)),COLORCYAN;
    DRAWTEXT_FIX(1,0.15,0.28,0,'【止损率】:'),COLORCYAN;
    DRAWNUMBER_FIX(1,0.21,0.28,0,CONST(起爆止损率)),COLORCYAN;

    DRAWTEXT_FIX(1,0.15,0.35,0,'【红军牛股猎杀选股操作】'),COLORYELLOW;
    DRAWTEXT_FIX(1,0.15,0.42,0,'【止盈价】:'),COLORYELLOW;
    DRAWNUMBER_FIX(1,0.22,0.42,0,CONST(止盈价)),COLORYELLOW;
    DRAWTEXT_FIX(1,0.15,0.49,0,'【盈利率】:'),COLORYELLOW;
    DRAWNUMBER_FIX(1,0.22,0.49,0,CONST(获利率)),COLORYELLOW;
    DRAWTEXT_FIX(1,0.15,0.56,0,'【止损价】:'),COLORYELLOW;
    DRAWNUMBER_FIX(1,0.22,0.56,0,CONST(止损价)),COLORYELLOW;
    DRAWTEXT_FIX(1,0.15,0.63,0,'【止损率】:'),COLORYELLOW;
    DRAWNUMBER_FIX(1,0.22,0.63,0,CONST(止损率)),COLORYELLOW;

    DRAWTEXT_FIX(1,0.15,0.70,0,'【红军今买明卖选股操作】'),COLORWHITE;
    DRAWTEXT_FIX(1,0.15,0.76,0,'【止盈价】:'),COLORWHITE;
    DRAWNUMBER_FIX(1,0.22,0.76,0,CONST(止盈价1)),COLORWHITE;
    DRAWTEXT_FIX(1,0.15,0.82,0,'【止盈率】:'),COLORWHITE;
    DRAWNUMBER_FIX(1,0.22,0.82,0,CONST(获利率2)),COLORWHITE;
    DRAWTEXT_FIX(1,0.15,0.88,0,'【止损价】:'),COLORWHITE;
    DRAWNUMBER_FIX(1,0.22,0.88,0,CONST(止损价1)),COLORWHITE;
    DRAWTEXT_FIX(1,0.15,0.98,0,'【止损率】:'),COLORWHITE;
    DRAWNUMBER_FIX(1,0.22,0.98,0,CONST(止损率2)),COLORWHITE;

    DRAWTEXT_FIX(1,0,0.79,0,'【波段顶阻力位】:'),COLORGREEN;
    DRAWNUMBER_FIX(1,0.10,0.79,0,CONST(波段高)),COLORGREEN;
    DRAWTEXT_FIX(1,0,0.86,0,'【波段底支撑位】:'),COLORRED;
    DRAWNUMBER_FIX(1,0.10,0.86,0,CONST(波段低)),COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 分享自用成交量 加入收藏