分时资金监控源码如下(需雨阳版支持,正版的top是新建不了指标的,呵呵):
DRAWTEXTAbs(150,0,' 净额(万)'),COLOR00FFFF;
XDB:=1-(AMOUNT*(DYNAINFO(95)+DYNAINFO(94)+DYNAINFO(93)))/10000;
XDS:=1-(AMOUNT*(DYNAINFO(98)+DYNAINFO(97)+DYNAINFO(96)))/10000;
XDLR:=XDB;
XDLC:=XDS;
XDJM:=SUM(XDLR-XDLC,0);
ZDLR:=AMOUNT*DYNAINFO(93)/10000;
ZDLC:=AMOUNT*DYNAINFO(96)/10000;
ZDJM:=SUM(ZDLR-ZDLC,0);
DDLR:=AMOUNT*DYNAINFO(94)/10000;
DDLC:=AMOUNT*DYNAINFO(97)/10000;
DDJM:=SUM(DDLR-DDLC,0);
TDLR:=AMOUNT*DYNAINFO(95)/10000;
TDLC:=AMOUNT*DYNAINFO(98)/10000;
TDJM:=SUM(TDLR-TDLC,0);
ZLJM:=DDJM+TDJM;
主力:ZLJM,COLOR3D;
散户:XDJM,COLOR3D;
中户:ZDJM,COLOR3D;
大户:DDJM,COLOR3D;
超大:TDJM,COLOR3D;