新游客分时分段指标(分时主图、源码、有图)
-
相关简介:★主力净:=(( DATA@dde 分时(6)+ DATA@dde 分时(4))-( DATA@dde 分时(7)+ DATA@dde 分时(5)))*SUM(AMOUNT,0)/10000; 特净:=( DATA@dde 分时(4)- DATA@dde 分时(5))*SUM(AMOUNT,0)/10000; 大净:=( DATA@dde 分时(6)- DATA@dde 分时(7))*SUM(AMOUNT,0)/10000; 中净:=((1-( DATA@dde 分时(8)+ DATA@dde
-
文章来源:股海网作者:股海网发布时间:2015-04-26浏览次数:
★主力净:=(("DATA@dde分时"(6)+"DATA@dde分时"(4))-("DATA@dde分时"(7)+"DATA@dde分时"(5)))*SUM(AMOUNT,0)/10000;
特净:=("DATA@dde分时"(4)-"DATA@dde分时"(5))*SUM(AMOUNT,0)/10000;
大净:=("DATA@dde分时"(6)-"DATA@dde分时"(7))*SUM(AMOUNT,0)/10000;
中净:=((1-("DATA@dde分时"(8)+"DATA@dde分时"(6)+"DATA@dde分时"(4)))-(1-("DATA@dde分时"(9)+"DATA@dde分时"(7)+"DATA@dde分时"(5))))*SUM(AMOUNT,0)/10000;
小净:=("DATA@dde分时"(8)-"DATA@dde分时"(9))*SUM(AMOUNT,0)/10000;
DRAWTEXTABS(0 ,145 ,'★主力净 '+★主力净),LINETHICK3,ColorFFFFFF;
DRAWTEXTABS(0 ,105 ,'小净 '+小净),LINETHICK3, ColorFFFF00 ;
DRAWTEXTABS(130 ,105 ,'中净 '+中净),LINETHICK3,ColorYellow;
DRAWTEXTABS(0 ,125 ,'大净 '+大净),LINETHICK3,COLOR1E90FF;
DRAWTEXTABS(130 ,125 ,'特净 '+特净),LINETHICK3,COLORcc00FF;
BBD1:="DATA@dde分时"(4)-"DATA@dde分时"(5)+"DATA@dde分时"(6)-"DATA@dde分时"(7);
★★DDX:=BBD1*SUM(VOL,0)/capital*100;
DRAWTEXTABS(0 ,165 ,'★★DDX'+★★DDX),LINETHICK3,ColorFFFFFF;
TODAY:="ddx.ddx"<>0;{判断是否有正版数据}
TODAY1:="xyk.ddx"<>0;{判断是否有新游客数据}
TDLR:=SUM((AMOUNT*"wd.特单买#day"/10000),0);
TDLC:=SUM((AMOUNT*"wd.特单卖#day"/10000),0);
特净额:TDLR-TDLC,COLOR0000ff,LINETHICK0,PRECIS2;
DDLR:=SUM((AMOUNT*"wd.大单买#day"/10000),0);
DDLC:=SUM((AMOUNT*"wd.大单卖#day"/10000),0);
大净额:DDLR-DDLC,COLOR1e90ff,LINETHICK0,PRECIS2;
ZDLR:=SUM((AMOUNT*"wd.中单买#day"/10000),0);
ZDLC:=SUM((AMOUNT*"wd.中单卖#day"/10000),0);
中净额:ZDLR-ZDLC,COLORff7f50,LINETHICK0,PRECIS2;
XDLR:=SUM((AMOUNT*"wd.散单买#day"/10000),0);
XDLC:=SUM((AMOUNT*"wd.散单卖#day"/10000),0);
散净额:XDLR-XDLC,COLOR00FF00,LINETHICK0,PRECIS2;
DRAWTEXTREL(600,30,''+STKNAME+'('+STKLABEL+')'),COLOR0066FF,LINETHICK4;
DRAWTEXTREL(900,30,IFS(TODAY,'正版数据',IFS(TODAY1,'新游客数据','雨杨数据'))),LINETHICK2,color00ffff;
DRAWTEXTREL(0,710,'分类'),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(0,750,'超大'),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(0,790,'大户'),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(70,710,'9:3-10:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(180,710,'10:00-10:3'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(300,710,'10:3-11:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(420,710,'11:00-11:3'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(540,710,'13:00-13:3'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(660,710,'13:3-14:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(780,710,'14:00-14:3'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(900,710,'14:3-15:00'),COLORFFFFFF,LINETHICK1;
DRAWTEXTREL(1020,710,'总净额'),COLORFFFFFF,LINETHICK2;
{10点}TD10D:=REF(特净额,BARSLAST(TIME<=100000));
DD10D:=REF(大净额,BARSLAST(TIME<=100000));
DRAWTEXTREL(70,750,STRRIGHT(NUMTOSTRN(TD10D,2),9)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(70,790,STRRIGHT(NUMTOSTRN(DD10D,2),9)),COLORFFFFFF,LINETHICK2;
{10点半}
TD10DB:=REF(特净额,BARSLAST(TIME>100000 AND TIME<=103000));
DD10DB:=REF(大净额,BARSLAST(TIME>100000 AND TIME<=103000));
DRAWTEXTREL(180,750,STRRIGHT(NUMTOSTRN(TD10DB-TD10D,2),9)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(180,790,STRRIGHT(NUMTOSTRN(DD10DB-DD10D,2),9)),COLORFFFFFF,LINETHICK2;
{11点}
TD11D:=REF(特净额,BARSLAST(TIME>103000 AND TIME<=110000));
DD11D:=REF(大净额,BARSLAST(TIME>103000 AND TIME<=110000));
DRAWTEXTREL(300,750,STRRIGHT(NUMTOSTRN(TD11D-TD10DB,2),9)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(300,790,STRRIGHT(NUMTOSTRN(DD11D-DD10DB,2),9)),COLORFFFFFF,LINETHICK2;
{11点半}
TD11DB:=REF(特净额,BARSLAST(TIME>110000 AND TIME<=113000));
DD11DB:=REF(大净额,BARSLAST(TIME>110000 AND TIME<=113000));
DRAWTEXTREL(420,750,STRRIGHT(NUMTOSTRN(TD11DB-TD11D,2),9)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(420,790,STRRIGHT(NUMTOSTRN(DD11DB-DD11D,2),9)),COLORFFFFFF,LINETHICK2;
{13点半}
TD13DB:=REF(特净额,BARSLAST(TIME>130000 AND TIME<=133000));
DD13DB:=REF(大净额,BARSLAST(TIME>130000 AND TIME<=133000));
DRAWTEXTREL(540,750,STRRIGHT(NUMTOSTRN(TD13DB-TD11DB,2),10)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(540,790,STRRIGHT(NUMTOSTRN(DD13DB-DD11DB,2),10)),COLORFFFFFF,LINETHICK2;
{14点}
TD14D:=REF(特净额,BARSLAST(TIME>133000 AND TIME<=140000));
DD14D:=REF(大净额,BARSLAST(TIME>133000 AND TIME<=140000));
DRAWTEXTREL(660,750,STRRIGHT(NUMTOSTRN(TD14D-TD13DB,2),10)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(660,790,STRRIGHT(NUMTOSTRN(DD14D-DD13DB,2),10)),COLORFFFFFF,LINETHICK2;
{14点半}
TD14DB:=REF(特净额,BARSLAST(TIME>140000 AND TIME<=143000));
DD14DB:=REF(大净额,BARSLAST(TIME>140000 AND TIME<=143000));
DRAWTEXTREL(780,750,STRRIGHT(NUMTOSTRN(TD14DB-TD14D,2),10)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(780,790,STRRIGHT(NUMTOSTRN(DD14DB-DD14D,2),10)),COLORFFFFFF,LINETHICK2;
{15点}
TD15D:=REF(特净额,BARSLAST(TIME>143000 AND TIME<=150000));
DD15D:=REF(大净额,BARSLAST(TIME>143000 AND TIME<=150000));
DRAWTEXTREL(900,750,STRRIGHT(NUMTOSTRN(TD15D-TD14DB,2),10)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(900,790,STRRIGHT(NUMTOSTRN(DD15D-DD14DB,2),10)),COLORFFFFFF,LINETHICK2;
{总净额}
DRAWTEXTREL(1020,750,STRRIGHT(NUMTOSTRN(特净额,2),10)),COLORFFFFFF,LINETHICK2;
DRAWTEXTREL(1020,790,STRRIGHT(NUMTOSTRN(大净额,2),10)),COLORFFFFFF,LINETHICK2;