通达信c资金分布副图附效果图指标
超b:=l2_amo(0,2)/10000.0;
大b:=l2_amo(1,2)/10000.0;
中b:=l2_amo(2,2)/10000.0;
小b:=l2_amo(3,2)/10000.0;
超s:=l2_amo(0,3)/10000.0;
大s:=l2_amo(1,3)/10000.0;
中s:=l2_amo(2,3)/10000.0;
小s:=l2_amo(3,3)/10000.0;
testskip(not(超b or 大b or 中b or 小b or 超s or 大s or 中s or 小s)!=0);
净流入:=(超b+大b+中b+小b)-(超s+大s+中s+小s);
大宗净流入:=(超b+大b)-(超s+大s);
超大:=(超b)-(超s);
大:=(大b)-(大s);
中:=(中b)-(中s);
小:=(小b)-(小s);
总:=abs(超大)+abs(大)+abs(中)+abs(小);
超大单:=((超b)-(超s))*1000/总;
大单:=((大b)-(大s))*1000/总;
中单:=((中b)-(中s))*1000/总;
小单:=((小b)-(小s))*1000/总;
dazhi:=const(max(abs(净流入),max(abs(超大单),max(abs(大单),max(abs(中单),abs(小单)))))),nodraw;
近5净入:=ref(净流入,1);{好公式网-最好的股票公式网站 www.goodgongshi.com}
近5超:=ref(超大单,1);
近5大:=ref(大单,1);
近5中:=ref(中单,1),;
近5小:=ref(小单,1);
近10净入:=ref(净流入,2);
近10超:=ref(超大单,2);
近10大:=ref(大单,2);
近10中:=ref(中单,2),;
近10小:=ref(小单,2);
近20净入:=ref(净流入,3);
近20超:=ref(超大单,3);
近20大:=ref(大单,3);
近20中:=ref(中单,3);
近20小:=ref(小单,3);
流入:=abs(超b+大b+中b+小b)*1000/vol;
流出:=abs(超s+大s+中s+小s)*1000/vol;
近5流入:=abs(ref(超b,1)+ref(大b,1)+ref(中b,1)+ref(小b,1))*1000/vol;
近5流出:=abs(ref(超s,1)+ref(大s,1)+ref(中s,1)+ref(小s,1))*1000/vol;
近10流入:=abs(ref(超b,2)+ref(大b,2)+ref(中b,5)+ref(小b,2))*1000/vol;
近10流出:=abs(ref(超s,2)+ref(大s,2)+ref(中s,5)+ref(小s,2))*1000/vol;
近20流入:=abs(ref(超b,3)+ref(大b,3)+ref(中b,3)+ref(小b,3))*1000/vol;
近20流出:=abs(ref(超s,3)+ref(大s,3)+ref(中s,3)+ref(小s,3))*1000/vol;
净流买比:=流入*100/(流入+流出);
净流买比5:=近5流入*100/(近5流入+近5流出);
净流买比10:=近10流入*100/(近10流入+近10流出);
净流买比20:=近20流入*100/(近20流入+近20流出);
aas:=const(max(abs(流入),abs(流出)))*4,nodraw;
{ 当日 }
drawrectrel(0,0,243,999.2,if(120,rgb(10,0,0),0));
{drawtext_fix(currbarscount=1,0.0,0.001,0,'单位(万元)'),colordddddd;}
drawrectrel(10,abs(const(880-(abs(净流入)*50/dazhi))),25,880,if(const(净流入)>0,rgb(170,0,170),rgb(0,155,0)));
drawrectrel(48,abs(const(880-(abs(超大单)))),80,880,if(const(超大单)>0,rgb(240,130,140),rgb(23,125,255)));
drawrectrel(96,abs(const(880-(abs(大单)))),128,880,if(const(大单)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(144,abs(const(880-(abs(中单)))),176,880,if(const(中单)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(192,abs(const(880-(abs(小单)))),224,880,if(const(小单)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(30,205,190,145,rgb(0,140,0));
drawrectrel(30,195,190,155,rgb(0,160,0));
drawrectrel(30,185,190,165,rgb(0,180,0));
drawrectrel(30,175,190,175,rgb(0,210,0));
drawrectrel(30,205,30+const(净流买比*160/100),145,rgb(140,0,0));
drawrectrel(30,195,30+const(净流买比*160/100),155,rgb(160,0,0));
drawrectrel(30,185,30+const(净流买比*160/100),165,rgb(180,0,0));
drawrectrel(30,175,30+const(净流买比*160/100),175,rgb(210,0,0));
drawtext_fix(1,0.05,0.01,0,strcat(strcat('净流买比',con2str(净流买比,2)),'%')),coloryellow;
drawrectrel(110,205,110,145,rgb(250,250,0));
drawtext_fix(currbarscount=1,0.2,0.001,0,'当日'),colorffffff;
drawtext_fix(currbarscount=1,0.005,1,0,'净流'),colorffffff;
drawtext_fix(currbarscount=1,0.050,1,0,'超大'),color00ffff;
drawtext_fix(currbarscount=1,0.095,1,0,'大单'),colorred;
drawtext_fix(currbarscount=1,0.145,1,0,'中单'),colorred;
drawtext_fix(currbarscount=1,0.192,1,0,'小单'),colorgreen;
drawnumber_fix(currbarscount=1,0.005,0.5,0,ceiling(净流入)),coloryellow;
drawnumber_fix(currbarscount=1,0.048,0.55,0,ceiling(超大单)),coloryellow;
drawnumber_fix(currbarscount=1,0.096,0.63,0,ceiling(大单)),coloryellow;
drawnumber_fix(currbarscount=1,0.148,0.55,0,ceiling(中单)),coloryellow;
drawnumber_fix(currbarscount=1,0.192,0.47,0,ceiling(小单)),coloryellow;
{5日 }
drawrectrel(243,0,505,999.2,if(120,rgb(10,0,0),0));
drawrectrel(260,abs(const(880-(abs(近5净入)*25/dazhi))),275,880,if(const(近5净入)>0,rgb(180,0,180),rgb(000,155,000)));
drawrectrel(301,abs(const(880-(abs(近5超)))),333,880,if(const(近5超)>0,rgb(240,130,140),rgb(23,125,255)));
drawrectrel(349,abs(const(880-(abs(近5大)))),381,880,if(const(近5大)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(397,abs(const(880-(abs(近5中)))),429,880,if(const(近5中)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(445,abs(const(880-(abs(近5小)))),477,880,if(const(近5小)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(280,205,440,145,rgb(0,155,0));
drawrectrel(280,205,280+const(净流买比5*160/100),145,rgb(160,0,0));
drawtext_fix(1,0.3,0.01,0,strcat(strcat('净流买比',con2str(净流买比5,2)),'%')),coloryellow;
drawrectrel(360,205,360,145,rgb(250,250,0));
drawtext_fix(currbarscount=1,0.460,0.001,0,'前1日'),colorffffff;
drawtext_fix(currbarscount=1,0.260,1,0,'净流'),colorffffff;
drawtext_fix(currbarscount=1,0.305,1,0,'超大'),color00ffff;
drawtext_fix(currbarscount=1,0.353,1,0,'大单'),colorred;
drawtext_fix(currbarscount=1,0.400,1,0,'中单'),colorred;
drawtext_fix(currbarscount=1,0.447,1,0,'小单'),colorgreen;
drawnumber_fix(currbarscount=1,0.260,0.5,0,ceiling(近5净入)),coloryellow;
drawnumber_fix(currbarscount=1,0.301,0.55,0,ceiling(近5超)),coloryellow;
drawnumber_fix(currbarscount=1,0.349,0.630,0,ceiling(近5大)),coloryellow;
drawnumber_fix(currbarscount=1,0.397,0.550,0,ceiling(近5中)),coloryellow;
drawnumber_fix(currbarscount=1,0.445,0.470,0,ceiling(近5小)),coloryellow;
{ 10 }
drawrectrel(500,0,750,999.3,if(120,rgb(10,0,0),0));
drawtext_fix(currbarscount=1,0.70,0.001,0,'前2日'),colorffffff;
drawrectrel(520,abs(const(880-(abs(近10净入)*25/dazhi))),535,880,if(const(近10净入)>0,rgb(180,0,180),rgb(000,155,000)));
drawrectrel(565,abs(const(880-(abs(近10超)))),595,880,if(const(近10超)>0,rgb(240,130,140),rgb(23,125,255)));
drawrectrel(613,abs(const(880-(abs(近10大)))),645,880,if(const(近10大)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(661,abs(const(880-(abs(近10中)))),693,880,if(const(近10中)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(709,abs(const(880-(abs(近10小)))),741,876,if(const(近10小)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(530,205,690,145,rgb(0,155,0));
{drawrectrel(530,195,690,155,rgb(0,175,0));
drawrectrel(530,185,690,165,rgb(0,195,0));
drawrectrel(530,175,690,175,rgb(0,225,0));}
drawrectrel(530,205,530+const(净流买比10*160/100),145,rgb(160,0,0));
{drawrectrel(530,195,530+const(净流买比20*160/100),155,rgb(180,0,0));
drawrectrel(530,185,530+const(净流买比20*160/100),165,rgb(200,0,0));
drawrectrel(530,175,530+const(净流买比20*160/100),175,rgb(230,0,0));}
drawtext_fix(1,0.55,0.01,0,strcat(strcat('净流买比',con2str(净流买比10,2)),'%')),coloryellow;
drawrectrel(610,205,610,145,rgb(250,250,0));
drawtext_fix(currbarscount=1,0.520,1,0,'净流'),colorffffff;
drawtext_fix(currbarscount=1,0.565,1,0,'超大'),color00ffff;
drawtext_fix(currbarscount=1,0.618,1,0,'大单'),colorred;
drawtext_fix(currbarscount=1,0.666,1,0,'中单'),colorred;
drawtext_fix(currbarscount=1,0.710,1,0,'小单'),colorgreen;
drawnumber_fix(currbarscount=1,0.520,0.5,0,ceiling(近10净入)),coloryellow;
drawnumber_fix(currbarscount=1,0.565,0.55,0,ceiling(近10超)),coloryellow;
drawnumber_fix(currbarscount=1,0.613,0.63,0,ceiling(近10大)),coloryellow;
drawnumber_fix(currbarscount=1,0.661,0.55,0,ceiling(近10中)),coloryellow;
drawnumber_fix(currbarscount=1,0.709,0.470,0,ceiling(近10小)),coloryellow;
{ 20 }
drawrectrel(750,0,1001,999.3,if(120,rgb(10,0,0),0));
drawtext_fix(currbarscount=1,0.95,0.001,0,'前3日'),colorffffff;
drawrectrel(770,abs(const(880-(abs(近20净入)*25/dazhi))),785,880,if(const(近20净入)>0,rgb(180,0,180),rgb(000,155,000)));
drawrectrel(815,abs(const(880-(abs(近20超)))),845,880,if(const(近20超)>0,rgb(240,130,140),rgb(23,125,255)));
drawrectrel(863,abs(const(880-(abs(近20大)))),895,880,if(const(近20大)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(911,abs(const(880-(abs(近20中)))),943,880,if(const(近20中)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(959,abs(const(880-(abs(近20小)))),991,876,if(const(近20小)>0,rgb(255,0,0),rgb(23,125,255)));
drawrectrel(800,205,960,145,rgb(0,155,0));
{drawrectrel(800,195,960,155,rgb(0,175,0));
drawrectrel(800,185,960,165,rgb(0,195,0));
drawrectrel(800,175,960,175,rgb(0,225,0));}
drawrectrel(800,205,800+const(净流买比20*160/100),145,rgb(160,0,0));
{drawrectrel(800,195,800+const(净流买比20*160/100),155,rgb(180,0,0));
drawrectrel(800,185,800+const(净流买比20*160/100),165,rgb(200,0,0));
drawrectrel(800,175,800+const(净流买比20*160/100),175,rgb(230,0,0));}
drawtext_fix(1,0.80,0.01,0,strcat(strcat('净流买比',con2str(净流买比20,2)),'%')),coloryellow;
drawrectrel(880,205,880,145,rgb(250,250,0));
drawtext_fix(currbarscount=1,0.770,1,0,'净流'),colorffffff;
drawtext_fix(currbarscount=1,0.815,1,0,'超大'),color00ffff;
drawtext_fix(currbarscount=1,0.863,1,0,'大单'),colorred;
drawtext_fix(currbarscount=1,0.911,1,0,'中单'),colorred;
drawtext_fix(currbarscount=1,0.959,1,0,'小单'),colorgreen;
drawnumber_fix(currbarscount=1,0.770,0.5,0,ceiling(近20净入)),coloryellow;
drawnumber_fix(currbarscount=1,0.815,0.55,0,ceiling(近20超)),coloryellow;
drawnumber_fix(currbarscount=1,0.863,0.63,0,ceiling(近20大)),coloryellow;
drawnumber_fix(currbarscount=1,0.911,0.55,0,ceiling(近20中)),coloryellow;
drawnumber_fix(currbarscount=1,0.959,0.470,0,ceiling(近20小)),coloryellow;
上一指标公式:通达信次新斩牛含实际选股效果图选股公式下载
下一指标公式:通达信趋势预警选股含实际选股效果图公式下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通达信C资金分布副图附效果图指标下载仅供学习研究。