多日资金流改版指标 通达信公式(附图)

[复制链接]
查看146 | 回复0 | 2021-8-20 20:59:06 | 显示全部楼层 |阅读模式

{个股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);
特大单5:=SUM(特大单,5);
特大单10:=SUM(特大单,10);
特大单20:=SUM(特大单,20);
特大单60:=SUM(特大单,60);
特大3占:=(特大单3*100)/总额3;
特大5占:=(特大单5*100)/总额5;
特大10占:=(特大单10*100)/总额10;
特大20占:=(特大单20*100)/总额20;
特大60占:=(特大单60*100)/总额60;
大单3:=SUM(大单,3);
大单5:=SUM(大单,5);
大单10:=SUM(大单,10);
大单20:=SUM(大单,20);
大单60:=SUM(大单,60);
大单3占:=(大单3*100)/总额3;
大单5占:=(大单5*100)/总额5;
大单10占:=(大单10*100)/总额10;
大单20占:=(大单20*100)/总额20;
大单60占:=(大单60*100)/总额60;
中单3:=SUM(中单,3);
中单5:=SUM(中单,5);
中单10:=SUM(中单,10);
中单20:=SUM(中单,20);
中单60:=SUM(中单,60);
中单3占:=(中单3*100)/总额3;
中单5占:=(中单5*100)/总额5;
中单10占:=(中单10*100)/总额10;
中单20占:=(中单20*100)/总额20;
中单60占:=(中单60*100)/总额60;
小单3:=SUM(小单,3);
小单5:=SUM(小单,5);
小单10:=SUM(小单,10);
小单20:=SUM(小单,20);
小单60:=SUM(小单,60);
小单3占:=(小单3*100)/总额3;
小单5占:=(小单5*100)/总额5;
小单10占:=(小单10*100)/总额10;
小单20占:=(小单20*100)/总额20;
小单60占:=(小单60*100)/总额60;
机构3:=特大单3+大单3;
机构5:=特大单5+大单5;
机构10:=特大单10+大单10;
机构20:=特大单20+大单20;
机构60:=特大单60+大单60;
机构3占:=(机构3*100)/总额3;
机构5占:=(机构5*100)/总额5;
机构10占:=(机构10*100)/总额10;
机构20占:=(机构20*100)/总额20;
机构60占:=(机构60*100)/总额60;
散户3:=中单3+小单3;
散户5:=中单5+小单5;
散户10:=中单10+小单10;
散户20:=中单20+小单20;
散户60:=中单60+小单60;
散户3占:=(散户3*100)/总额3;
散户5占:=(散户5*100)/总额5;
散户10占:=(散户10*100)/总额10;
散户20占:=(散户20*100)/总额20;
散户60占:=(散户60*100)/总额60;
净流入3:=特大单3+大单3+中单3+小单3;
净流入5:=特大单5+大单5+中单5+小单5;
净流入10:=特大单10+大单10+中单10+小单10;
净流入20:=特大单20+大单20+中单20+小单20;
净流入60:=特大单60+大单60+中单60+小单60;
净流入3占:=(净流入3*100)/总额3;
净流入5占:=(净流入5*100)/总额5;
净流入10占:=(净流入10*100)/总额10;
净流入20占:=(净流入20*100)/总额20;
净流入60占:=(净流入60*100)/总额60;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单3)>=0,0.13,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单3,1),' '),CON2STR(特大3占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单3)<0,0.12,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单3,1),' '),CON2STR(特大3占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单3)>=0,0.23,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(大单3,1),' '),CON2STR(大单3占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单3)<0,0.22,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(大单3,1),' '),CON2STR(大单3占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单3)>=0,0.33,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(中单3,1),' '),CON2STR(中单3占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单3)<0,0.32,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(中单3,1),' '),CON2STR(中单3占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单3)>=0,0.43,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(小单3,1),' '),CON2STR(小单3占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单3)<0,0.42,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(小单3,1),' '),CON2STR(小单3占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构3)>=0,0.53,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(机构3,1),' '),CON2STR(机构3占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构3)<0,0.52,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(机构3,1),' '),CON2STR(机构3占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户3)>=0,0.63,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(散户3,1),' '),CON2STR(散户3占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户3)<0,0.62,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(散户3,1),' '),CON2STR(散户3占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入3)>=0,0.73,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入3,1),' '),CON2STR(净流入3占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入3)<0,0.72,0.31,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入3,1),' '),CON2STR(净流入3占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单5)>=0,0.13,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单5,1),' '),CON2STR(特大5占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单5)<0,0.12,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单5,1),' '),CON2STR(特大5占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单5)>=0,0.23,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(大单5,1),' '),CON2STR(大单5占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单5)<0,0.22,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(大单5,1),' '),CON2STR(大单5占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单5)>=0,0.33,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(中单5,1),' '),CON2STR(中单5占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单5)<0,0.32,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(中单5,1),' '),CON2STR(中单5占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单5)>=0,0.43,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(小单5,1),' '),CON2STR(小单5占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单5)<0,0.42,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(小单5,1),' '),CON2STR(小单5占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构5)>=0,0.53,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(机构5,1),' '),CON2STR(机构5占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构5)<0,0.52,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(机构5,1),' '),CON2STR(机构5占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户5)>=0,0.63,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(散户5,1),' '),CON2STR(散户5占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户5)<0,0.62,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(散户5,1),' '),CON2STR(散户5占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入5)>=0,0.73,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入5,1),' '),CON2STR(净流入5占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入5)<0,0.72,0.46,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入5,1),' '),CON2STR(净流入5占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单10)>=0,0.13,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单10,1),' '),CON2STR(特大10占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单10)<0,0.12,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单10,1),' '),CON2STR(特大10占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单10)>=0,0.23,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(大单10,1),' '),CON2STR(大单10占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单10)<0,0.22,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(大单10,1),' '),CON2STR(大单10占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单10)>=0,0.33,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(中单10,1),' '),CON2STR(中单10占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单10)<0,0.32,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(中单10,1),' '),CON2STR(中单10占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单10)>=0,0.43,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(小单10,1),' '),CON2STR(小单10占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单10)<0,0.42,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(小单10,1),' '),CON2STR(小单10占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构10)>=0,0.53,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(机构10,1),' '),CON2STR(机构10占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构10)<0,0.52,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(机构10,1),' '),CON2STR(机构10占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户10)>=0,0.63,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(散户10,1),' '),CON2STR(散户10占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户10)<0,0.62,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(散户10,1),' '),CON2STR(散户10占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入10)>=0,0.73,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入10,1),' '),CON2STR(净流入10占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入10)<0,0.72,0.61,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入10,1),' '),CON2STR(净流入10占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单20)>=0,0.13,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单20,1),' '),CON2STR(特大20占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(特大单20)<0,0.12,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(特大单20,1),' '),CON2STR(特大20占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单20)>=0,0.23,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(大单20,1),' '),CON2STR(大单20占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(大单20)<0,0.22,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(大单20,1),' '),CON2STR(大单20占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单20)>=0,0.33,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(中单20,1),' '),CON2STR(中单20占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(中单20)<0,0.32,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(中单20,1),' '),CON2STR(中单20占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单20)>=0,0.43,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(小单20,1),' '),CON2STR(小单20占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(小单20)<0,0.42,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(小单20,1),' '),CON2STR(小单20占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构20)>=0,0.53,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(机构20,1),' '),CON2STR(机构20占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(机构20)<0,0.52,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(机构20,1),' '),CON2STR(机构20占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户20)>=0,0.63,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(散户20,1),' '),CON2STR(散户20占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(散户20)<0,0.62,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(散户20,1),' '),CON2STR(散户20占,0)),'%')),COLOR00FF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入20)>=0,0.73,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入20,1),' '),CON2STR(净流入20占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入20)<0,0.72,0.76,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入20,1),' '),CON2STR(净流入20占,0)),'%')),COLOR00FF00;
CJZJWSW1:=STRCAT(CON2STR(特大单60,2),' ');
CJZJWSW2:=STRCAT(CON2STR((100*特大单60)/总额60,0),'% ');
CJZJWSW3:=STRCAT(CON2STR(大单60,2),' ' );
CJZJWSW4:=STRCAT(CON2STR((100*大单60)/总额60,0),'% ');
CJZJWSW5:=STRCAT(CON2STR(中单60,2),' ');
CJZJWSW6:=STRCAT(CON2STR((100*中单60)/总额60,0),'% ');
CJZJWSW7:=STRCAT(CON2STR(小单60,2),' ');
CJZJWSW8:=STRCAT(CON2STR((100*小单60)/总额60,0),'% ');
CJZJWSW9:=STRCAT(CON2STR(机构60,2),' ');
CJZJWSW10:=STRCAT(CON2STR((100*机构60)/总额60,0),'% ');
CJZJWSW11:=STRCAT(CON2STR(散户60,2),'万元 ');
CJZJWSW12:=STRCAT(CON2STR((100*散户60)/总额60,0),'% ');
六十日结果:=STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(CJZJWSW1,CJZJWSW2),CJZJWSW3),CJZJWSW4),CJZJWSW5),CJZJWSW6),CJZJWSW7),CJZJWSW8),CJZJWSW9),CJZJWSW10),CJZJWSW11),CJZJWSW12);
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 六十日结果>0,0.13,0.91,0,六十日结果),COLORFFFF00;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入60)>=0,0.73,0.91,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入60,1),' '),CON2STR(净流入60占,0)),'%')),COLOR0000FF;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND(净流入60)<0,0.72,0.91,0,STRCAT(STRCAT(STRCAT(CON2STR(净流入60,1),' '),CON2STR(净流入60占,0)),'%')),COLOR00FF00;

14O1RR0450-22412.jpg

14O1RR0450-22412.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则