{53}
DRAWRECTABS(0,15,50,50,282416),COLOR0000C0;
DRAWRECTABS(50,15,150,50,32896),COLOR0000C0;
DRAWRECTABS(150,15,200,50,21446),COLOR0000C0;
DRAWRECTABS(200,15,250,30,32896),COLOR0000C0;
DRAWRECTABS(250,15,300,30,32896),COLOR0000C0;
DRAWRECTABS(300,15,350,30,32896),COLOR0000C0;
DRAWRECTABS(350,15,400,30,32896),COLOR0000C0;
DRAWRECTABS(400,15,450,30,32896),COLOR0000C0;
{63}
DRAWRECTABS(200,30,250,50,IF(凈額>0 ,21446 ,282416 )),COLOR0000C0;
DRAWRECTABS(250,30,300,50,IF(二日>0 ,21446 ,282416 )),COLOR0000C0;
DRAWRECTABS(300,30,350,50,IF(三日>0 ,21446 ,282416 )),COLOR0000C0;
DRAWRECTABS(350,30,400,50,IF(四日>0 ,21446 ,282416 )),COLOR0000C0;
DRAWRECTABS(400,30,450,50,IF(五日>0 ,21446 ,282416 )),COLOR0000C0;
{文字}
DRAWTEXTABS(10,2,'超大流出(萬元)'),COLOR39FFFF;
DRAWTEXTABS(110,2,'超大流入(萬元)'),COLOR39FFFF;
DRAWTEXTABS(200,2,' 今天凈 '),COLOR39FFFF;
DRAWTEXTABS(250,2,'二日總凈 '),COLOR39FFFF;
DRAWTEXTABS(300,2,'三日總凈 '),COLOR39FFFF;
DRAWTEXTABS(350,2,'四日總凈 '),COLOR39FFFF;
DRAWTEXTABS(400,2,'五日總凈 '),COLOR39FFFF;
{數(shù)據(jù)}
DRAWTEXTABS(1,22,NUMTOSTRN(流出,2)),COLOR39FFFF;
DRAWTEXTABS(1,33,NUMTOSTRN(100*特單賣/總賣,1)+'%'),COLORFFFFFF;
DRAWTEXTABS(150,22,NUMTOSTRN(流入,2)),COLOR39FFFF;
DRAWTEXTABS(150,33,NUMTOSTRN(100*特單買/總買,1)+'%'),COLORFFFFFF;
DRAWTEXTABS(200,30,NUMTOSTRN(凈額,1)),COLOR39FFFF;
DRAWTEXTABS(200,40,NUMTOSTRN(100*sum(凈值,1),1)+'%'),COLORFFFFFF;
DRAWTEXTABS(250,30,NUMTOSTRN(二日,1)),COLOR39FFFF;
DRAWTEXTABS(250,40,NUMTOSTRN(100*sum(凈值,2),1)+'%'),COLORFFFFFF;
DRAWTEXTABS(300,30,NUMTOSTRN(三日,1)),COLOR39FFFF;
DRAWTEXTABS(300,40,NUMTOSTRN(100*sum(凈值,3),1)+'%'),COLORFFFFFF;
DRAWTEXTABS(350,30,NUMTOSTRN(四日,1)),COLOR39FFFF;
DRAWTEXTABS(350,40,NUMTOSTRN(100*sum(凈值,4),1)+'%'),COLORFFFFFF;
DRAWTEXTABS(400,30,NUMTOSTRN(五日,1)),COLOR39FFFF;
DRAWTEXTABS(400,40,NUMTOSTRN(100*sum(凈值,5),1)+'%'),COLORFFFFFF;
{今日橫柱圖}
最大值:=MAX(主單買,主單賣,特單買,特單賣,大單買,大單賣,中單買,中單賣,散單買,散單賣);
最大凈:=MAX(ABS(sum(凈值,1)),ABS(sum(凈值,2)),ABS(sum(凈值,3)),ABS(sum(凈值,4)),ABS(sum(凈值,5)));
{87}
DRAWRECTABS(100,24,100-50*特單賣/最大值,41,26112),COLOR006600;
DRAWRECTABS(100,24,100+50*特單買/最大值,41,135),COLOR000087;
DRAWRECTABS(100,26,100-50*特單賣/最大值,39,32008),COLOR007D08;
DRAWRECTABS(100,26,100+50*特單買/最大值,39,177),COLOR0000B1;
DRAWRECTABS(100,28,100-50*特單賣/最大值,37,39946),COLOR009C0A;
DRAWRECTABS(100,28,100+50*特單買/最大值,37,208),COLOR0000D0;
DRAWRECTABS(100,31,100-50*特單賣/最大值,34,47884),COLOR00BB0C;
DRAWRECTABS(100,31,100+50*特單買/最大值,34,255),COLOR0000FF;
{各日橫柱圖}
DRAWRECTABS(225,17,225+25*sum(凈值,1)/最大凈,28,IF(sum(凈值,1)>0 ,177 ,32008 )),COLOR00FFFF;
DRAWRECTABS(275,17,275+25*sum(凈值,2)/最大凈,28,IF(sum(凈值,2)>0 ,177 ,32008 )),COLOR00FFFF;
DRAWRECTABS(325,17,325+25*sum(凈值,3)/最大凈,28,IF(sum(凈值,3)>0 ,177 ,32008 )),COLOR00FFFF;
DRAWRECTABS(375,17,375+25*sum(凈值,4)/最大凈,28,IF(sum(凈值,4)>0 ,177 ,32008 )),COLOR00FFFF;
DRAWRECTABS(425,17,425+25*sum(凈值,5)/最大凈,28,IF(sum(凈值,5)>0 ,177 ,32008 )),COLOR00FFFF;
{十字光標(biāo)提示}
DRAWFLAGTEXT(凈額>0,0,'<*t=FFFF80*><*c=0000FF*><*p=95*>'+datestr(date)+' 超大資金'+'\n'+'<*t=95FFFF*><*c=0000FF*><*p=95*>'+'流入'+NUMTOSTRN(流入,2)+'萬元'+' 占比'+NUMTOSTRN(100*特單買/總買,1)+'%'+'\n'+'<*t=80FF80*><*c=408000*><*p=95*>'+'流出'+NUMTOSTRN(流出,2)+'萬元'+' 占比'+NUMTOSTRN(100*特單賣/總賣,1)+'%'+'\n'+'<*t=0000FF*><*c=FFFFFF*><*p=95*>'+'凈流入'+NUMTOSTRN(凈額,2)+'萬元'+' 占'+NUMTOSTRN(100*sum(凈值,1),1)+'%');
DRAWFLAGTEXT(凈額<0,0,'<*t=FFFF80*><*c=0000FF*><*p=95*>'+datestr(date)+' 超大資金'+'\n'+'<*t=95FFFF*><*c=0000FF*><*p=95*>'+'流入'+NUMTOSTRN(流入,2)+'萬元'+' 占比'+NUMTOSTRN(100*特單買/總買,1)+'%'+'\n'+'<*t=80FF80*><*c=408000*><*p=95*>'+'流出'+NUMTOSTRN(流出,2)+'萬元'+' 占比'+NUMTOSTRN(100*特單賣/總賣,1)+'%'+'\n'+'<*t=008000*><*c=FFFFFF*><*p=95*>'+'凈流入'+NUMTOSTRN(凈額,2)+'萬元'+' 占'+NUMTOSTRN(100*sum(凈值,1),1)+'%');
DRAWFLAGTEXT(凈額=0,0,'<*t=FFFF80*><*c=0000FF*><*p=95*>'+datestr(date)+' 超大資金'+'\n'+'<*t=E7FFFF*><*c=000000*><*p=95*>'+' 今日無交易或無數(shù)據(jù)');
DRAWTEXTABS(455,0,'超大資金'),COLORYELLOW;
{DRAWTEXTREL(600,930,'證券代碼: '+STKLABEL+' 證券名稱: '+STKNAME+''),ColorFFAA00;}
DRAWTEXTABS(500,0,'《QQ:512764231-原創(chuàng)》'),COLOR0000FF;
(南方財富網(wǎng)SOUTHMONEY.COM)