drawtextex(close,1,20,30,stklabel),linethick6,colorffff00;
drawtextex(close,1,140,30,stkname),linethick6,colorffff;
drawtextex(close,1,20,450,'------------------------------------------------------------------------------------'),linethick1,coloreeeeee;
a:=buyvol*close/100;
bz:=sum(a,0);
b:=close*sellvol/100;
sz:=sum(b,0);
z:=bz+sz;
cz:=bz-sz;
xb5:=if(a<=5,a,0);
b5:=sum(xb5,0);
xs5:=if(b<=5,b,0);
s5:=sum(xs5,0);
xb10:=if(a<=10 and a>=5,a,0);
b10:=sum(xb10,0);
xs10:=if(b<=10 and b>=5,b,0);
s10:=sum(xs10,0);
xb30:=if(a<=30 and a>=10,a,0);
b30:=sum(xb30,0);
xs30:=if(b<=30 and b>=10,b,0);
s30:=sum(xs30,0);
xb50:=if(a<=50 and a>=30,a,0);
b50:=sum(xb50,0);
xs50:=if(b<=50 and b>=30,b,0);
s50:=sum(xs50,0);
xb70:=if(a<=70 and a>=50,a,0);
b70:=sum(xb70,0);
xs70:=if(b<=70 and b>=50,b,0);
s70:=sum(xs70,0);
xb100:=if(a<=100 and a>=70,a,0);
b100:=sum(xb100,0);
xs100:=if(b<=100 and b>=70,b,0);
s100:=sum(xs100,0);
xb150:=if(a>=100,a,0);
b150:=sum(xb150,0);
xs150:=if(b>=100,b,0);
s150:=sum(xs150,0);
j5:=b5-s5;
j10:=b10-s10;
j30:=b30-s30;
j50:=b50-s50;
j70:=b70-s70;
j100:=b100-s100;
j150:=b150-s150;
drawtextex(barstatus=2 and z,1,320,45,'■总成金额(万元):'+numtostr(z,2)),linethick4,colorccffcc;
drawtextex(barstatus=2 and bz,1,30,500,'■■■■■买入:'+numtostr(bz,2)),linethick1,colorff;
drawtextex(barstatus=2 and sz,1,250,500,'■■■■■卖出:'+numtostr(sz,2)),linethick1,colorff00;
drawtextex(barstatus=2 and b5,1,30,560,'5 万大单买入:'+numtostr(b5,2)),linethick1,colorff;
drawtextex(barstatus=2 and s5,1,250,560,'5 万大单卖出:'+numtostr(s5,2)),linethick1,colorff00;
drawtextex(barstatus=2 and b10,1,30,620,'10 万大单买入:'+numtostr(b10,2)),linethick1,colorff;
drawtextex(barstatus=2 and s10,1,250,620,'10 万大单卖出:'+numtostr(s10,2)),linethick1,colorff00;
drawtextex(barstatus=2 and b30,1,30,680,'30 万大单买入:'+numtostr(b30,2)),linethick1,colorff;
drawtextex(barstatus=2 and s30,1,250,680,'30 万大单卖出:'+numtostr(s30,2)),linethick1,colorff00;
drawtextex(barstatus=2 and b50,1,30,740,'50 万大单买入:'+numtostr(b50,2)),linethick1,colorff;
drawtextex(barstatus=2 and s50,1,250,740,'50 万大单卖出:'+numtostr(s50,2)),linethick1,colorff00;
drawtextex(barstatus=2 and b70,1,30,800,'70 万大单买入:'+numtostr(b70,2)),linethick1,colorff;
drawtextex(barstatus=2 and s70,1,250,800,'70 万大单卖出:'+numtostr(s70,2)),linethick1,colorff00;
drawtextex(barstatus=2 and b100,1,30,860,'100 万大单买入:'+numtostr(b100,2)),linethick1,colorff;
drawtextex(barstatus=2 and s100,1,250,860,'100 万大单卖出:'+numtostr(s100,2)),linethick1,colorff00;
drawtextex(barstatus=2 and b150,1,30,920,'150 万大单买入:'+numtostr(b150,2)),linethick1,colorff;
drawtextex(barstatus=2 and s150,1,250,920,'150 万大单卖出:'+numtostr(s150,2)),linethick1,colorff00;
drawtextex(barstatus=2 and cz,1,500,500,'■■■■总净买入:'+numtostr(cz,2)),linethick1,colorccff00;
drawtextex(barstatus=2 and j5,1,500,560,'5万大单净买入'+numtostr(j5,2)),linethick1,colorccff00;
drawtextex(barstatus=2 and j10,1,500,620,'10万大单净买入'+numtostr(j10,2)),linethick1,colorccff00;
drawtextex(barstatus=2 and j30,1,500,680,'30万大单净买入'+numtostr(j30,2)),linethick1,colorccff00;
drawtextex(barstatus=2 and j50,1,500,740,'50万大单净买入'+numtostr(j50,2)),linethick1,colorccff00;
drawtextex(barstatus=2 and j70,1,500,800,'70万大单净买入'+numtostr(j70,2)),linethick1,colorccff00;
drawtextex(barstatus=2 and j100,1,500,860,'100万大单净买入'+numtostr(j100,2)),linethick1,colorccff00;
drawtextex(barstatus=2 and j150,1,500,920,'150万大单净买入'+numtostr(j150,2)),linethick1,colorccff00;
dd:=intpart(ln(finance(7)/(n*10))*atan(finance(7))*100);
主动买入:=sum(buyvol,0);
主动卖出:=sum(sellvol,0);
大单买:=if(buyvol>=dd,buyvol,0);
大单卖:=if(sellvol>dd,sellvol,0);
大单买入:=sum(大单买,0);
大单卖出:=sum(大单卖,0);
小单买入:=主动买入-大单买入;
小单卖出:=主动卖出-大单卖出;
大买金:=sum((if(buyvol>=dd,buyvol,0))*close,0);
大单买均价:=大买金/大单买入;
大卖金:=sum((if(sellvol>dd,sellvol,0))*close,0);
大单卖均价:=大卖金/大单卖出;
成交笔数:=(sum(if(buyvol>0,1,0),0))+(sum(if(sellvol>0,1,0),0));
大单净量:=大单买入-大单卖出;
drawtextex(close,1,30,420,'■ 大单净量:'+numtostr(大单净量,2)),linethick2,colorffff;
drawtextex(close,1,300,420,' 占'+numtostr(floor(大单净量/(主动买入+主动卖出)*100),2)+' %'),linethick2,colorffff;
drawtextex(close,1,30,100,'■ 大单买入: '+numtostr(大单买入,2)),linethick2,color8000ff;
drawtextex(close,1,300,100,' 占'+numtostr(floor(大单买入/(主动买入+主动卖出)*100),2)+'%'),linethick2,color8000ff;
drawtextex(close,1,500,100,'大单买均价: '+numtostr(大单买均价,2)),linethick2,color8000ff;
drawtextex(close,1,30,260,'■ 大单卖出: '+numtostr(大单卖出,2)),linethick2,colorff00;
drawtextex(close,1,300,260,' 占'+numtostr(floor(大单卖出/(主动买入+主动卖出)*100),2)+' %'),linethick2,colorff00;
drawtextex(close,1,500,180,'大单卖均价: '+numtostr(大单卖均价,2)),linethick2,colorff00;
drawtextex(close,1,30,180,'■ 小单买入: '+numtostr(小单买入,2)),linethick2,color2f73ff;
drawtextex(close,1,300,180,' 占'+numtostr(floor(小单买入/(主动买入+主动卖出)*100),2)+' %'),linethick2,color2f73ff;
drawtextex(close,1,30,340,'■ 小单卖出: '+numtostr(小单卖出,2)),linethick2,colorb4b043;
drawtextex(close,1,300,340,' 占'+numtostr(floor(小单卖出/(主动买入+主动卖出)*100),2)+' %'),linethick2,colora8a800;
drawtextex(close,1,500,260,'总成交笔数: '+numtostr(成交笔数,2)),linethick2,colorffffff;
drawtextex(close,1,500,340,'每笔成交手: '+numtostr(intpart((主动买入+主动卖出)/成交笔数),2)),linethick2;
drawtextex(close,1,500,420,'■大单标准: '+numtostr(dd,2)),linethick2,colorffffff;
explain(1=1,'◆代码:'+stklabel+' '+stkname),color4080ff;
explain(1,'------------------------------------'),colorccff00;
explain(1,'总成金额(万元):'+numtostr(z,2)),colorffff;
explain(1,'买入:'+numtostr(bz,2)+' 卖出: '+numtostr(sz,2)),colorffffff;
explain(1,'分 类 买 入 卖 出 买卖比例'),color336699;
explain(1,' 5万大单 '+numtostr(b5,2)+' '+numtostr(s5,2)+' '+numtostr(j5,2)),colorff;
explain(1,' 10万大单 '+numtostr(b10,2)+' '+numtostr(s10,2)+' '+numtostr(j10,2)),colorff;
explain(1,' 30万大单 '+numtostr(b30,2)+' '+numtostr(s30,2)+' '+numtostr(j30,2)),colorff;
explain(1,' 50万大单 '+numtostr(b50,2)+' '+numtostr(s50,2)+' '+numtostr(j50,2)),colorff;
explain(1,' 70万大单 '+numtostr(b70,2)+' '+numtostr(s70,2)+' '+numtostr(j70,2)),colorff;
explain(1,'100万大单 '+numtostr(b100,2)+' '+numtostr(s100,2)+' '+numtostr(j100,2)),colorff;
explain(1,'150万大单 '+numtostr(b150,2)+' '+numtostr(s150,2)+' '+numtostr(j150,2)),colorff;
explain(1,'■■■■总净买入:'+numtostr(cz,2)),linethick1,colorccff00;
explain(1,'--------------龙虎盯盘---------------'),colorccff00;
explain(1,'■ 大单净量: '+numtostr(大单净量,0)+' 占'+numtostr(floor(大单净量/(主动买入+主动卖出)*100),0)+'%'),colorffff;
explain(1,'■ 大单买入: '+numtostr(大单买入,0)+' 占'+numtostr(floor(大单买入/(主动买入+主动卖出)*100),0)+'%'),color8000ff;
explain(1,'■ 大单卖出: '+numtostr(大单卖出,0)+' 占'+numtostr(floor(大单卖出/(主动买入+主动卖出)*100),0)+'%'),colorff00;
explain(1,'■ 小单买入: '+numtostr(小单买入,0)+' 占'+numtostr(floor(小单买入/(主动买入+主动卖出)*100),0)+'%'),color2f73ff;
explain(1,'■ 小单卖出: '+numtostr(小单卖出,0)+' 占'+numtostr(floor(小单卖出/(主动买入+主动卖出)*100),0)+'%'),colorb4b043;
explain(1,'------------------------------------'),colorccff00;
explain(1,'大单买均价: '+numtostr(大单买均价,2)+' 大单卖均价: '+numtostr(大单卖均价,2)),colorff00;
explain(1,'总成交笔数: '+numtostr(成交笔数,0)+' 每笔成交手: '+numtostr(intpart((主动买入+主动卖出)/成交笔数),0)),colorffffff;
上一指标公式:箱子主图主图--图公式下载 飞狐原码主图指标 源码
下一指标公式:大资金公式下载 飞狐资金指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文趋势跟踪分时公式下载 飞狐指标趋势指标 源码仅供学习研究。