{个股ddx}
drawrectrel(0,0,998,998,rgb(0,0,1));
drawrectrel(100,0,900,998,rgb(0,0,1));
drawrectrel(200,0,800,998,rgb(0,0,1));
drawrectrel(300,0,700,998,rgb(0,0,1));
drawrectrel(400,0,600,998,rgb(0,0,1));
drawrectrel(500,0,500,998,rgb(255,255,0));
drawrectrel(0,200,998,200,rgb(255,255,0));
drawrectrel(0,400,998,400,rgb(255,255,0));
drawrectrel(0,600,998,600,rgb(255,255,0));
drawrectrel(0,800,998,800,rgb(255,255,0));
ddx:=(largeintrdvol-largeouttrdvol)*10000/finance(7);
ddy:=if(tradenum>0,(tradeoutnum-tradeinnum)*100/tradenum,0),nodraw;
ddz:=if(tradenum>0,(largetrdinnum-largetrdoutnum)/tradenum*100,0),nodraw;
drawtext_fix(currbarscount=1,0.03,0.03,0,'ddx') color0000ff;{项目};
drawtext_fix(currbarscount=1,0.13,0.03,0,'ddy') color0000ff;
drawtext_fix(currbarscount=1,0.23,0.03,0,'ddz') color0000ff;
drawtext_fix(currbarscount=1 and(ddx)>=0,0.03,0.25,0,strcat(strcat(' ',con2str(ddx,2)),' ')),color0000ff;{数据}
drawtext_fix(currbarscount=1 and(ddx)<0,0.02,0.25,0,strcat(strcat(' ',con2str(ddx,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddy)>=0,0.13,0.25,0,strcat(strcat(' ',con2str(ddy,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddy)<0,0.12,0.25,0,strcat(strcat(' ',con2str(ddy,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddz)>=0,0.23,0.25,0,strcat(strcat(' ',con2str(ddz,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddz)<0,0.22,0.25,0,strcat(strcat(' ',con2str(ddz,2)),' ')),color00ff00;
特大单:=(l2_amo(0,2)/10000.0)+(-l2_amo(0,3)/10000.0);
大单:=(l2_amo(1,2)/10000.0)+(-l2_amo(1,3)/10000.0);
中单:=(l2_amo(2,2)/10000.0)+(-l2_amo(2,3)/10000.0);
小单:=(l2_amo(3,2)/10000.0)+(-l2_amo(3,3)/10000.0);
drawtext_fix(currbarscount=1,0.32,0.03,0,'特大单') color0000ff;
drawtext_fix(currbarscount=1,0.43,0.03,0,'大单') color0000ff;
drawtext_fix(currbarscount=1,0.53,0.03,0,'中单') color0000ff;
drawtext_fix(currbarscount=1,0.63,0.03,0,'小单') color0000ff;
drawtext_fix(currbarscount=1 and(特大单)>=0,0.33,0.25,0,strcat(strcat(' ',con2str(特大单,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(特大单)<0,0.32,0.25,0,strcat(strcat(' ',con2str(特大单,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(大单)>=0,0.43,0.25,0,strcat(strcat(' ',con2str(大单,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(大单)<0,0.42,0.25,0,strcat(strcat(' ',con2str(大单,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(中单)>=0,0.53,0.25,0,strcat(strcat(' ',con2str(中单,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(中单)<0,0.52,0.25,0,strcat(strcat(' ',con2str(中单,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(小单)>=0,0.63,0.25,0,strcat(strcat(' ',con2str(小单,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(小单)<0,0.62,0.25,0,strcat(strcat(' ',con2str(小单,1)),' ')),color00ff00;
主力力度:=abs(largeintrdvol*100/vol)-abs(largeouttrdvol*100/vol),nodraw;
主动率:=(actinvol-actoutvol)/(actinvol+actoutvol)*100 ;
bbd:=(largetrdinnum-largetrdoutnum);{}
drawtext_fix(1,0.715,0.03,0,strcat('主力力度',' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主力力度)>=0,0.73,0.25,0,strcat(strcat(' ',con2str(主力力度,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主力力度)<0,0.72,0.25,0,strcat(strcat(' ',con2str(主力力度,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1,0.81,0.03,0,strcat('主动率','%% ')),color0000ff;
drawtext_fix(currbarscount=1 and(主动率)>=0,0.83,0.25,0,strcat(strcat(' ',con2str(主动率,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主动率)<0,0.82,0.25,0,strcat(strcat(' ',con2str(主动率,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1,0.93,0.03,0,strcat('bbd',' ')),color0000ff;
drawtext_fix(currbarscount=1 and(bbd)>=0,0.94,0.25,0,strcat(strcat(' ',con2str(bbd,0)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(bbd)<0,0.93,0.25,0,strcat(strcat(' ',con2str(bbd,0)),' ')),color00ff00;
特大单3:=sum(特大单,3);
特大单5:=sum(特大单,5);
特大单10:=sum(特大单,10);
大单3:=sum(大单,3);
大单5:=sum(大单,5);
大单10:=sum(大单,10);
中单3:=sum(中单,3);
中单5:=sum(中单,5);
中单10:=sum(中单,10);
小单3:=sum(小单,3);
小单5:=sum(小单,5);
小单10:=sum(小单,10);
drawtext_fix(currbarscount=1 and(特大单3)>=0,0.33,0.45,0,strcat(strcat(' ',con2str(特大单3,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(特大单3)<0,0.32,0.45,0,strcat(strcat(' ',con2str(特大单3,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(大单3)>=0,0.43,0.45,0,strcat(strcat(' ',con2str(大单3,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(大单3)<0,0.42,0.45,0,strcat(strcat(' ',con2str(大单3,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(中单3)>=0,0.53,0.45,0,strcat(strcat(' ',con2str(中单3,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(中单3)<0,0.52,0.45,0,strcat(strcat(' ',con2str(中单3,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(小单3)>=0,0.63,0.45,0,strcat(strcat(' ',con2str(小单3,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(小单3)<0,0.62,0.45,0,strcat(strcat(' ',con2str(小单3,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(特大单5)>=0,0.33,0.65,0,strcat(strcat(' ',con2str(特大单5,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(特大单5)<0,0.32,0.65,0,strcat(strcat(' ',con2str(特大单5,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(大单5)>=0,0.43,0.65,0,strcat(strcat(' ',con2str(大单5,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(大单5)<0,0.42,0.65,0,strcat(strcat(' ',con2str(大单5,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(中单5)>=0,0.53,0.65,0,strcat(strcat(' ',con2str(中单5,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(中单5)<0,0.52,0.65,0,strcat(strcat(' ',con2str(中单5,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(小单5)>=0,0.63,0.65,0,strcat(strcat(' ',con2str(小单5,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(小单5)<0,0.62,0.65,0,strcat(strcat(' ',con2str(小单5,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(特大单10)>=0,0.33,0.85,0,strcat(strcat(' ',con2str(特大单10,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(特大单10)<0,0.32,0.85,0,strcat(strcat(' ',con2str(特大单10,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(大单10)>=0,0.43,0.85,0,strcat(strcat(' ',con2str(大单10,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(大单10)<0,0.42,0.85,0,strcat(strcat(' ',con2str(大单10,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(中单10)>=0,0.53,0.85,0,strcat(strcat(' ',con2str(中单10,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(中单10)<0,0.52,0.85,0,strcat(strcat(' ',con2str(中单10,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(小单10)>=0,0.63,0.85,0,strcat(strcat(' ',con2str(小单10,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(小单10)<0,0.62,0.85,0,strcat(strcat(' ',con2str(小单10,1)),' ')),color00ff00;
主力力度3:=sum(主力力度,3);
主动率3:=sum(主动率,3) ;
bbd3:=sum(bbd,3);
主力力度5:=sum(主力力度,5);
主动率5:=sum(主动率,5) ;
bbd5:=sum(bbd,5);
主力力度10:=sum(主力力度,10);
主动率10:=sum(主动率,10) ;
bbd10:=sum(bbd,10);
drawtext_fix(currbarscount=1 and(主力力度3)>=0,0.73,0.45,0,strcat(strcat(' ',con2str(主力力度3,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主力力度3)<0,0.72,0.45,0,strcat(strcat(' ',con2str(主力力度3,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(主力力度5)>=0,0.73,0.65,0,strcat(strcat(' ',con2str(主力力度5,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主力力度5)<0,0.72,0.65,0,strcat(strcat(' ',con2str(主力力度5,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(主力力度10)>=0,0.73,0.85,0,strcat(strcat(' ',con2str(主力力度10,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主力力度10)<0,0.72,0.85,0,strcat(strcat(' ',con2str(主力力度10,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(主动率3)>=0,0.83,0.45,0,strcat(strcat(' ',con2str(主动率3,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主动率3)<0,0.82,0.45,0,strcat(strcat(' ',con2str(主动率3,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(主动率5)>=0,0.83,0.65,0,strcat(strcat(' ',con2str(主动率5,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主动率5)<0,0.82,0.65,0,strcat(strcat(' ',con2str(主动率5,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(主动率10)>=0,0.83,0.85,0,strcat(strcat(' ',con2str(主动率10,1)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(主动率10)<0,0.82,0.85,0,strcat(strcat(' ',con2str(主动率10,1)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(bbd3)>=0,0.94,0.45,0,strcat(strcat(' ',con2str(bbd3,0)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(bbd3)<0,0.93,0.45,0,strcat(strcat(' ',con2str(bbd3,0)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(bbd5)>=0,0.94,0.65,0,strcat(strcat(' ',con2str(bbd5,0)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(bbd5)<0,0.93,0.65,0,strcat(strcat(' ',con2str(bbd5,0)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(bbd10)>=0,0.94,0.85,0,strcat(strcat(' ',con2str(bbd10,0)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(bbd10)<0,0.93,0.85,0,strcat(strcat(' ',con2str(bbd10,0)),' ')),color00ff00;
ddx3:=sum(ddx,3);
ddy3:=sum(ddy,3);
ddz3:=sum(ddz,3);
ddx5:=sum(ddx,5);
ddy5:=sum(ddy,5)
;ddz5:=sum(ddz,5);
ddx10:=sum(ddx,10);
ddy10:=sum(ddy,10);
ddz10:=sum(ddz,10);
drawtext_fix(currbarscount=1 and(ddx3)>=0,0.03,0.45,0,strcat(strcat(' ',con2str(ddx3,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddx3)<0,0.02,0.45,0,strcat(strcat(' ',con2str(ddx3,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddy3)>=0,0.13,0.45,0,strcat(strcat(' ',con2str(ddy3,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddy3)<0,0.12,0.45,0,strcat(strcat(' ',con2str(ddy3,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddz3)>=0,0.23,0.45,0,strcat(strcat(' ',con2str(ddz3,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddz3)<0,0.22,0.45,0,strcat(strcat(' ',con2str(ddz3,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddx5)>=0,0.03,0.65,0,strcat(strcat(' ',con2str(ddx5,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddx5)<0,0.02,0.65,0,strcat(strcat(' ',con2str(ddx5,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddy5)>=0,0.13,0.65,0,strcat(strcat(' ',con2str(ddy5,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddy5)<0,0.12,0.65,0,strcat(strcat(' ',con2str(ddy5,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddz5)>=0,0.23,0.65,0,strcat(strcat(' ',con2str(ddz5,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddz5)<0,0.22,0.65,0,strcat(strcat(' ',con2str(ddz5,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddx10)>=0,0.03,0.85,0,strcat(strcat(' ',con2str(ddx10,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddx10)<0,0.02,0.85,0,strcat(strcat(' ',con2str(ddx10,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddy10)>=0,0.13,0.85,0,strcat(strcat(' ',con2str(ddy10,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddy10)<0,0.12,0.85,0,strcat(strcat(' ',con2str(ddy10,2)),' ')),color00ff00;
drawtext_fix(currbarscount=1 and(ddz10)>=0,0.23,0.85,0,strcat(strcat(' ',con2str(ddz10,2)),' ')),color0000ff;
drawtext_fix(currbarscount=1 and(ddz10)<0,0.22,0.85,0,strcat(strcat(' ',con2str(ddz10,2)),' ')),color00ff00;
上一指标公式:平台启动主图 通达信启动
下一指标公式:多空逐鹿 通达信逐鹿
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文资金统计 通达信资金仅供学习研究。