{超赢分类持仓
www.goodgongshi.com}
小单买:=1-bigorder(1,1)*v/capital;
小单卖:=1-bigorder(2,1)*v/capital;
散户净买:=(小单买-小单卖)*100;
散户:sum(散户净买,1),linethick0,colorgreen;
中户买:=bigorder(1,1)*v/capital-bigorder(1,2)*v/capital;
中户卖:=bigorder(2,1)*v/capital-bigorder(2,2)*v/capital;
中户净买:=(中户买-中户卖)*100;
中户:sum(中户净买,1),linethick0,colorf00ff0;
大户买:=bigorder(1,2)*v/capital-bigorder(1,3)*v/capital;
大户卖:=bigorder(2,2)*v/capital-bigorder(2,3)*v/capital;
大户净买:=(大户买-大户卖)*100;
大户:sum(大户净买,1),linethick0,colorf0f000;
机构买:=bigorder(1,3)*v/capital;
机构卖:=bigorder(2,3)*v/capital;
机构净买:=(机构买-机构卖)*100;
超大:sum(机构净买,1),linethick0,color3399ff;
大单买:=bigorder(1,2)*v/capital;
大单卖:=bigorder(2,2)*v/capital;
主力:(大单买-大单卖)*100,linethick0,colorred;
散户增减:=散户-ref(散户,3);
中户增减:=中户-ref(中户,5);
大户增减:=大户-ref(大户,3);
超大增减:=超大-ref(超大,10);
主力增减:=主力-ref(主力,5);
s3:=ref(散户,3);
z3:=ref(中户,3);
d3:=ref(大户,3);
f3:=ref(超大,3);
j3:=ref(主力,3);
s5:=ref(散户,5);
z5:=ref(中户,5);
d5:=ref(大户,5);
f5:=ref(超大,5);
j5:=ref(主力,5);
s10:=ref(散户,10);
z10:=ref(中户,10);
d10:=ref(大户,10);
f10:=ref(超大,10);
j10:=ref(主力,10);
s20:=ref(散户,20);
z20:=ref(中户,20);
d20:=ref(大户,20);
f20:=ref(超大,20);
j20:=ref(主力,20);
bl3:=400/max(s3,z3,d3,f3,j3);
bl5:=400/max(s5,z5,d5,f5,j5);
bl10:=400/max(s10,z10,d10,f10,j10);
bl20:=400/max(s20,z20,d20,f20,j20);
s3b:=999-s3*bl3;
z3b:=999-z3*bl3;
d3b:=999-d3*bl3;
f3b:=999-f3*bl3;
j3b:=999-j3*bl3;
s5b:=999-s5*bl5;
z5b:=999-z5*bl5;
d5b:=999-d5*bl5;
f5b:=999-f5*bl5;
j5b:=999-j5*bl5;
s10b:=999-s10*bl10;
z10b:=999-z10*bl10;
d10b:=999-d10*bl10;
f10b:=999-f10*bl10;
j10b:=999-j10*bl10;
s20b:=999-s20*bl20;
z20b:=999-z20*bl20;
d20b:=999-d20*bl20;
f20b:=999-f20*bl20;
j20b:=999-j20*bl20;
{画直方图}
drawrectrel(10,s3b,40,999,rgb(0,255,0));
drawrectrel(30,z3b,60,999,rgb(180,0,100));
drawrectrel(50,d3b,80,999,rgb(0,0,255));
drawrectrel(70,f3b,100,999,rgb(180,100,0));
drawrectrel(90,j3b,120,999,rgb(255,0,0));
drawrectrel(140,s5b,170,999,rgb(0,255,0));
drawrectrel(160,z5b,190,999,rgb(180,0,100));
drawrectrel(175,d5b,210,999,rgb(0,0,255));
drawrectrel(200,f5b,230,999,rgb(180,100,0));
drawrectrel(220,j5b,250,999,rgb(255,0,0));
drawrectrel(270,s10b,300,999,rgb(0,255,0));
drawrectrel(290,z10b,320,999,rgb(180,0,100));
drawrectrel(310,d10b,340,999,rgb(0,0,255));
drawrectrel(330,f10b,360,999,rgb(180,100,0));
drawrectrel(350,j10b,380,999,rgb(255,0,0));
drawrectrel(400,s20b,430,999,rgb(0,255,0));
drawrectrel(420,z20b,450,999,rgb(180,0,100));
drawrectrel(440,d20b,470,999,rgb(0,0,255));
drawrectrel(460,f20b,490,999,rgb(180,100,0));
drawrectrel(480,j20b,510,999,rgb(255,0,0));
drawtextrel(80,5,'散户'),color00ff00;
drawtextrel(160,5,'中户'),colorf00ff0;
drawtextrel(240,5,'大户'),colorffaa66;
drawtextrel(320,5,'超大'),color0099ff;
drawtextrel(400,5,'主力'),colorred;
drawtextrel(30,70,'今日'),colorddffff;
drawtextrel(80,70,numtostrn(散户,2)), color00ff00;
drawtextrel(160,70,numtostrn(中户,2)),colorf00ff0;
drawtextrel(240,70,numtostrn(大户,2)), colorffaa66;
drawtextrel(320,70,numtostrn(超大,2)), color0099ff;
drawtextrel(400,70,numtostrn(主力,2)), colorred;
drawtextrel(30,140,'3日'), colorddffff;
drawtextrel(80,140,numtostrn(s3,2)), color00ff00;
drawtextrel(160,140,numtostrn(z3,2)),colorf00ff0;
drawtextrel(240,140,numtostrn(d3,2)), colorffaa66;
drawtextrel(320,140,numtostrn(f3,2)), color0099ff;
drawtextrel(400,140,numtostrn(j3,2)), colorred;
drawtextrel(30,210,'5日'), colorddffff;
drawtextrel(80,210,numtostrn(s5,2)), color00ff00;
drawtextrel(160,210,numtostrn(z5,2)),colorf00ff0;
drawtextrel(240,210,numtostrn(d5,2)), colorffaa66;
drawtextrel(320,210,numtostrn(f5,2)), color0099ff;
drawtextrel(400,210,numtostrn(j5,2)), colorred;
drawtextrel(30,280,'10日'), colorddffff;
drawtextrel(80,280,numtostrn(s10,2)), color00ff00;
drawtextrel(160,280,numtostrn(z10,2)),colorf00ff0;
drawtextrel(240,280,numtostrn(d10,2)), colorffaa66;
drawtextrel(320,280,numtostrn(f10,2)), color0099ff;
drawtextrel(400,280,numtostrn(j10,2)), colorred;
drawtextrel(30,350,'20日'), colorddffff;
drawtextrel(80,350,numtostrn(s20,2)), color00ff00;
drawtextrel(160,350,numtostrn(z20,2)),colorf00ff0;
drawtextrel(240,350,numtostrn(d20,2)), colorffaa66;
drawtextrel(320,350,numtostrn(f20,2)), color0099ff;
drawtextrel(400,350,numtostrn(j20,2)), colorred;
drawtextrel(5,800,'3'),colorred;
drawtextrel(3,900,'日'),colorred;
drawtextrel(135,800,'5'),colorred;
drawtextrel(130,900,'日'),colorred;
drawtextrel(260,800,'10'),colorred;
drawtextrel(260,900,'日'),colorred;
drawtextrel(390,800,'20'),colorred;
drawtextrel(390,900,'日'),colorred;
一日资金流入:=amount*bigorder(1,2)/10000;
一日资金流出:=amount*bigorder(2,2)/10000;
资金流:=一日资金流入-一日资金流出;
进出【万元】:资金流,color3d,coloryellow;
if 资金流<0 then
drawflagtext(1,资金流,'当日资金流出'+str(abs(资金流))+'【万元】↓');
else
drawflagtext(1,资金流,'当日资金流入'+str(abs(资金流))+'【万元】↑'),colorred;
流进:bigorder(1,2)*v/capital,linethick0,colorred;
流出:bigorder(2,2)*v/capital,linethick0,colorgreen;
fillrgn(流进,流出,流进>流出,rgb(255,0,0)),color000000;
fillrgn(流出,流进,流进<流出,rgb(0,255,0)),color000000;
上一指标公式:快慢趋势L2公式下载 大智慧趋势大智慧
下一指标公式:老鼠仓选股通用公式下载 大智慧源码选股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文超赢分类持仓公式下载 大智慧持仓仅供学习研究。