TradingView
sskcharts
Dec 15, 2020 3:10 AM

Relative Volume 

Moderna, Inc.NASDAQ

Description

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.
Comments
prap4stocks
Hi Thanks for the script.
Is it possible to display Rvol for candle in focus i.e as we navigate through chart can it display Rvol for the candle the cursor is on like data window
sskcharts
@john4stocks, Just released updated version of this script. I hope this is what you're looking for. #3 on the release notes.
prap4stocks
@ssksubam, Will try it out and let you know
sonal2109
I want to use 1 min rvol compare to last 30 days volume
Please suggest how to do it
mshurya
Hi, thanks for the script. It is very useful. 1 suggestion, can a table will be created with multiple stocks? So that single table shows multiple stocks with Relative Volume. Thanks.
spjt81
Can someone help me out with this? My avg daily volume for the last 20days on said day is 31.669m, trading volume on said day is 211.588m, Rvol script on said day says based on last 20days Rvol is 951,

31.669m (Avg volume over 20days) x 9.51 (Rvol based on last 20days) = 301m Shares, this is way off from the 211.588m that where traded that day.

What am I doing wrong?
manasg
Hi. I just tried using the code as a reference to change the font and location in one of my tables, but it says "options" input is invalid. Could you help here?
Chandana22
Hi, it is really help for volmes. i'm trying add alerts, but alerts are not tirggering properly. Please let me know is there any way to configure. Thanks.
JayGee1429
Wow..Very useful ..Thank you so much for the effort.
Jinkyjinky
I love this script, thank you so much! Is it possible to make the font larger or move the position?
More