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

    正文概述    2024-04-13 10:05:40  

    0,COLOR0080FF,LINETHICK3;
    X_1:=LARGEINTRDVOL*10000/FINANCE(7);
    X_2:=LARGEOUTTRDVOL*10000/FINANCE(7);
    X_3:=SUM(X_1,3);
    X_4:=SUM(X_2,3);
    X_5:=DMA(X_3,21);
    X_6:=DMA(X_4,21);
    DRAWBAND(X_5,RGB(255,0,0),X_6,RGB(0,30,200));
    X_7:=L2_AMO(0,2);
    X_8:=L2_AMO(1,2);
    X_9:=L2_AMO(2,2);
    X_10:=L2_AMO(3,2);
    X_11:=L2_AMO(0,3);
    X_12:=L2_AMO(1,3);
    X_13:=L2_AMO(2,3);
    X_14:=L2_AMO(3,3);
    买比:IF(X_7+X_8+X_9+X_10 X_11+X_12+X_13+X_14,(X_7+X_8+X_9+X_10)/(X_11+X_12+X_13+X_14),-((X_7+X_8+X_9+X_10)/(X_11+X_12+X_13+X_14))),NODRAW;
    买强%:(X_7+X_8)/(X_7+X_8+X_9+X_10)*100,NODRAW;
    卖强%:(X_11+X_12)/(X_11+X_12+X_13+X_14)*100,NODRAW;
    大买:(X_7+X_8)/10000,NODRAW;
    大卖:(X_11+X_12)/10000,NODRAW;
    X_15:=CLOSE*(FINANCE(46)/100);
    主増减:(X_7-X_11+X_8-X_12)/X_15,NODRAW;
    五日均:EMA(主増减,5),NODRAW;
    X_16:=EMA(主増减,60);
    五日增:SUM(主増减,5),NODRAW;
    提示:主増减 1,NODRAW;
    X_17:=HHV(X_5,8);
    STICKLINE(X_5-X_17 0,X_17,X_5,0,(-1));
    X_18:=CONST(REF(X_17,5));
    X_19:=CONST(REF(X_17,20));
    DRAWBAND(X_5,65,X_18,RGB(30,0,80));
    DRAWBAND(X_5,255,X_6,RGB(0,210,250));
    机构:(L2_VOL(0,0)-L2_VOL(0,1))*10000/FINANCE(7),NODRAW,COLORRED;
    大户:(L2_VOL(1,0)-L2_VOL(1,1))*10000/FINANCE(7),NODRAW,COLORMAGENTA;
    中户:(L2_VOL(2,0)-L2_VOL(2,1))*10000/FINANCE(7),NODRAW,COLORLIGREEN;
    散户:(L2_VOL(3,0)-L2_VOL(3,1))*10000/FINANCE(7),NODRAW,COLORLIGRAY;
    DRAWICON(X_18 X_19 AND CROSS(X_5,X_18) AND X_5 X_6,X_18,0);
    DRAWICON(X_18 X_19 AND CROSS(X_5,X_19) AND X_5 X_6,X_19,0);
    DRAWICON(FILTER(X_5=HHV(X_5,23),1),X_5,0);
    DRAWICON(FILTER(X_6=LLV(X_6,23),2),X_6,0);
    X_20:=L2_AMO(0,2)/10000+(-L2_AMO(0,3))/10000;
    X_21:=L2_AMO(1,2)/10000+(-L2_AMO(1,3))/10000;
    X_22:=L2_AMO(2,2)/10000+(-L2_AMO(2,3))/10000;
    X_23:=L2_AMO(3,2)/10000+(-L2_AMO(3,3))/10000;
    主力:X_20+X_21,NODRAW,COLORRED;
    游资:X_22+X_23,NODRAW;
    X_24:=机构+大户+中户+散户;
    X_25:=X_20+X_21+X_22+X_23;
    三日净资:SUM(X_25,3),COLORGREEN;
    STICKLINE(X_20 0,X_18,X_18+2*(ABS(X_23)+ABS(X_22)+ABS(X_21)+ABS(X_20)),2.5,0),COLORRED;
    STICKLINE(X_20 0,X_18,-(X_18+2*(ABS(X_23)+ABS(X_22)+ABS(X_21)+ABS(X_20))),2.5,0),COLORBLUE;
    STICKLINE(X_21 0,X_18,X_18+2*(ABS(X_23)+ABS(X_22)+ABS(X_21)),2.5,0),COLOR0000CC;
    STICKLINE(X_21 0,X_18,-(X_18+2*(ABS(X_23)+ABS(X_22)+ABS(X_21))),2.5,0),COLORFF9900;
    STICKLINE(X_22 0,X_18,X_18+2*(ABS(X_23)+ABS(X_22)),2.5,0),COLOR3366FF;
    STICKLINE(X_22 0,X_18,-(X_18+2*(ABS(X_23)+ABS(X_22))),2.5,0),COLOR33FF00;
    STICKLINE(X_23 0,X_18,X_18+2*X_23,2.5,0),COLORFFCCFF;
    STICKLINE(X_23 0,X_18,-(X_18+2*ABS(X_23)),2.5,0),COLOR999999;
    STICKLINE(X_21 0,X_18,X_18+X_21*3,1,0),COLORMAGENTA;
    STICKLINE(X_21 0,X_18,-(X_18+ABS(X_21)*3),1,0),COLORGREEN;
    STICKLINE(X_20 0,X_18,X_18+X_20*3,1,0),COLORRED;
    STICKLINE(X_20 0,X_18,-(X_18+ABS(X_20)*3),1,0),COLORCYAN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.001,0,589),COLORDDDDDD;
    DRAWTEXT(NOT(REF(主力 0,1)) AND 主力 0,15000,590),COLORYELLOW;
    DRAWTEXT(NOT(REF(主力 0,1)) AND 主力 0,15000,591),COLORLIBLUE;

    通达信较真实的主力资金増减副图指标公式源码

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信较真实的主力资金増减副图指标公式源码 加入收藏