解禁或配股等事件发生后,成交量就会发生变化,如果不注意的话,让人以为突然放量了,导致误导大家,所以用换手率比较好。用虚拟换手率可以在盘中预判当天最后的的量能,为盘中操作提供依据。
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);
HSL0:=100*VOL/(FINANCE(7)/100),VOLSTICK;
VVOL:=IF(CURRBARSCOUNT=1,HSL0*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
HSL:100*VOL/(FINANCE(7)/100),VOLSTICK;