The RVM (Relative Volatility Measure)

The RVM (Relative Volatility Measure)

Volatility is the lifeblood of trading, yet its absolute value can often be misleading. A 50-point move on a stock might be extreme volatility one month and completely normal the next. To solve this, AlfinPlot has developed the RVM (Relative Volatility Measure), a specialized indicator for ProRealTime designed to normalize volatility into a clear, readable scale of 0 to 100.

By blending multiple time horizons and scaling the results, the RVM helps traders identify “volatility squeezes”—those quiet moments that often precede explosive market moves.

The Philosophy Behind RVM

Most traders use the Average True Range (ATR) to measure volatility. However, the RVM takes this a step further by using a dual-layered approach:

  1. Short-Term Velocity: It averages three fast ATR periods (3, 5, and 8) to capture immediate price action.

  2. Long-Term Context: It averages three slow ATR periods (55, 89, and 144), based on the Fibonacci sequence, to establish the historical “noise” level.

By combining these two averages, the indicator provides a “Combined ATR” that reflects volatility across the entire spectrum of the market’s memory.

How to Interpret the RVM

The RVM uses an oscillator format (0-100) that makes identification of market regimes instantaneous:

  • The Launchpad (0 – 10): Highlighted in Green, this represents extreme consolidation. In this zone, volatility is at its lowest relative to the recent past. Markets rarely stay here for long; this is often where the most powerful trends begin.

  • The Preparation Zone (10 – 20): Highlighted in Cyan, this suggests the market is beginning to wake up from a squeeze or is entering a period of healthy, low-volatility trending.

  • The Midpoint (50): This serves as the equilibrium line. Values above 50 indicate that current volatility is higher than the average of the lookback period.

  • Volatility Peaks (80 – 100): When the RVM reaches these levels, volatility is “overbought.” While this doesn’t necessarily mean a price reversal, it often signals that the current move is reaching a climax and may soon transition into a range or a pullback.

Settings & Customization

The RVM is highly flexible and can be adapted to any timeframe, from scalping to long-term investing:

  • lookbackPeriod (Default: 25): This defines the window of time used to calculate the relative “Highs” and “Lows” of volatility. Increasing this value will make the indicator less sensitive, while decreasing it will make it more reactive to sudden spikes.

  • showBgColor (Binary 0 or 1): This setting toggles the background coloring for the “Launchpad” and “Preparation” zones, allowing for a cleaner chart if desired.

Tip: You should add lookbackPeriod and showBgColor as variables in the “Variable Definition” menu to modify them without touching the code.

ProBuilder Code

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

avatar
Register or
Related users ' posts
Nicolas Just add it on the price series.
yomisadiku Hello Nicolas, Can I use high and low price at lines hh=max(hh,close) and ll=min(ll,close) ...
Nicolas Yes you can do that, the impact will be that the trailing stop line will be much close to th...
Vonasi Sure that is possible. I will code it and make a post in the English ProBuilder forum and pu...
Vonasi Vama v2 with Hull moving average included can be found here: https://www.prorealcode.com/top...
JMat45 Thank you, Vonasi.
Bard Very interesting approach Vonasi! I'm getting a 404 error when trying to download though?
Vonasi I just tested and I was able to download with no error.
Psari Hi Vonasi, I am a newbie and was wondering whether you could possibly help me with this pro...
Bard I've also just noticed that changing the "Bands Deviation" setting from 1.25 to eg 3 doesn't...
bartekz Hi @Nicolas, Really impressed by your work. I am trying to replicate the Wave-PM indicator t...
Nicolas You don't have to replicate it, download the file and import it into your platform.
LucioleLucide Clean view, thanks for sharing
dertopen hi where i can found the window for candle configuration?
paolosab69 Ciao! . I have seen the pictures that explain this metod but i don't understand when is mome...
Thomas
7 years ago
Thomas Como? no intiendo. Can you write in english . It works! Download the itf file.
Thomas New Version comin soon...
CHARLESRACHELLE OLA NAO SERVE PARA MT4?
juanj
7 years ago
juanj I have actually completely redesigned this indicator with loads of improvements, so will res...
Bard Problems with Safari latest s/ware and this site and links and adding code. Let me add the...
grimweasel47 Ok thanks Nicolas - could this be adapted to take into account MFI and then have price, volu...
Nicolas I don't understand what you mean exactly, would be better to open a topic about this idea wi...
ottimo Thank you Nicolas, great indicator, N. 1
tikigai Merci Nicolas! First Happy new Year 2020. Very good indicator BUT (yes the french "oui, m...
Nicolas Whats prorealtime version? Did you try in version prior to v11? indicator's call and loop ca...
jissey Bonjour Bolsatrilera,j'essaie de vous contacter pour le cm rsi ;je le trouve interessant, m...
jissey J'essaie de vous contacter pour l'indicateur"cm rsi"....
Marcos Alvarez Dominguez Hello Nicolas, is it possible to stablish a bullish screener for this indicator when the cen...
Nicolas Please open a topic in the screener section to ask for this specific query.
zaher123 Hello, the indicator doesn't show up anything on the screen, any suggestions please?
Nicolas Apply it on the price chart. The indicator plot just one single line. There are two in the...
jamesoc Hi Nicolas, do you happen to know if there is an indicator that can be applied to charts, to...
gustavobp Buenos dias Nicolas, al agregar tu indicador no me reconoce la variable Price ni en la linea...
joobeng Sorry, I solved the problem. I have add the CBL indicator using the spanner icon on the pric...
Nicolas Adjust the price settings for the Y Axis to use the price only.
XXXXVII Hello Your indicator is interesting. However, I can't see the orange line. Do you have ...
Alistair SS Hello Nicolas. I really like this indicator which works well for my automated trading strate...
Nicolas Might be related to quantity of history available for the indicator to compute. Please creat...
Alistair SS Good morning and thank you Nicolas.
AGTrader Interesante, muy visual Doc. Felicidades!!!
Andraxx simplemente impresionante Dom...te sigo en youtube. Me ha gustado tu canal. Gracias por comp...
Caribeengeek Bonjour j’avais vu que vous proposiez d’écrire des codes pour ceux qui s’y connaisse pas Mai...
Caribeengeek Les devises unité
Nicolas Merci d'utiliser le forum pour les demandes de programmation personnalisée
jebus89 Big thanks for sharing this :) Seems to work as expected, good stuff.
xpe74 Top visually, and very efficient. I would like to integrate it as a value in a small algo i...

Top