OPEN-SOURCE SCRIPT

Relative Volume

Updated
Relative Volume label in percent. So 400% RVol means, today's volume is 4x compared to avg volume for the length you selected.
Release Notes
There was a mis-calculation on the script where if you change chart resolution, the RVol changes. But the intention of this script is, RVol should be same for the day whether you're on 1Hr chart or 3min chart or Daily chart. RVol is measured on daily basis to compare past N number of days.
Release Notes
Couple of features added:
1. When chart resolution is Daily or Intraday (D, 4H, 1H, 5min, etc), Relative Volume shows value based on DAILY.
2. When resolution is changed to Weekly or Monthly, then Relative Volume shows corresponding value. i.e. Weekly shows weekly relative volume of this week compared to past 'N' weeks. Likewise for Monthly. You would see change in label name. Like, Weekly chart shows W_RVol (Weekly Relative Volume). Likewise, Daily & Intraday shows D_RVol. Monthly shows M_RVol (Monthly Relative Volume).
3. Added a plot (by default hidden) for this specific reason: When you move the cursor to focus specific candle, then Indicator Value displays relative volume of that specific candle. This applies to Intraday as well. So if you're in 1HR chart and move the cursor to a specific candle, Indicator Value shows relative volume for that specific candlestick bar.

Hope you find this useful.
Release Notes
Updating the script so that text size and location can be customized.
relativevolumervolVolume

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer