{动态主力-(主力分时资金实时观察)}
DDX:(ordervol(1,2)-ordervol(2,2)),COLORSTICK,LINETHICK0;
DDX累积:Sum(DDX,0);
ZLLR:=AMOUNT*(DYNAINFO(95)+DYNAINFO(94))/10000;
ZLLC:=AMOUNT*(DYNAINFO(98)+DYNAINFO(97))/10000;
ZLJM:=SUM(ZLLR-ZLLC,0);
主力净买:ZLJM,LINETHICK0;
合计流入:=SUM(ZLLR,0);
合计流出:=SUM(ZLLC,0);
实时流入:=SUM(ZLLR,5);
实时流出:=SUM(ZLLC,5);
实时净买:实时流入-实时流出,LINETHICK0;
DRAWTEXTABS(1,1,'合计流入:'+ NUMTOSTRN(合计流入,2)),COLORFFFF00,LINETHICK3;
DRAWTEXTABS(160,1,'合计流出:'+ NUMTOSTRN(合计流出,2)),COLORFFFF00,LINETHICK3;
DRAWTEXTABS(320,1,'主力净买:'+ NUMTOSTRN(主力净买,2)),COLORFFFFFF,LINETHICK5;
DRAWTEXTABS(1,21,'实时流入:'+ NUMTOSTRN(实时流入,2)),COLOR00FFFF,LINETHICK3;
DRAWTEXTABS(160,21,'实时流出:'+ NUMTOSTRN(实时流出,2)),COLOR00FFFF,LINETHICK3;
DRAWTEXTABS(320,21,'实时净买:'+ NUMTOSTRN(实时净买,2)),COLOR00FFFF,LINETHICK4;