M1:=6;
M2:=13;
M3:=26;
换手:vol/CAPITAL*100,VOLSTICK,NODRAW;
虚拟换手:=IF(CURRBARSCOUNT=1 AND PERIOD=5,换手*240/FROMOPEN,DRAWNULL),NODRAW;
虚拟量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟量,0,-1,-1),COLORWHITE;
VOLUME:VOL,VOLSTICK;
多空量:(MA(VOLUME,M1)+MA(VOLUME,M2)+MA(VOLUME,M3))/3,COLORYELLOW;
上限:多空量*1.382,COLORRED;
下限:多空量*0.618,COLORGREEN;
{ _通达信股票指标公式}
IF(下限<REF(下限,1),下限,DRAWNULL),COLORGREEN,LINETHICK2;
IF(下限>REF(下限,1),下限,DRAWNULL),COLORRED,LINETHICK2;