大户资金wddhzj卫东老师作品
{大户资金}
today:="ddx.ddx"=0;{判断是否有正版数据}
today1:="lxddx.ddx";{判断是否有理想数据}
{比例}
主单买:=if(today,if(today1,"ddedata@bigorder"(1,2),selfdata('特大买入')+selfdata('大单买入')),bigorder(1,2));
主单卖:=if(today,if(today1,"ddedata@bigorder"(2,2),selfdata('特大卖出')+selfdata('大单卖出')),bigorder(2,2));
特单买:=if(today,if(today1,"ddedata@bigorder"(1,3),selfdata('特大买入')),bigorder(1,3));
特单卖:=if(today,if(today1,"ddedata@bigorder"(2,3),selfdata('特大卖出')),bigorder(2,3));
大单买:=if(today,if(today1,("ddedata@bigorder"(1,2)-"ddedata@bigorder"(1,3)),selfdata('大单买入')),(bigorder(1,2)-bigorder(1,3)));
大单卖:=if(today,if(today1,("ddedata@bigorder"(2,2)-"ddedata@bigorder"(2,3)),selfdata('大单卖出')),(bigorder(2,2)-bigorder(2,3)));
中单买:=if(today,if(today1,("ddedata@bigorder"(1,1)-"ddedata@bigorder"(1,2)),selfdata('中单买入')),(bigorder(1,1)-bigorder(1,2)));
中单卖:=if(today,if(today1,("ddedata@bigorder"(2,1)-"ddedata@bigorder"(2,2)),selfdata('中单卖出')),(bigorder(2,1)-bigorder(2,2)));
散单买:=if(today,if(today1,1-("ddedata@bigorder"(1,1)),1-(selfdata('特大买入')+selfdata('大单买入')+selfdata('中单买入'))),1-(bigorder(1,1)));
散单卖:=if(today,if(today1,1-("ddedata@bigorder"(2,1)),1-(selfdata('特大卖出')+selfdata('大单卖出')+selfdata('中单卖出'))),1-(bigorder(2,1)));
{计算}
流入:amount*大单买/10000,colorred,linethick0;
流出:amount*大单卖/10000,colorgreen,linethick0;
净额:流入-流出,linethick0,color39ffff;
净值:=大单买-大单卖;
总买:=特单买+大单买+中单买+散单买;
总卖:=特单卖+大单卖+中单卖+散单卖;
总净:=总买-总卖;
连红:last(净额>0),linethick0,precis0,colorred;
十红:count(净额>0,10),linethick0,precis0,color4080ff;
二日:=sum(净额,2);
三日:=sum(净额,3);
四日:=sum(净额,4);
五日:=sum(净额,5);
十日总净:sum(净额,10),precis0,linethick0,color40ff00;
十五日总净:sum(净额,15),precis0,linethick0,colorffff00;
二十日总净:sum(净额,20),precis0,linethick0,colorff8000;
三十日总净:sum(净额,30),precis0,linethick0,colorff0000;
0,dotline,colorff0000;
{红柱图}
stickline(净额>0,0,净额,7,0), color000033;
stickline(净额>0,0,净额,6,0), color000066;
stickline(净额>0,0,净额,5,0), color000088;
stickline(净额>0,0,净额,4,0), color0000bb;
stickline(净额>0,0,净额,2.5,0), color0000ee;
stickline(净额>0,0,净额,1,0), color0033ff;
{绿柱图}
stickline(净额<0,0,净额,7,0),color003300;
stickline(净额<0,0,净额,6,0),color006600;
stickline(净额<0,0,净额,5,0),color008800;
stickline(净额<0,0,净额,4,0),color00bb00;
stickline(净额<0,0,净额,2.5,0),color00ee00;
stickline(净额<0,0,净额,1,0),color00ff00;
{表格}
drawrectabs(0,0,100,15,734333),color0000c0;
drawrectabs(100,0,200,15,734333),color0000c0;
drawrectabs(200,0,250,15,734333),color0000c0;
drawrectabs(250,0,300,15,734333),color0000c0;
drawrectabs(300,0,350,15,734333),color0000c0;
drawrectabs(350,0,400,15,734333),color0000c0;
drawrectabs(400,0,450,15,734333),color0000c0;
{53}
drawrectabs(0,15,50,50,282416),color0000c0;
drawrectabs(50,15,150,50,32896),color0000c0;
drawrectabs(150,15,200,50,21446),color0000c0;
drawrectabs(200,15,250,30,32896),color0000c0;
drawrectabs(250,15,300,30,32896),color0000c0;
drawrectabs(300,15,350,30,32896),color0000c0;
drawrectabs(350,15,400,30,32896),color0000c0;
drawrectabs(400,15,450,30,32896),color0000c0;
{63}
drawrectabs(200,30,250,50,if(净额>0 ,21446 ,282416 )),color0000c0;
drawrectabs(250,30,300,50,if(二日>0 ,21446 ,282416 )),color0000c0;
drawrectabs(300,30,350,50,if(三日>0 ,21446 ,282416 )),color0000c0;
drawrectabs(350,30,400,50,if(四日>0 ,21446 ,282416 )),color0000c0;
drawrectabs(400,30,450,50,if(五日>0 ,21446 ,282416 )),color0000c0;
{文字}
drawtextabs(10,2,'大户流出(万元)'),color39ffff;
drawtextabs(110,2,'大户流入(万元)'),color39ffff;
drawtextabs(200,2,' 今天净 '),color39ffff;
drawtextabs(250,2,'二日总净 '),color39ffff;
drawtextabs(300,2,'三日总净 '),color39ffff;
drawtextabs(350,2,'四日总净 '),color39ffff;
drawtextabs(400,2,'五日总净 '),color39ffff;
{数据}
drawtextabs(1,22,numtostrn(流出,2)),color39ffff;
drawtextabs(1,33,numtostrn(100*大单卖/总卖,1)+'%'),colorffffff;
drawtextabs(150,22,numtostrn(流入,2)),color39ffff;
drawtextabs(150,33,numtostrn(100*大单买/总买,1)+'%'),colorffffff;
drawtextabs(200,30,numtostrn(净额,1)),color39ffff;
drawtextabs(200,40,numtostrn(100*sum(净值,1),1)+'%'),colorffffff;
drawtextabs(250,30,numtostrn(二日,1)),color39ffff;
drawtextabs(250,40,numtostrn(100*sum(净值,2),1)+'%'),colorffffff;
drawtextabs(300,30,numtostrn(三日,1)),color39ffff;
drawtextabs(300,40,numtostrn(100*sum(净值,3),1)+'%'),colorffffff;
drawtextabs(350,30,numtostrn(四日,1)),color39ffff;
drawtextabs(350,40,numtostrn(100*sum(净值,4),1)+'%'),colorffffff;
drawtextabs(400,30,numtostrn(五日,1)),color39ffff;
drawtextabs(400,40,numtostrn(100*sum(净值,5),1)+'%'),colorffffff;
{今日横柱图}
最大值:=max(主单买,主单卖,特单买,特单卖,大单买,大单卖,中单买,中单卖,散单买,散单卖);
最大净:=max(abs(sum(净值,1)),abs(sum(净值,2)),abs(sum(净值,3)),abs(sum(净值,4)),abs(sum(净值,5)));
{87}
drawrectabs(100,24,100-50*大单卖/最大值,41,26112),color006600;
drawrectabs(100,24,100+50*大单买/最大值,41,135),color000087;
drawrectabs(100,26,100-50*大单卖/最大值,39,32008),color007d08;
drawrectabs(100,26,100+50*大单买/最大值,39,177),color0000b1;
drawrectabs(100,28,100-50*大单卖/最大值,37,39946),color009c0a;
drawrectabs(100,28,100+50*大单买/最大值,37,208),color0000d0;
drawrectabs(100,31,100-50*大单卖/最大值,34,47884),color00bb0c;
drawrectabs(100,31,100+50*大单买/最大值,34,255),color0000ff;
{各日横柱图}
drawrectabs(225,17,225+25*sum(净值,1)/最大净,28,if(sum(净值,1)>0 ,177 ,32008 )),color00ffff;
drawrectabs(275,17,275+25*sum(净值,2)/最大净,28,if(sum(净值,2)>0 ,177 ,32008 )),color00ffff;
drawrectabs(325,17,325+25*sum(净值,3)/最大净,28,if(sum(净值,3)>0 ,177 ,32008 )),color00ffff;
drawrectabs(375,17,375+25*sum(净值,4)/最大净,28,if(sum(净值,4)>0 ,177 ,32008 )),color00ffff;
drawrectabs(425,17,425+25*sum(净值,5)/最大净,28,if(sum(净值,5)>0 ,177 ,32008 )),color00ffff;
{十字光标提示}
drawflagtext(净额>0,0,'<*t=ffff80*><*c=0000ff*><*p=95*>'+datestr(date)+' 大户资金'+'\n'+'<*t=95ffff*><*c=0000ff*><*p=95*>'+'流入'+numtostrn(流入,2)+'万元'+' 占比'+numtostrn(100*大单买/总买,1)+'%'+'\n'+'<*t=80ff80*><*c=408000*><*p=95*>'+'流出'+numtostrn(流出,2)+'万元'+' 占比'+numtostrn(100*大单卖/总卖,1)+'%'+'\n'+'<*t=0000ff*><*c=ffffff*><*p=95*>'+'净流入'+numtostrn(净额,2)+'万元'+' 占'+numtostrn(100*sum(净值,1),1)+'%');
drawflagtext(净额<0,0,'<*t=ffff80*><*c=0000ff*><*p=95*>'+datestr(date)+' 大户资金'+'\n'+'<*t=95ffff*><*c=0000ff*><*p=95*>'+'流入'+numtostrn(流入,2)+'万元'+' 占比'+numtostrn(100*大单买/总买,1)+'%'+'\n'+'<*t=80ff80*><*c=408000*><*p=95*>'+'流出'+numtostrn(流出,2)+'万元'+' 占比'+numtostrn(100*大单卖/总卖,1)+'%'+'\n'+'<*t=008000*><*c=ffffff*><*p=95*>'+'净流入'+numtostrn(净额,2)+'万元'+' 占'+numtostrn(100*sum(净值,1),1)+'%');
drawflagtext(净额=0,0,'<*t=ffff80*><*c=0000ff*><*p=95*>'+datestr(date)+' 大户资金'+'\n'+'<*t=e7ffff*><*c=000000*><*p=95*>'+' 今日无交易或无数据');
drawtextabs(455,0,'大户资金'),coloryellow;
{drawtextrel(600,930,'证券代码: '+stklabel+' 证券名称: '+stkname+''),colorffaa00;}
drawtextabs(500,0,'《qq:512764231-原创》'),color0000ff;
上一指标公式:K线卫东老师作品指标详解 大智慧卫东作品
下一指标公式:主散带-主力散户的成本带指标详解 大智慧成本主力
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文大户资金WDDHZJ卫东老师作品指标详解 大智慧老师资金仅供学习研究。