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

    正文概述    2024-04-14 08:22:06  

    九毛八公式指标

    公式模块:

    当日:=vol;
    量5:=MA(VOL,5);
    量10:=MA(VOL,10);
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0000FF,STICK;
    主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),Color00E521,STICK;
    买卖盘比:主动买盘/主动卖盘;

    WJ:=(HIGH+LOW+CLOSE)/3;
    VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
    VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
    VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
    VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
    VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
    VD6:=(VD1*VD5);
    VD7:=(VD2*VD5);
    VD8:=(VD3*VD5);
    VD9:=(VD4*VD5);
    买入量:=(VD9+VD8);
    卖出量:=(VD6+VD7);
    买入资金:=买入量*close/100;
    卖出资金:=卖出量*close/100;
    资金进出:=买入资金-卖出资金;
    买卖资金比:=买入资金/卖出资金;
    挂单买盘:=MA(主动买盘,3);
    挂单卖盘:=(MA(主动卖盘,3));
    STICKLINE((主动买盘 > 0),0,主动买盘,8,0),color0000FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,7.8,0),color0018FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,7.5,0),color001BFF;
    STICKLINE((主动买盘 > 0),0,主动买盘,7.3,0),color0022FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,7,0),color0035FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,6.8,0),color0041FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,6.5,0),color0050FF;
    STICKLINE((主动买盘> 0),0,主动买盘,6.3,0),color0059FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,6,0),color0062FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,5.7,0),color006CFF;
    STICKLINE((主动买盘> 0),0,主动买盘,5.5,0),color007AFF;
    STICKLINE((主动买盘 > 0),0,主动买盘,5.3,0),color0080FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,5,0),color0089FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,4.5,0),color0095FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,3.5,0),color009CFF;
    STICKLINE((主动买盘 > 0),0,主动买盘,3,0),color00ABFF;
    STICKLINE((主动买盘> 0),0,主动买盘,2.5,0),color00C0FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,1.5,0),color00D1FF;
    STICKLINE((主动买盘> 0),0,主动买盘,1,0),color00EAFF;
    STICKLINE((主动买盘 > 0),0,主动买盘,0.7,0),color00FFFF;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,8,0),color006800;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,7.8,0),color007F00;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,7,5),color008B00;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,7,3),color008B00;
    STICKLINE((主动卖盘> 0),0,主动卖盘,7,0),color009000;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,6.8,0),color009500;
    STICKLINE((主动卖盘> 0),0,主动卖盘,6.5,0),color009C00;
    STICKLINE((主动卖盘> 0),0,主动卖盘,6.3,0),color00A300;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,6,0),color00AB00;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,5.7,0),color00AF00;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,5.5,0),color00B900;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,5.3,0),color00C000;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,5,0),color00C100;
    STICKLINE((主动卖盘 > 0),0,主动卖盘,4.5,0),color00CA00;
    STICKLINE((主动卖盘> 0),0,主动卖盘,3.5,0),color00D300;
    STICKLINE((主动卖盘> 0),0,主动卖盘,3,0),color00DB00;
    STICKLINE((主动卖盘> 0),0,主动卖盘,2.5,0),color00EA00;
    STICKLINE((主动卖盘> 0),0,主动卖盘,1.5,0),color00FF00;

    DRAWTEXTABS(1,1,'┃买入累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;
    DRAWTEXTABS(150,1,'┃卖出累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1;
    DRAWTEXTABS(300,1,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1;
    DRAWTEXTABS(450,1,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1;
    DRAWTEXTABS(540,1,'┃挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1;
    DRAWTEXTABS(650,1,'┃挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;

    当日:=VOL;
    量5:=MA(VOL,5);
    量10:=MA(VOL,10);
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLOR0000FF,STICK;
    主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00E521,STICK;
    买卖盘比:主动买盘/主动卖盘;

    WJ:=(HIGH+LOW+CLOSE)/3;
    VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
    VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);
    VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
    VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));
    VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
    VD6:=(VD1*VD5);
    VD7:=(VD2*VD5);
    VD8:=(VD3*VD5);
    VD9:=(VD4*VD5);
    买入量:=(VD9+VD8);
    卖出量:=(VD6+VD7);
    买入资金:=买入量*CLOSE/100;
    卖出资金:=卖出量*CLOSE/100;
    资金进出:=买入资金-卖出资金;
    买卖资金比:=买入资金/卖出资金;
    挂单买盘:=MA(主动买盘,3);
    挂单卖盘:=(MA(主动卖盘,3));
    STICKLINE((主动买盘 > 0),0,主动买盘,3,0),COLOR0011FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,2,0),COLOR0044FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,1,0),COLOR0077FF;
    STICKLINE((主动买盘 > 0),0,主动买盘,0.3,0),COLOR0099FF;
    STICKLINE((主动卖盘> 0),0,主动卖盘,3,0),COLOR00D300;
    STICKLINE((主动卖盘> 0),0,主动卖盘,2,0),COLOR00DB00;
    STICKLINE((主动卖盘> 0),0,主动卖盘,1,0),COLOR00EA00;
    STICKLINE((主动卖盘> 0),0,主动卖盘,0.3,0),COLOR00FF00;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 把“test”公式改为通达信的 加入收藏