大智慧VOL虚拟成交量指标公式

INPUT:M1(5,2,500),M2(10,2,500),M3(60,2,500);

TOTAL:=IF(DATATYPE=4,5,IF(DATATYPE=5,15,IF(DATATYPE=6,30,IF(DATATYPE=7,60,IF(DATATYPE=8,240,1)))));

MTIME:=MOD(TRADETIME(0),TOTAL);

CTIME:=IF(MTIME<0.5,TOTAL,MTIME);

{www.zhibiaow.com 指标网_大智慧股票指标公式}

虚成交量:IF(BARstATUS=2,vol*TOTAL/CTIME,0),POINTDOT;

STICKLINE(BARSTATUS=2,虚成交量,VOL,7.5,-1),DOTLINE,COLORWHITE;

实成交量:VOL,VOLSTICK;

MA1:MA(VOL,M1),COLORYELLOW;

MA2:MA(VOL,M2),COLORGREEN;

MA3:MA(VOL,M3),COLORBLUE;