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
Iván Hola. No puedo arreglarlo. Puedes copiar/pegar (2 segundos) y tienes el indicador... La V...
Harley82 Grazie IVAN per questo lindicatore che mi sembra molto interessante, putroppo, non essendo u...
Iván Buongiorno, la risposta la trovi alle righe 115 e 122, che sono quelle che provocano il camb...
Violet Ivan, it looks as if something is really wrong with this indicator. When I import and apply ...
Iván Hello! For proper visualization, it is recommended to have more than 1k bars loaded.
Violet Thanks Ivan. Though it does not remove the 'tapering at the beginning' phenomenon, it does m...
lee HI thank you for this indicator. Is it possible to create a screener based on this for when ...
ger h Hola Marc gracias por tus indicadores y la explicacion me puedes decir cual indicador de vol...
NicoGB67 Excelente trabajo!!
Jrmjrm Bonsoir est-il possible d'avoir cet indicateur, mais à la place du Wilder Average, utiliser ...
geroniman merci Ivan, super indicatuer. Les cours vont souvent toucher 50% des zones vertes ou rouges....
Iván Pour ajouter une ligne supplémentaire, il suffit de créer une nouvelle variable, par exemple...
Maurizio A. excellent indicateur ! comment puis-je modifier le code pour afficher uniquement les dernier...
Iván Hi! just change line13 for this: showsignals=1
Quino Hi Excellent indicator as usual. Just 2 questions: Why LenH and LenL = 15 as Len could be...
Iván Hi! good question. This is a code request traslation from other platform. I took same inputs...
jacquesgermain à utiliser en unité de temps jour
patapouf Pourrait-on créer un screener sur la base de cet indicateur, dont l'idée semble très pertine...
jacquesgermain le voici (détecte le croisement bande haute ou bande basse) : timeframe(monthly) c1=open ...
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
Iván Allora crei un nuovo post. Lo aspetterò.
Stenozar Ciao Ivan, ho inserito il post con la richiesta di traduzione. Se puoi vedere, grazie!
Iván perfect!
kats BONSOIR c bon merci j ai trouve ce weekend merci de votre reponse cdlt
the_giorgio Hi, nice work I would like to understand something about prorealtime code. With your ...
Iván Hello. When you use the drawcandle() instruction then in the configuration window you add ...
larouedegann TIMEFRAME(15minutes) apparemment ne fonctionne pas
Iván Bonjour Je ne comprends pas bien le problème. L'indicateur fonctionne dans n'importe quelle...
larouedegann OUI je le sais, il fonctionne dans toutes les unités de temps. Mais je souhaite utiliser l'i...
Doddge Hola Iván, ¿sería posible crear un screener que indique cuándo las velas coloreadas del indi...
RTR Ivan thank you for the pro-screener. I a trying to understand how to write the signals from ...
Iván Hi, Lines 62 and 63. These lines define buy and sell conditions.
jacquesgermain sì da aggiungere
Maik2404 auf welchen Wert muss ich die Kompresionsperiode stellen?
jacquesgermain — Période de compression : ce paramètre détermine la période de rétrospection utilisée pour ...
Iván
2 years ago
winnie37 Hi Ivan, if i want to use it, and call the oscillator value (in grey, green or red), how to...
Iván The oscillator is smoothtype. In inputs there is de lag to configure the output

Top