TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,V);
百分之:=VVOL/MA(VVOL,N)*100;{当天量是N天平均量的百分之几,注计算平均量包含当天虚拟量}
ZRXG:百分之>=F;{50%}