RVOL (Relative Volume) & RVOLBS (Relative Volume Beasley Savage)
Last updated
Last updated
Relative Volume (RVOL) is an indicator that visually shows how current trading volume is compared to past trading volume over a given period. To be more precise, the indicator compares volume data for each price bar with the average volume over a specified number of prior bars. The RVOL ratio produced allows users to easily spot setups where unusually high or low volume is powering a price move. When the indicator value is greater than 1, the volume is higher than average, a value less than 1 means lower than average volume.
The indicator looks as follows on the chart:
The indicator has 7 lines and each of them has its own features:
Number of line
Type of line
Colour of line
Line name
Description
1
volume_positive
The current value of the volume is plotted if at least one of the alerts Use Static Volume for Alerts? / Use RVOL For Alerts? / Use Lookback For Alerts? is executed
2
volume_negative
The current value of the volume is plotted if none of the alerts Use Static Volume for Alerts? / Use RVOL For Alerts? / Use Lookback For Alerts? is executed
3
ma
SMA value
4
rvol
RVOL value
5
volume_threshold
Value of Absolute RVOL Level To Trigger Signal
6
rvol_threshold
Value of Absolute RVOL Level To Trigger Signal multiplied by the moving average
7
lookback_threshold
Maximum volume for Highest Volume Lookback period
If the line Visible = active, then the following rules will be applied:
On ma line (line 3), the value of the Moving Average is plotted.
On rvol line (line 4), the value of RVOL is plotted.
If at least one of the alerts Use Static Volume for Alerts? / Use RVOL For Alerts? / Use Lookback For Alerts? is activated and at the same time the alert(s) condition is met, then:
if true, then:
the value of the current volume is plotted in the volume_positive line (line 1)
the text "VOL signal for <instrument name>" is triggered for each new bar, and it meets the conditions of the specified alerts
if false, then the value of the current volume is plotted in the volume_negative line (line 2)
If Draw RVOL Threshold? and Use Static Volume for Alerts? are activated at the same time, then:
Absolute RVOL To Trigger Signal will be plotted on the line volume_threshold (line 5)
On rvol_threshold line (line 6) the Absolute RVOL To Trigger Signal value is plotted and multiplied by the moving average at this point
If Draw RVOL Threshold? and Use Lookback For Alerts? are activated at the same time, then in lookback_threshold line the maximum volume for the Highest Volume Lookback period is displayed.
The indicator is not calculated for bars, sequence number of which is less than MA Length.
When the volume value is N/A, then such a bar is not included in the calculation and is ignored.
For each bar:
A moving average is calculated taking into account the type selected in “MA Type” and the calculation period of “MA Length”.
RVOL is calculated using the following formula:
RVOL = Volume / SMA ,
where:
Volume - current value of volume;
SMA - moving average. If SMA = 0, then RVOL = 0.
Highest Volume Lookback period - the number of bars to be displayed and compared with the current bars.
MA Length - the number of bars that are involved in the calculation of the moving average.
MA Type - type of moving average. Default value is EMA. Possible values:
EMA - Exponential Moving Average
SMA - Simple Moving Average
HMA - Hull Moving Average
WMA - Linear Weighted Moving Average
DEMA - Double Exponential Moving Average
Absolute Volume Level To Trigger Signal - a user needs to specify the volume of bars with the volume higher or equal to the current volume.
Absolute RVOL Level To Trigger Signal - the volume that triggers the signal.
Controls for determining the colouring of bars:
Use Static Volume for Alerts? - allows colouring bars with the volume higher or equal to the value Absolute Volume Level to Trigger Signal.
Use RVOL For Alerts? - allows colouring bars with the volume higher or equal to the value Absolute RVOL Level To Trigger Signal.
Use Lookback For Alerts? - allows displaying RVOL calculations for the last Highest Volume Lookback period bars.
Draw RVOL Threshold? - allows plotting the maximum volume value for the Highest Volume Lookback period.
The screenshot below provides an example of settings that can be configured. The following lines are activated in the indicator settings: volume_positive / volume_negative / ma / rvol .
The common feature between RVOLBS and RVOL indicators is that they calculate relative volume. The difference between these indicators is that RVOLBS only calculates the relative volume for the last N days (N is set in the Volume length parameter).
The indicator value is the ratio of the volume of the current bar to the value of the moving average by volume for the period of Volume Length.
Volume Length - the number of bars involved in the calculation of the simple moving average.
The indicator looks as follows on the chart: