大智慧分时分段主力资金公式
-
相关简介:大智慧分时分段主力资金公式 {分时资金} 成交额:=AMOUNT/10000000; 成交量:=VOL/10000; DRAWTEXTREL(250,30,'各时段(万元)'),COLORFF9933,LINETHICK4; DRAWTEXTREL(650,30,''+STKNAME+'('+STKLABEL+')'),COLOR0066FF,LINETHICK4; DRAWTEXTREL(20,200,'成交额'),COLORFF00FF,LINETHICK2; DRAWTEXTREL(20,
-
文章来源:股海网作者:股海网发布时间:2015-05-15浏览次数:
大智慧分时分段主力资金公式
{分时资金}
成交额:=AMOUNT/10000000;
成交量:=VOL/10000;
DRAWTEXTREL(250,30,'各时段(万元)'),COLORFF9933,LINETHICK4;
DRAWTEXTREL(650,30,''+STKNAME+'('+STKLABEL+')'),COLOR0066FF,LINETHICK4;
DRAWTEXTREL(20,200,'成交额'),COLORFF00FF,LINETHICK2;
DRAWTEXTREL(20,340,'成交量'),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(150,200,'9:30-10:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(245,200,'10:00-10:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(340,200,'10:30-11:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(435,200,'11:00-11:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(530,200,'13:00-13:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(625,200,'13:30-14:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(720,200,'14:00-14:30'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(815,200,'14:30-15:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(910,200,'总 额'),COLORFFFFFF,LINETHICK2;
{10点}
ZL10D:=REF(成交额,BARSLAST(TIME<=100000));
TD10D:=REF(成交量,BARSLAST(TIME<=100000));
DRAWTEXTREL(150,340,STRRIGHT(NUMTOSTRN(ZL10D,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(150,480,STRRIGHT(NUMTOSTRN(TD10D,2),9)),COLOR0000FF,LINETHICK2;
{10点半}
ZL10DB:=REF(成交额,BARSLAST(TIME>100000 AND TIME<=103000));
TD10DB:=REF(成交量,BARSLAST(TIME>100000 AND TIME<=103000));
DRAWTEXTREL(245,340,STRRIGHT(NUMTOSTRN(ZL10DB-ZL10D,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(245,480,STRRIGHT(NUMTOSTRN(TD10DB-TD10D,2),9)),COLOR0000FF,LINETHICK2;
{11点}
ZL11D:=REF(成交额,BARSLAST(TIME>103000 AND TIME<=110000));
TD11D:=REF(成交量,BARSLAST(TIME>103000 AND TIME<=110000));
DRAWTEXTREL(340,340,STRRIGHT(NUMTOSTRN(ZL11D-ZL10DB,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(340,480,STRRIGHT(NUMTOSTRN(TD11D-TD10DB,2),9)),COLOR0000FF,LINETHICK2;
{11点半}
ZL11DB:=REF(成交额,BARSLAST(TIME>110000 AND TIME<=113000));
TD11DB:=REF(成交量,BARSLAST(TIME>110000 AND TIME<=113000));
DRAWTEXTREL(435,340,STRRIGHT(NUMTOSTRN(ZL11DB-ZL11D,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(435,480,STRRIGHT(NUMTOSTRN(TD11DB-TD11D,2),9)),COLOR0000FF,LINETHICK2;
{13点半}
ZL13DB:=REF(成交额,BARSLAST(TIME>130000 AND TIME<=133000));
TD13DB:=REF(成交量,BARSLAST(TIME>130000 AND TIME<=133000));
DRAWTEXTREL(530,340,STRRIGHT(NUMTOSTRN(ZL13DB-ZL11DB,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(530,480,STRRIGHT(NUMTOSTRN(TD13DB-TD11DB,2),10)),COLOR0000FF,LINETHICK2;
{14点}
ZL14D:=REF(成交额,BARSLAST(TIME>133000 AND TIME<=140000));
TD14D:=REF(成交量,BARSLAST(TIME>133000 AND TIME<=140000));
DRAWTEXTREL(625,340,STRRIGHT(NUMTOSTRN(ZL14D-ZL13DB,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(625,480,STRRIGHT(NUMTOSTRN(TD14D-TD13DB,2),10)),COLOR0000FF,LINETHICK2;
{14点半}
ZL14DB:=REF(成交额,BARSLAST(TIME>140000 AND TIME<=143000));
TD14DB:=REF(成交量,BARSLAST(TIME>140000 AND TIME<=143000));
DRAWTEXTREL(720,340,STRRIGHT(NUMTOSTRN(ZL14DB-ZL14D,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(720,480,STRRIGHT(NUMTOSTRN(TD14DB-TD14D,2),10)),COLOR0000FF,LINETHICK2;
{15点}
ZL15D:=REF(成交额,BARSLAST(TIME>143000 AND TIME<=150000));
TD15D:=REF(成交量,BARSLAST(TIME>143000 AND TIME<=150000));
DRAWTEXTREL(815,340,STRRIGHT(NUMTOSTRN(ZL15D-ZL14DB,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(815,480,STRRIGHT(NUMTOSTRN(TD15D-TD14DB,2),10)),COLOR0000FF,LINETHICK2;
{总额}
DRAWTEXTREL(910,340,STRRIGHT(NUMTOSTRN(成交额,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(910,480,STRRIGHT(NUMTOSTRN(成交量,2),10)),COLOR0000FF,LINETHICK2;