大智慧股票公式之资金统计(2)
{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;
{数据}
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;
{十字光标提示}
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*>'+' 今日无交易或无数据');
DRAWTEXTABS(455,0,'超大资金'),COLORYELLOW;
{DRAWTEXTREL(600,930,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFAA00;}
DRAWTEXTABS(500,0,'《QQ:512764231-原创》'),COLOR0000FF;
(南方财富网SOUTHMONEY.COM)
延伸阅读
|
要闻导读
|
||||||||||
|