通达信VOL显示数字指标公式
M1:=50;
M2:=50;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
{指标显示数字}
Z:=STRCAT('..',VAR2STR(VOLUME,2));
DRAWTEXT(ISLASTBAR,VOLUME,Z);
{指标显示数字结束};
RZQ:=VOL;
DRAWNUMBER(V>0,V,RZQ),COLORYELLOW;
赞 (0)
M1:=50;
M2:=50;
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1);
MAVOL2:MA(VOLUME,M2);
{指标显示数字}
Z:=STRCAT('..',VAR2STR(VOLUME,2));
DRAWTEXT(ISLASTBAR,VOLUME,Z);
{指标显示数字结束};
RZQ:=VOL;
DRAWNUMBER(V>0,V,RZQ),COLORYELLOW;