以下是大智慧时分分笔主动买卖和VOL挂钩看涨跌副图源码

大智慧时分分笔主动买卖和VOL挂钩看涨跌副图源码

把分笔的主动买,主动卖和VOL挂钩看涨跌,更能分析明白是买中涨或跌,还是卖中涨或跌,要是股价在跌可是主动买量大拿迟早会涨起来,要是卖中跌那就彻底要跌下去啦,
由此看来我们在主动买,主动卖和VOL挂钩中看涨跌还是有点道理的

我是尽力而为的,在使用中看不够完善就想改,下载没下载的都不要怕麻烦,以前那个可以用也很简单,
就是我自己老是不满足力求完美,所以还要改——大家还是【常回家看看】好. 用法不言自明,我也会慢慢的讲我的体会的
黄线—–主买卖差量:SUM(主买量-主卖量,0)
粉线—–主买卖差:(sum(主动买,0)-sum(主动卖,0))*M
兰线—–涨跌量差:SUM(涨量-跌量,0)

更多指标公式:www.shenqizhibiao.com

 

INPUT:M(1,0,10);
variable:主动买=0;variable:主动卖=0;variable:真主动率=0;variable:假主动率=0;
DRAWRECTREL(-1,0,1000,1000,RGB(0,0,50)),color0077FF,LINETHICK2,LAYER7;
DRAWTEXTREL(0,3,’★可调【主买卖差M:→’+M+’ [0—不显示]】’),COLORFFFFFF;
0,DOTLINE;

主动买:”委托.主动买#tick”,color0000FF,linethick0;
主动卖:”委托.主动卖#tick”,color00FF00,linethick0;
DRAWTEXTABS(300,5,’【主动买】▄ ‘+NUMTOSTRN(sum(主动买,0),0)+’手’),linethick3,color0000FF;
DRAWTEXTABS(300,25,’【主动卖】▄ ‘+NUMTOSTRN(sum(主动卖,0),0)+’手’),linethick3,color00FF00;
主买卖差:(sum(主动买,0)-sum(主动卖,0))*M,color0077FF,linethick2;

主买量:=IF(主动买,VOL,0);
主卖量:=IF(主动卖,VOL,0);
主买卖差量:SUM(主买量-主卖量,0),color00FFFF,linethick2;
STICKLINE(主买量,0,V*2,4,0),COLOR0000FF,linethick1;
STICKLINE(主卖量,0,-V*2,4,0),COLOR00FF00,linethick1;

涨量:=IF(C>ref(c,1),VOL,0);
跌量:=IF(C<ref(c,1),VOL,0);
涨跌量差:SUM(涨量-跌量,0),colorFF9900,linethick2;

真主动率:”BSVOL.真主动率#tick”*100,color0000FF,linethick0,LAYER0;
假主动率:”BSVOL.假主动率#tick”*100,color00FF00,linethick0,LAYER0;
DRAWTEXTABS(0,15,’【真主动买卖率】▄ ‘+NUMTOSTRN(真主动率,1)+’%,’),linethick2,color0000FF;
DRAWTEXTABS(0,30,’【假主动买卖率】▄ ‘+NUMTOSTRN(假主动率,1)+’%,’),linethick2,color00ff00;

A1:=DYNAINFO(23) /(DYNAINFO(23)+ DYNAINFO(22))*100;
A2:=DYNAINFO(17);更多指标公式:www.shenqizhibiao.com
DRAWTEXTABS(0,45,IFS((A1 >= 50),’【外盘>=50】:▄ ‘+NUMTOSTRN(A1,2)+’%,’,”)),linethick2,color0000FF;
DRAWTEXTABS(0,45,IFS((A1 < 50),’【外盘<50】:▄ ‘+NUMTOSTRN(A1,2)+’%,’,”)),linethick2,color00FF00;
DRAWTEXTABS(0,60,IFS((A2 >= 1),’【量比>1】: ▄ ‘+NUMTOSTRN(A2,2)+’%,’,”)),linethick2,color0000FF;
DRAWTEXTABS(0,60,IFS((A2 < 1), ‘【量比<1】: ▄ ‘+NUMTOSTRN(A2,2)+’%,’,”)),linethick2,color00FF00;

———————————————————————————————————
这是引入文件—是分笔数据 【BSVOL】还是以前那个不另发了
———————————————————————————————————
{委托}
主动买:BUYVOL,Culor0000ff,linethick0;
主动卖:SELLVOL,Culor00ff00,linethick0;

委托买1:BIDVOL(1),Culor0000ff,linethick0;
委托买2:BIDVOL(2),Culor0000ff,linethick0;
委托买3:BIDVOL(3),Culor0000ff,linethick0;
委托买4:BIDVOL(4),Culor0000ff,linethick0;
委托买5:BIDVOL(5),Culor0000ff,linethick0;

委托卖1:ASKVOL(1),Culor00ff00,linethick0;
委托卖2:ASKVOL(2),Culor00ff00,linethick0;
委托卖3:ASKVOL(3),Culor00ff00,linethick0;
委托卖4:ASKVOL(4),Culor00ff00,linethick0;
委托卖5:ASKVOL(5),Culor00ff00,linethick0;

委卖1:ASKPRICE(1);
委卖2:ASKPRICE(2);
委卖3:ASKPRICE(3);
委买1:BIDPRICE(1);
委买2:BIDPRICE(2);
委买3:BIDPRICE(3);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。