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

    正文概述    2024-04-14 00:07:12  
    AAA:EMA(C,5)-EMA(C,30),NODRAW;
    DDD:EMA(AAA,5),NODRAW;
    买方意向:(AAA-DDD)*2,COLORSTICK,LINETHICK3;
    STICKLINE(买方意向 > 0,买方意向,0,3.0,0),COLOR0000AA;
    STICKLINE(买方意向 > 0,买方意向,0,2.5,0),COLOR0000BB;
    STICKLINE(买方意向 > 0,买方意向,0,1.2,0),COLOR0000CC;
    STICKLINE(买方意向 > 0,买方意向,0,0.5,0),COLOR0000DD;
    STICKLINE(买方意向 > 0,买方意向,0,0.15,0),COLOR0000EE;
    STICKLINE(买方意向 > 0,买方意向,0,0.05,0),COLOR0000FF;
    STICKLINE(买方意向<0,0,买方意向,3,0),COLOR118811;
    STICKLINE(买方意向<0,0,买方意向,2.5,0),COLOR11AA11;
    STICKLINE(买方意向<0,0,买方意向,1.5,0),COLOR11BB11;
    STICKLINE(买方意向<0,0,买方意向,1.0,0),COLOR11DD11;
    超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,CONST(830-(ABS(超大单)*500/DAZHI)),30,935,IF(CONST(超大单)>0,RGB(255,0,0),RGB(23,125,255)));
    DRAWRECTREL(35,CONST(830-(ABS(大单)*500/DAZHI)),65,935,IF(CONST(大单)>0,RGB(255,0,0),RGB(23,125,255)));
    DRAWRECTREL(70,CONST(830-(ABS(中单)*500/DAZHI)),100,935,IF(CONST(中单)>0,RGB(255,0,0),RGB(23,125,255)));
    DRAWRECTREL(105,CONST(830-(ABS(小单)*500/DAZHI)),135,935,IF(CONST(小单)>0,RGB(255,0,0),RGB(23,125,255)));
    DRAWRECTREL(140,CONST(830-(ABS(净流入)*500/DAZHI)),170,935,IF(CONST(净流入)>0,RGB(255,0,0{255,255,255}),RGB(23,125,255)));
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.002,0.25,0,'当天资金 (万元)'),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.002,0.55,0,INTPART(超大单)),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.035,0.555,0,INTPART(大单)),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.070,0.550,0,INTPART(中单)),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.106,0.55,0,INTPART(小单)),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.145,0.55,0,INTPART(净流入)),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.002,1,0,'超大'),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.040,1,0,'大单'),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.075,1,0,'中单'),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.112,1,0,'小单'),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.145,1,0,'净流'),COLORYELLOW;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 资金量能通达信副图指标 源码 测试图 加入收藏