短线成交量通达信副图公式
参数采用7天和40天成交量,倍数就是7天和40天均线的比值。出现9个点的大阳线,使用了红色柱体。
源码是:
X_1:=7;
X_2:=40;
VOLUME:VOL,VOLSTICK;
V1:MA(VOLUME,X_1),COLORYELLOW;
V2:MA(VOLUME,X_2),COLORFFCC66;
放量倍数:MA(VOL,7)/MA(VOL,40),NODRAW;
IF(MA(VOL,7)<MA(VOL,40)/2,MA(VOL,40),DRAWNULL),COLORRED,LINETHICK2;
STICKLINE(CLOSE>REF(CLOSE,1)*1.09 AND CLOSE=HIGH,0,VOL,3,0),COLORYELLOW;
STICKLINE(CLOSE>REF(CLOSE,1)*1.09 AND CLOSE=HIGH,0,VOL,1,0),COLORRED;