跪求:通达信版l2大单净量指标源码,请友友割爱哟。

孙哥 2024-05-27 02:25:43
最佳回答
主力买:largeintrdvol*100/vol,colorred;主力卖力度:largeouttrdvol*100/vol,colorgreen;b:=l2_vol(0,0)*vol/capital;**:=l2_vol(1,0)*vol/capital;中b:=l2_vol(2,0)*vol/capital;**:=l2_vol(3,0)*vol/capital;超s:=-l2_vol(0,1)*vol/capital;大s:=-l2_vol(1,1)*vol/capital;中s:=-l2_vol(2,1)*vol/capital;小s:=-l2_vol(3,1)*vol/capital;流入:=(超b+**+中b+**)+(超s+大s+中s+小s);大宗净流入:=(超b+**)+(超s+大s);超净:=超b+超s;大净:=**+大s;中净:=中b+中s;散净:=**+小s;aa:=const(max(abs(净流入),max(abs(大宗净流入),max(abs(超净),max(abs(大净),max(abs(中净),abs(散净)))))))*3,nodraw;drawrectrel(10,const(830-(abs(大宗净流入)*500/aa)),50,945,if(const(大宗净流入)>0,rgb(250,0,0),rgb(0,50,0)));drawnumber_fix(currbarscount=1,0.01,0.88,0,intpart(大宗净流入)),coloryellow;drawtext_fix(currbarscount=1,0.014,1,0,' 大宗'),coloryellow;drawrectrel(55,const(830-(abs(超净)*500/aa)),95,945,if(const(超净)>0,rgb(255,0,0),rgb(0,50,0)));drawrectrel(100,const(830-(abs(大净)*500/aa)),140,945,if(const(大净)<0,rgb(0,50,0),rgb(255,0,0)));drawrectrel(145,const(830-(abs(中净)*500/aa)),185,945,if(const(中净)>0,rgb(255,0,0),rgb(0,50,0)));drawrectrel(190,const(830-(abs(散净)*500/aa)),230,945,if(const(散净)<0,rgb(0,50,0),rgb(255,0,0)));drawtext_fix(currbarscount=1,0.061,1,0,' 超净 大净 中净 散净'),coloryellow;drawnumber_fix(currbarscount=1,0.055,0.88,0,intpart(超净)),coloryellow;drawnumber_fix(currbarscount=1,0.103,0.88,0,intpart(大净)),coloryellow;drawnumber_fix(currbarscount=1,0.144,0.88,0,intpart(中净)),coloryellow;drawnumber_fix(currbarscount=1,0.190,0.88,0,intpart(散净)),coloryellow;aad:=const(max(abs(主力买力度),abs(主力卖力度)))*4,nodraw;drawrectrel(0,515,const(abs(主力买力度)*500/aad),568,if(const(主力买力度)>0,rgb(255,0,0),rgb(0,50,0)));drawrectrel(0,570,const(abs(主力卖力度)*500/aad),623,if(const(主力卖力度)>0,rgb(0,50,0),rgb(255,0,0)));drawtext_fix(1,0,0.512,0,strcat('主力买力度:',con2str(主力买力度,0))),coloryellow;drawtext_fix(1,0,0.57,0,strcat('主力卖力度:',con2str(主力卖力度,0))),coloryellow; 20210311
汇率兑换计算器

类似问答
汇率兑换计算器

热门推荐
热门问答
最新问答
推荐问答
新手帮助
常见问题
房贷计算器-九子财经 | 备案号: 桂ICP备19010581号-1 商务联系 企鹅:2790-680461

特别声明:本网为公益网站,人人都可发布,所有内容为会员自行上传发布",本站不承担任何法律责任,如内容有该作者著作权或违规内容,请联系我们清空删除。