. 你有没有-----试试这个
{分时资金}----是幅图----------
特净额:"ddeDATA@dde分时"(7)*sum(AMOUNT,0)/1000000,COLORFF9900,LINETHICK3,LAYER0;
大净额:"DDEDATA@dde分时"(6)*sum(AMOUNT,0)/1000000,COLOR0099FF,LINETHICK2,LAYER0;
中净额:"DDEDATA@dde分时"(5)*sum(AMOUNT,0)/1000000,COLOR00ffff,LAYER0;;
散净额:"DDEDATA@dde分时"(4)*sum(AMOUNT,0)/1000000,COLOR00FF00,LINETHICK2,LAYER0;;
(特净额+大净额),COLOR0000FF,DOTLINE;
"ddeDATA@dde分时"(8),LINESTICK,colorFF8000,LAYER5;
{分时资金}
DRAWRECTREL(0,-1,1000,1000,RGB(0,0,20)),COLOR000000,LAYER7;
特净额:"ddeDATA@dde分时"(7)*sum(AMOUNT,0)/1000000,COLORFF9900,LINETHICK3,LAYER0;
大净额:"DDEDATA@dde分时"(6)*sum(AMOUNT,0)/1000000,COLOR0099FF,LINETHICK2,LAYER0;
中净额:"DDEDATA@dde分时"(5)*sum(AMOUNT,0)/1000000,COLOR00ffff,LAYER0;;
散净额:"DDEDATA@dde分时"(4)*sum(AMOUNT,0)/1000000,COLOR00FF00,LINETHICK2,LAYER0;;
(特净额+大净额),COLOR0000FF,DOTLINE;
"ddeDATA@dde分时"(8),LINESTICK,colorFF8000,LAYER5;
净额:("ddeDATA@dde分时"(8)),COLOR0000ff,LINETHICK2,LAYER0;;
DRAWTEXT(barstatus=2,净额,' '+NUMTOSTRN(净额,0)+'万'),color00ffFF,LINETHICK5;
alx:=llv(净额,0);
ahx:=hhv(净额,0);
(净额-ref(净额,1)),colorstick,LINETHICK2,LAYER0;
净额S:散净额,color00FF00,LINETHICK0;
alxS:=llv(净额S,0);
ahxS:=hhv(净额S,0);
DRAWTEXTREL(20,200,'委托单 分 类'),COLOR00AAFF,LINETHICK3;
DRAWTEXTREL(15,250,'[股价<2元按股分类]'),COLOR00FFFF,LINETHICK1;
DRAWTEXTREL(5,340,'【特+大: >20万元】'),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(5,390,' [或>10万股]'),COLOR00ffFF,LINETHICK1;
DRAWTEXTREL(5,480,'【特单: >100万元】'),COLORFF9900,LINETHICK2;
DRAWTEXTREL(5,530,' [或>50万股]'),COLOR00ffFF,LINETHICK1;
DRAWTEXTREL(0,620,'【大单: 20-100万元】'),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(0,670,' [或10-50万股]'),COLOR00ffFF,LINETHICK1;
DRAWTEXTREL(5,760,'【中单: 4-20万元】'),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(5,810,' [或2-10万股]'),COLOR00FFFF,LINETHICK1;
DRAWTEXTREL(5,900,'【小单: <4万元】'),COLOR00FF00,LINETHICK2;
DRAWTEXTREL(5,950,' [或<2万股]'),COLOR00ffFF,LINETHICK1;
{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,LINETHICK4;
{10点}
{ZL10D:=REF(净额,BARSLAST(TIME<=100000));
TD10D:=REF(特净额,BARSLAST(TIME<=100000));
DD10D:=REF(大净额,BARSLAST(TIME<=100000));
ZD10D:=REF(中净额,BARSLAST(TIME<=100000));
SD10D:=REF(散净额,BARSLAST(TIME<=100000));
DRAWTEXTREL(150,340,STRRIGHT(NUMTOSTRN(ZL10D,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(150,480,STRRIGHT(NUMTOSTRN(TD10D,2),9)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(150,620,STRRIGHT(NUMTOSTRN(DD10D,2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(150,760,STRRIGHT(NUMTOSTRN(ZD10D,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(150,900,STRRIGHT(NUMTOSTRN(SD10D,2),9)),COLOR00FF00,LINETHICK2;}
{10点半}
{ZL10DB:=REF(净额,BARSLAST(TIME>100000 AND TIME<=103000));
TD10DB:=REF(特净额,BARSLAST(TIME>100000 AND TIME<=103000));
DD10DB:=REF(大净额,BARSLAST(TIME>100000 AND TIME<=103000));
ZD10DB:=REF(中净额,BARSLAST(TIME>100000 AND TIME<=103000));
SD10DB:=REF(散净额,BARSLAST(TIME>100000 AND TIME<=103000));
DRAWTEXTREL(245,340,STRRIGHT(NUMTOSTRN(ZL10DB-ZL10D,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(245,480,STRRIGHT(NUMTOSTRN(TD10DB-TD10D,2),9)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(245,620,STRRIGHT(NUMTOSTRN(DD10DB-DD10D,2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(245,760,STRRIGHT(NUMTOSTRN(ZD10DB-ZD10D,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(245,900,STRRIGHT(NUMTOSTRN(SD10DB-SD10D,2),9)),COLOR00FF00,LINETHICK2;}
{11点}
{ZL11D:=REF(净额,BARSLAST(TIME>103000 AND TIME<=110000));
TD11D:=REF(特净额,BARSLAST(TIME>103000 AND TIME<=110000));
DD11D:=REF(大净额,BARSLAST(TIME>103000 AND TIME<=110000));
ZD11D:=REF(中净额,BARSLAST(TIME>103000 AND TIME<=110000));
SD11D:=REF(散净额,BARSLAST(TIME>103000 AND TIME<=110000));
DRAWTEXTREL(340,340,STRRIGHT(NUMTOSTRN(ZL11D-ZL10DB,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(340,480,STRRIGHT(NUMTOSTRN(TD11D-TD10DB,2),9)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(340,620,STRRIGHT(NUMTOSTRN(DD11D-DD10DB,2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(340,760,STRRIGHT(NUMTOSTRN(ZD11D-ZD10DB,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(340,900,STRRIGHT(NUMTOSTRN(SD11D-SD10DB,2),9)),COLOR00FF00,LINETHICK2;}
{11点半}
{ZL11DB:=REF(净额,BARSLAST(TIME>110000 AND TIME<=113000));
TD11DB:=REF(特净额,BARSLAST(TIME>110000 AND TIME<=113000));
DD11DB:=REF(大净额,BARSLAST(TIME>110000 AND TIME<=113000));
ZD11DB:=REF(中净额,BARSLAST(TIME>110000 AND TIME<=113000));
SD11DB:=REF(散净额,BARSLAST(TIME>110000 AND TIME<=113000));
DRAWTEXTREL(435,340,STRRIGHT(NUMTOSTRN(ZL11DB-ZL11D,2),9)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(435,480,STRRIGHT(NUMTOSTRN(TD11DB-TD11D,2),9)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(435,620,STRRIGHT(NUMTOSTRN(DD11DB-DD11D,2),9)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(435,760,STRRIGHT(NUMTOSTRN(ZD11DB-ZD11D,2),9)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(435,900,STRRIGHT(NUMTOSTRN(SD11DB-SD11D,2),9)),COLOR00FF00,LINETHICK2;}
{13点半}
{ZL13DB:=REF(净额,BARSLAST(TIME>130000 AND TIME<=133000));
TD13DB:=REF(特净额,BARSLAST(TIME>130000 AND TIME<=133000));
DD13DB:=REF(大净额,BARSLAST(TIME>130000 AND TIME<=133000));
ZD13DB:=REF(中净额,BARSLAST(TIME>130000 AND TIME<=133000));
SD13DB:=REF(散净额,BARSLAST(TIME>130000 AND TIME<=133000));
DRAWTEXTREL(530,340,STRRIGHT(NUMTOSTRN(ZL13DB-ZL11DB,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(530,480,STRRIGHT(NUMTOSTRN(TD13DB-TD11DB,2),10)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(530,620,STRRIGHT(NUMTOSTRN(DD13DB-DD11DB,2),10)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(530,760,STRRIGHT(NUMTOSTRN(ZD13DB-ZD11DB,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(530,900,STRRIGHT(NUMTOSTRN(SD13DB-SD11DB,2),10)),COLOR00FF00,LINETHICK2;}
{14点}
{ZL14D:=REF(净额,BARSLAST(TIME>133000 AND TIME<=140000));
TD14D:=REF(特净额,BARSLAST(TIME>133000 AND TIME<=140000));
DD14D:=REF(大净额,BARSLAST(TIME>133000 AND TIME<=140000));
ZD14D:=REF(中净额,BARSLAST(TIME>133000 AND TIME<=140000));
SD14D:=REF(散净额,BARSLAST(TIME>133000 AND TIME<=140000));
DRAWTEXTREL(625,340,STRRIGHT(NUMTOSTRN(ZL14D-ZL13DB,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(625,480,STRRIGHT(NUMTOSTRN(TD14D-TD13DB,2),10)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(625,620,STRRIGHT(NUMTOSTRN(DD14D-DD13DB,2),10)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(625,760,STRRIGHT(NUMTOSTRN(ZD14D-ZD13DB,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(625,900,STRRIGHT(NUMTOSTRN(SD14D-SD13DB,2),10)),COLOR00FF00,LINETHICK2;}
{14点半}
{ZL14DB:=REF(净额,BARSLAST(TIME>140000 AND TIME<=143000));
TD14DB:=REF(特净额,BARSLAST(TIME>140000 AND TIME<=143000));
DD14DB:=REF(大净额,BARSLAST(TIME>140000 AND TIME<=143000));
ZD14DB:=REF(中净额,BARSLAST(TIME>140000 AND TIME<=143000));
SD14DB:=REF(散净额,BARSLAST(TIME>140000 AND TIME<=143000));
DRAWTEXTREL(720,340,STRRIGHT(NUMTOSTRN(ZL14DB-ZL14D,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(720,480,STRRIGHT(NUMTOSTRN(TD14DB-TD14D,2),10)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(720,620,STRRIGHT(NUMTOSTRN(DD14DB-DD14D,2),10)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(720,760,STRRIGHT(NUMTOSTRN(ZD14DB-ZD14D,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(720,900,STRRIGHT(NUMTOSTRN(SD14DB-SD14D,2),10)),COLOR00FF00,LINETHICK2;}
{15点}
{ZL15D:=REF(净额,BARSLAST(TIME>143000 AND TIME<=150000));
TD15D:=REF(特净额,BARSLAST(TIME>143000 AND TIME<=150000));
DD15D:=REF(大净额,BARSLAST(TIME>143000 AND TIME<=150000));
ZD15D:=REF(中净额,BARSLAST(TIME>143000 AND TIME<=150000));
SD15D:=REF(散净额,BARSLAST(TIME>143000 AND TIME<=150000));
DRAWTEXTREL(815,340,STRRIGHT(NUMTOSTRN(ZL15D-ZL14DB,2),10)),COLOR0000FF,LINETHICK2;
DRAWTEXTREL(815,480,STRRIGHT(NUMTOSTRN(TD15D-TD14DB,2),10)),COLORFF9900,LINETHICK2;
DRAWTEXTREL(815,620,STRRIGHT(NUMTOSTRN(DD15D-DD14DB,2),10)),COLOR3366FF,LINETHICK2;
DRAWTEXTREL(815,760,STRRIGHT(NUMTOSTRN(ZD15D-ZD14DB,2),10)),COLOR00FFFF,LINETHICK2;
DRAWTEXTREL(815,900,STRRIGHT(NUMTOSTRN(SD15D-SD14DB,2),10)),COLOR00FF00,LINETHICK2;}
{总净额}
DRAWTEXTREL(910,300,' 【'+NUMTOSTRN(ahx,0)+'万】'),COLOR0099FF,LINETHICK2;
DRAWTEXTREL(910,340,STRRIGHT(NUMTOSTRN(净额,2),10)),COLOR0000FF,LINETHICK4;
DRAWTEXTREL(910,400,' 【'+NUMTOSTRN(alx,0)+'万】'),COLOR00ffFF,LINETHICK2;
DRAWTEXTREL(910,480,STRRIGHT(NUMTOSTRN(特净额,2),10)),COLORFF9900,LINETHICK4;
DRAWTEXTREL(910,620,STRRIGHT(NUMTOSTRN(大净额,2),10)),COLOR0099FF,LINETHICK4;
DRAWTEXTREL(910,760,STRRIGHT(NUMTOSTRN(中净额,2),10)),COLOR00FFFF,LINETHICK4;
DRAWTEXTREL(910,860,' 【'+NUMTOSTRN(ahxS,0)+'万】'),COLOR0099FF,LINETHICK2;
DRAWTEXTREL(910,900,STRRIGHT(NUMTOSTRN(散净额,2),10)),COLOR00FF00,LINETHICK4;
DRAWTEXTREL(910,960,' 【'+NUMTOSTRN(alxS,0)+'万】'),COLOR00ffFF,LINETHICK2;
alxD:=llv("ddeDATA@dde分时"(3)*100,0);
ahxD:=hhv("ddeDATA@dde分时"(3)*100,0);
DRAWTEXTREL(910,45,' 【'+NUMTOSTRN(ahxD,0)+'%】'),COLOR0099FF,LINETHICK2;
DRAWTEXTREL(810,90,' ------单数比:'+NUMTOSTRN("ddeDATA@dde分时"(3)*100,1)+'%-----'),COLOR00ffFF,LINETHICK4;
DRAWTEXTREL(910,145,' 【'+NUMTOSTRN(alxD,0)+'%】'),COLOR00ff00,LINETHICK2;
{【真】-【假】}
真主动率:"BSVOL.真主动率#tick"*10,COLOR0000ff,DOTLINE,LINETHICK0,LAYER0;;
假主动率:"BSVOL.假主动率#tick"*10,COLOR00ff00,DOTLINE,LINETHICK0,LAYER0;;
alxz:=llv((真主动率-假主动率)/10,0);
ahxz:=hhv((真主动率-假主动率)/10,0);
DRAWTEXTABS(10,25,IFS((真主动率-假主动率)>0,'★(真主动率-假主动率)【'+NUMTOSTRN(alxz,0)+'%▄'+NUMTOSTRN((真主动率-假主动率)/10,2)+'%▄'+NUMTOSTRN(ahxz,0)+'%】','')),LINETHICK4,Color0000FF,LAYER0;
DRAWTEXTABS(10,25,IFS((真主动率-假主动率)<0,'★(真主动率-假主动率)【'+NUMTOSTRN(alxz,0)+'%▄'+NUMTOSTRN((真主动率-假主动率)/10,2)+'%▄'+NUMTOSTRN(ahxz,0)+'%】','')),LINETHICK4,Color00FF00,LAYER0;
分钟数A:(TIME0=36000),PRECIS0,linethick0;
VERTLINE(分钟数A,0),COLOR999900,LAYER0;
分钟数AB:(TIME0=37800),PRECIS0,linethick0;
VERTLINE(分钟数AB,0),COLOR999900,LAYER0;
分钟数B:(TIME0=39600),PRECIS0,linethick0;
VERTLINE(分钟数B,0),COLOR999900,LAYER0;
分钟数C:(TIME0=41400),PRECIS0,linethick0;
VERTLINE(分钟数C,0),COLOR999900,LAYER0;
分钟数CB:(TIME0=48600),PRECIS0,linethick0;
VERTLINE(分钟数CB,0),COLOR999900,LAYER0;
分钟数D:(TIME0=50400),PRECIS0,linethick0;
VERTLINE(分钟数D,0),COLOR999900,LAYER0;
分钟数DB:(TIME0=52200),PRECIS0,linethick0;
VERTLINE(分钟数DB,0),COLOR999900,LAYER0;
分钟数E:(TIME0=54000),PRECIS0,linethick0;
VERTLINE(分钟数E,0),COLOR999900,LAYER0;