TradeZoro
Notifications

Cookbook

Relative volume

Volume as a multiple of normal.

//@zscript 1
indicator("Relative volume")
rv = volume / ta.sma(volume, 30)
hline(1)
plot(rv, "Relative volume", style=plot.style_columns, color=rv > 1 ? #03c988 : color.gray)
-0.080.310.701.091.48
Sample bars, not market data. Relative volume.

How it works

1.0 is normal. 2.0 means twice the 30-bar average.

Education only. Not financial advice. Examples are teaching samples, not trading results.

Zscript is coming soon

The manual opens when Zscript launches.

Back to home