九毛八公式指标
虚拟成交量虚线上方显示当天虚拟成交量为昨天成交量的倍数,颜色为明黄色。虚拟成交量虚线上方显示当天虚拟成交量为昨天成交量的倍数。
公式模块:
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,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
DRAWNUMBER(V>0,VVOL*1.5,VVOL/REF(V,1)),coloryellow;