当前位置:→ 公式网 > 大智慧公式 > 正文  公式解密、改选股等业务 联系点击查看详情...

以下是大智慧主动买卖与委托买卖副图源码 看清楚买卖的意愿(无源码的请下载附件导入)

【委托买卖】(以前发表过)仅是委托的五个档次的合计,并不是成交的数据,迫使我们不得不再挖掘一个补充的【主动买卖】也是分笔引入的它比委托买卖更能准确的显示买卖双方的意愿,谁然比不上【DDX】但是两个同时看还是蛮好的。谁叫我们没花钱呢,可话又说回来就是【DDX】也经常利用主动买---【算流入】,主动卖----【算流出】,庄家会利用它们的大资金的实力在每一单的最后一笔上做文章来骗人,本来是买入会变成卖出,我们小散确实无奈的很,
 【主动买卖】和【委托买卖】是完全一样的就是取材不同,一个是买是主导,另一个是卖是主导,所以我在这并列发布仅供大家参考,它们的引入公式都是【BSVOL】,
 其实我们费这么大劲就是想知道老总想涨还是想跌,想买还是想卖,分时这个战场究竟谁是胜利一方,那就看谁能知己知彼了,
 ------------------------------------------
 【1.主动买卖】-----买是主导;
 -----------------------------------------
 {主动卖买}
 INPUT:M(1,0,1);
 variable:涨量=0;variable:跌量=0;variable:主动买=0;variable:主动卖=0;
 DRAWRECTREL(-1,0,1000,1000,RGB(0,0,50)),color00FF00,LINETHICK2,LAYER7;
 DRAWTEXTREL(0,0,'★可调【M:涨跌量差率:→'+M+' [0---不显示]】'),COLORFFFFFF;
 {公式在线提供:www.gszx.com.cn}
