量比:VOL/DYNAINFO(38);
成本价:MA(AMOUNT/VOL/100, VOL/CAPITAL),LINETHICK0;
lock:=if(CURRENTDATE《1160101,1,0);
t:=TIME0-(HOUR》11)*5400-TIMETOT0(93000);
//分笔
IF DATATYPE=0 THEN 分笔量比:(14400*SUM(VOL,0)/t)/DYNAINFO(38);
//分时
p:=OPENMINUTES(TIME);
s1:=IF(DATATYPE=5,60,IF(DATATYPE=4,30,IF(DATATYPE=3,15,IF(DATATYPE=2,5,1))));
s2:=IF(DATATYPE=5,4,IF(DATATYPE=4,8,IF(DATATYPE=3,16,IF(DATATYPE=2,48,240))));
s1:=p/s1;
IF DATATYPE《6 AND DATATYPE》0 THEN 分时量比:s2*SUM(VOL,s1)/s1/DYNAINFO(38);
//日量比