通达信多日资金流表格改版(源码、副图贴图)

2016-10-24 09:58:00来源:本站整理浏览:737

{个股DDX}
主力购买力度:ABS(LARGEINTRDVOL*100/VOL)-ABS(LARGEOUTTRDVOL*100/VOL),NODRAW;

DRAWRECTREL(0,0,998,998,RGB(323,125,175));
DRAWRECTREL(100,0,900,998,RGB(0,0,10));
DRAWRECTREL(200,0,800,998,RGB(0,0,10));
DRAWRECTREL(300,0,700,998,RGB(0,0,10));
DRAWRECTREL(400,0,600,998,RGB(0,0,10));
DRAWRECTREL(500,0,500,998,RGB(255,255,0));

DRAWRECTREL(0,100,998,100,RGB(300,100,210));
DRAWRECTREL(0,250,998,250,RGB(300,100,210));
DRAWRECTREL(0,400,998,400,RGB(300,100,210));
DRAWRECTREL(0,550,998,550,RGB(300,100,210));
DRAWRECTREL(0,700,998,700,RGB(300,100,210));
DRAWRECTREL(0,850,998,850,RGB(300,100,210));


超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;
特大单:=(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);
净流入1:=(超B+大B+中B+小B)-(超S+大S+中S+小S);
机构净流:=ABS((超B+大B)-(超S+大S));
机构:=ABS(特大单+大单);
机构1:=(超B+大B)-(超S+大S);
散户:=ABS(中单+小单);
净流入:=ABS(特大单+大单+中单+小单);
总额:=ABS(超B+大B+中B+小B)+(超S+大S+中S+小S);
特大比:=(特大单*100)/总额;
大比:=(大单*100)/总额;
中比:=(中单*100)/总额;
小比:=(小单*100)/总额;
机构比:=(机构*100)/总额;
散户比:=(散户*100)/总额;
净流比:=(净流入*100)/总额;
净流比1:=(净流入1*100)/总额;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.03,0,'资金博弈') COLOR00FF80;{项目};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.16,0,'当日') COLOR00FFFF;{项目};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.31,0,'三日') COLOR00FFFF;{项目};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.46,0,'五日') COLOR00FFFF;{项目};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.61,0,'十日') COLOR00FFFF;{项目};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.76,0,'二十日') COLOR00FFFF;{项目};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.03,0.91,0,'六十日') COLOR00FFFF;{项目};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.11,0.03,0,'超大单(万元) 占比') COLORFF8080;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.21,0.03,0,'大单(万元) 占比') COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.31,0.03,0,'中单(万元) 占比') COLOR00FFFF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.41,0.03,0,'小单(万元) 占比') COLOR4080FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.50,0.03,0,'机构净流(万元) 占比') COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.61,0.03,0,'散户净流(万元) 占比') COLORFFFFFF;
DRAWTEXT_FIX(1,0.71,0.03,0,STRCAT('净流入额(万元)',' 占比')),COLORFF80FF;


DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单)>=0,0.13,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单,1),' '),CON2STR(特大比,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单)<0,0.12,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单,1),' '),CON2STR(特大比,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)>=0,0.23,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(大单,1),' '),CON2STR(大比,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单)<0,0.22,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(大单,1),' '),CON2STR(大比,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单)>=0,0.33,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(中单,1),' '),CON2STR(中比,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单)<0,0.32,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(中单,1),' '),CON2STR(中比,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单)>=0,0.43,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(小单,1),' '),CON2STR(小比,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单)<0,0.42,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(小单,1),' '),CON2STR(小比,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构1)>=0,0.53,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(机构1,1),' '),CON2STR(机构比,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构1)<0,0.52,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(机构1,1),' '),CON2STR(机构比,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户)>=0,0.63,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(散户,1),' '),CON2STR(散户比,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户)<0,0.62,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(散户,1),' '),CON2STR(散户比,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入1)>=0,0.73,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入1,1),' '),CON2STR(净流比1,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入1)<0,0.72,0.15,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入1,1),' '),CON2STR(净流比1,0)),'%')),COLOR00FF00;


总额3:=SUM((超B+大B+中B+小B)+(超S+大S+中S+小S),3);
总额5:=SUM((超B+大B+中B+小B)+(超S+大S+中S+小S),5);
总额10:=SUM((超B+大B+中B+小B)+(超S+大S+中S+小S),10);
总额20:=SUM((超B+大B+中B+小B)+(超S+大S+中S+小S),20);
总额60:=SUM((超B+大B+中B+小B)+(超S+大S+中S+小S),60);

特大单3:=SUM(特大单,3);

[1] [2] [3] [4]  下一页

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式