主动买:"BSVOL.主动买#tick",Color0000ff,PRECIS0,linethick0;
 主动卖:"BSVOL.主动卖#tick",Color00ff00,PRECIS0,linethick0;
 涨买:=IF(C>ref(c,1),主动买,0);
 跌买:=IF(C<ref(c,1),主动买,0);
 涨买占:SUM(涨买/(主动买+主动卖),0),color0000FF,PRECIS1,linethick0;
 跌买占:SUM(跌买/(主动买+主动卖),0),color00FF00,PRECIS1,linethick0;
 买:涨买占-跌买占,color0000FF,linethick2,PRECIS1,LAYER0;
 DRAWTEXT(barstatus=2,买,'【A-B】'),linethick3,ALIGN0,VALIGN2,Color0000ff;
 涨卖:=IF(C>ref(c,1),主动卖,0);
 跌卖:=IF(C<ref(c,1),主动卖,0);
 涨卖占:SUM(涨卖/(主动卖+主动买),0),color0000FF,PRECIS1,DOTLINE,linethick0;
 跌卖占:SUM(跌卖/(主动卖+主动买),0),color00FF00,PRECIS1,DOTLINE,linethick0;
 卖:涨卖占-跌卖占,color00FF00,linethick2,PRECIS1,LAYER0;
 DRAWTEXT(barstatus=2,卖,'【C-D】'),linethick3,ALIGN0,VALIGN2,Color00ff00;
 F卖买合计:(卖+买),colorFF9900,linethick2,PRECIS1,LAYER0;
 FILLRGN(F卖买合计,0,F卖买合计>0,RGB(0,0,255)),PRECIS1,LAYER5;
 FILLRGN(F卖买合计,0,F卖买合计<0,RGB(80,0,80)),PRECIS1,LAYER5;
 E:((涨买占+跌买占)-(涨卖占+跌卖占)),color00ffff,LAYER0;
 ((涨买占+跌买占)-(涨卖占+跌卖占)),colorstick,LAYER6;
 {四项}
 DRAWTEXTABS(5,10,'A.涨中买:'+NUMTOSTRN(涨买占,1)+'%'),linethick1,colorFF00FF;
 DRAWTEXTABS(5,25,'B.跌中买:'+NUMTOSTRN(跌买占,1)+'%'),linethick1,color00FF99;
 DRAWTEXTABS(5,40,'A-B.买差:'+NUMTOSTRN(涨买占-跌买占,1)+'%'),linethick1,color0500FF;
 DRAWTEXTABS(5,55,'A+B.买合:'+NUMTOSTRN(涨买占+跌买占,1)+'%'),linethick1,color0500FF;
 DRAWTEXTABS(120,10,'C.涨中卖:'+NUMTOSTRN(涨卖占,1)+'%'),linethick1,colorFF9900;
 DRAWTEXTABS(120,25,'D.跌中卖:'+NUMTOSTRN(跌卖占,1)+'%'),linethick1,color00FFFF;
 DRAWTEXTABS(120,40,'C-D.卖差:'+NUMTOSTRN(涨卖占-跌卖占,1)+'%'),linethick1,color05FF00;
 DRAWTEXTABS(120,55,'C+D.卖合:'+NUMTOSTRN(涨卖占+跌卖占,1)+'%'),linethick1,color05FF00;
 DRAWTEXTABS(5,70,'E.买合(A+B)-卖合(C+D):▄【'+NUMTOSTRN((涨买占+跌买占)-(涨卖占+跌卖占),1)+'%】'),linethick1,color99FFF9;
 DRAWTEXTABS(5,85,'F.买差(A-B)+卖差(C-D):▄【'+NUMTOSTRN((卖+买),1)+'%】'),linethick1,colorFF9900;
 DRAWTEXT(barstatus=2,F卖买合计,'【F】'),linethick3,ALIGN0,VALIGN2,Colorff9900;
 DRAWTEXT(barstatus=2,E,'【E】'),linethick3,ALIGN0,VALIGN2,Color00ffFF;
 涨量:=IF(C>ref(c,1),VOL,0);
 跌量:=IF(C<ref(c,1),VOL,0);
 涨量占:SUM(涨量,0)/SUM(V,0)*100,color0000FF,PRECIS2,linethick0,layer0;
 跌量占:SUM(跌量,0)/SUM(V,0)*100,color00FF00,PRECIS2,linethick0,layer2;
 涨跌量差率:(涨量占-跌量占),COLOR00ffFF,PRECIS2,linethick0;
 (涨量占-跌量占)*M/10,COLOR00ffFF,PRECIS2,linethick2;

 

