只需一步,快速开始
2014-1-3 15:19| 发布者: admin| 查看: 29| 评论: 0
{DDX分时} variable:ddx=0; TODAY:="分时DDX.DDX累积"<>0;{判断是否有正版数据} 正版:=("wd.o12"-"wd.o22"); 雨杨累积:=("DDEDATA@BIGORDERSCALE"(1,2)-"DDEDATA@BIGORDERSCALE"(2,2))*SUM(VOL,0); 雨杨:=雨杨累积-REF(雨杨累积,1); DDX:=if(TODAY,正版,雨杨)/capital*100; DDX累积:=SUM(DDX,0); FILLRGN(0,DDX累积,DDX累积>0,RGB(80,0,0),DDX累积<0,RGB(0,55,55)),linethick2,PRECIS0,COLOR000000; {www.gpxiazai.com} DDX:DDX,colorstick,linethick2; DDX累积:DDX累积,coloryellow; 流入金额:"wd.主单买#day"*SUM(AMOUNT,0)/10000,Color0000FF,LINETHICK0; 流出金额:"wd.主单卖#day"*SUM(AMOUNT,0)/10000,Color00FF00,LINETHICK0; 净额:流入金额-流出金额,Color00FFFF,LINETHICK0; drawtextabs(0,0,'夏卫东原创'),COLOR0000FF; DRAWTEXTABS(0,15,IFS(TODAY,'正版数据','雨杨数据')),LINETHICK2,colorwhite;