大智慧主动买卖与委托买卖副图源码 看清楚买卖的意愿

 
---------------------------------------------
 【2.委托卖买】-----卖是主导
 ---------------------------------------------
 {委托卖买}
 INPUT:M(1,0,1);
 variable:涨量=0;variable:跌量=0;variable:委托买=0;variable:委托卖=0;
 DRAWRECTREL(-1,0,1000,1000,RGB(0,0,50)),color00FF00,LINETHICK2,LAYER7;
 DRAWTEXTREL(0,0,'★可调【M:涨跌量差率:→'+M+' [0---不显示]】'),COLORFFFFFF;
 委托买:="BSVOL.委托买#tick";
 委托卖:=-"BSVOL.委托卖#tick";
{公式在线提供:www.gszx.com.cn
涨卖:=IF(C>ref(c,1),委托卖,0);
 跌卖:=IF(C<ref(c,1),委托卖,0);
 涨卖占:SUM(涨卖/(委托卖+委托买),0),color0000FF,PRECIS1,linethick0;
 跌卖占:SUM(跌卖/(委托卖+委托买),0),color00FF00,PRECIS1,linethick0;
 卖:涨卖占-跌卖占,color0000FF,linethick2,PRECIS1,LAYER0;
 DRAWTEXT(barstatus=2,卖,'【A-B】'),linethick3,ALIGN0,VALIGN2,Color0000ff;
 涨买:=IF(C>ref(c,1),委托买,0);
 跌买:=IF(C<ref(c,1),委托买,0);
 涨买占:SUM(涨买/(委托卖+委托买),0),color0000FF,PRECIS1,DOTLINE,linethick0;
 跌买占:SUM(跌买/(委托卖+委托买),0),color00FF00,PRECIS1,DOTLINE,linethick0;
 买:涨买占-跌买占,color00FF00,linethick2,PRECIS1,LAYER0;
 DRAWTEXT(barstatus=2,买,'【C-D】'),linethick3,ALIGN0,VALIGN2,Color00ff00;
 F卖买合计:(卖+买),colorFF9900,linethick2,PRECIS1,LAYER0;
 FILLRGN(F卖买合计,0,F卖买合计>0,RGB(0,0,255)),PRECIS1,LAYER5;
 FILLRGN(F卖买合计,0,F卖买合计<0,RGB(80,0,80)),PRECIS1,LAYER5;
 E:((涨卖占+跌卖占)-(涨买占+跌买占)),color00ffff,LAYER0;
 ((涨卖占+跌卖占)-(涨买占+跌买占)),colorstick,LAYER6;
 {四项}
 DRAWTEXTABS(5,10,'A.涨中卖:'+NUMTOSTRN(涨卖占,1)+'%'),linethick1,colorFF00FF;
 DRAWTEXTABS(5,25,'B.跌中卖:'+NUMTOSTRN(跌卖占,1)+'%'),linethick1,color00FF99;
 DRAWTEXTABS(5,40,'A-B.卖差:'+NUMTOSTRN(涨卖占-跌卖占,1)+'%'),linethick1,color0500FF;
 DRAWTEXTABS(5,55,'A+B.卖合:'+NUMTOSTRN(涨卖占+跌卖占,1)+'%'),linethick1,color0500FF;
 DRAWTEXTABS(120,10,'C.涨中买:'+NUMTOSTRN(涨买占,1)+'%'),linethick1,colorFF9900;
 DRAWTEXTABS(120,25,'D.跌中买:'+NUMTOSTRN(跌买占,1)+'%'),linethick1,color00FFFF;
 DRAWTEXTABS(120,40,'C-D.买差:'+NUMTOSTRN(涨买占-跌买占,1)+'%'),linethick1,color05FF00;
 DRAWTEXTABS(120,55,'C+D.买合:'+NUMTOSTRN(涨买占+跌买占,1)+'%'),linethick1,color05FF00;
 DRAWTEXTABS(5,70,'E.卖合(A+B)-买合(C+D):▄【'+NUMTOSTRN((涨卖占+跌卖占)-(涨买占+跌买占),1)+'%】'),linethick1,color99FFF9;
 DRAWTEXTABS(5,85,'F.卖差(A-B)+买差(C-D):▄【'+NUMTOSTRN((卖+买),1)+'%】'),linethick1,colorFF9900;
 DRAWTEXT(barstatus=2,F卖买合计,'【F】'),linethick3,ALIGN0,VALIGN2,Colorff9900;
 DRAWTEXT(barstatus=2,E,'【E】'),linethick3,ALIGN0,VALIGN2,Color00ffFF;
 涨量:=IF(C>ref(c,1),VOL,0);
 跌量:=IF(C<ref(c,1),VOL,0);
 涨量占:SUM(涨量,0)/SUM(V,0)*100,color0000FF,PRECIS2,linethick0,layer0;
 跌量占:SUM(跌量,0)/SUM(V,0)*100,color00FF00,PRECIS2,linethick0,layer2;
 涨跌量差率:(涨量占-跌量占),COLOR00ffFF,PRECIS2,linethick0;
 (涨量占-跌量占)*M/10,COLOR00ffFF,PRECIS2,linethick2;
 

大智慧主动买卖与委托买卖副图源码 看清楚买卖的意愿



关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © 铭网科技,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识