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
WarningTrading Comment peut on la comparer ? comme ceci ? cela ne me donne plus le message d'erreur manque...
sally31120 Bonjour, je n'arrive pas à créer ce screener close > supertrend extended2[1] la réponse...
Nicolas voir ce sujet pour un screener basé sur Supertrend Extended: https://www.prorealcode.com/top...
flodefacebook Merci Nicolas pour cet indicateur. Très utile dans une technique de retournement.
HeikinAshi thank you for this very interesting indicator Nicolas! did you define a tradable setup fo...
JanWd Tried the code, nice concept, seems to work quit well for US/EUR 2hrs, Other markets seems n...
JR1976 Simple and nice code , congrats !!! Seems work well with TIme frame 1 h
phanz Hi all, Sorry revisiting an old post. This algo is simple, and simplicity is the ultimate ...
christophe11560 salut gabri, Je n'ai pas de commentaire sur "s*s", c'est ton choix personnel. Je me posais...
gabri Hi, the SQRT(254) it is used to annualize the value. In terms of the "s*s" I just used the s...
christophe11560 Merci pour ton retour
guillermus69 is this " a= log(close/close[1])" better than a = ((close/close[1]) -1) *100 . I ...
gildaslm Hi gabri, thanks very much for your work, it helps me a lot. Have you ever tried to make the...
gandolfi thanks for your screener. Do you have the code for original Sharp ratio in order to compare ...
Abz Thanks gabri
Mattzi In your opinion is less than 20 stocks a bad idea? Thank you.
gabri No, you can pick as many or as little as you want. The portfolio composition depends on many...
xel Hi! I found myself that the indicator posted here contain an error, I want to edit or fix i...
Lotech123 Thanks for this indicator. Working on a 3 M timeframe with the DJI, it can produce some inte...
JSTAR PRODUCTIONS Hi there, I downloaded the Indicator but the indicator does not show up on my charts. Am...
JSTAR PRODUCTIONS Hi, Worked it out. Thanks
poonsl2828 Hi! Francesco I have test it on GBP/USD but it only have a trade on 9 Jun which i backtes...
ullle73 why not use 1h chart? has 95% hitrate
ullle73 i see most of positions are only 1 pip before exit?
Jean-Pierre Poulain When I buy and when I sell ?
Nicolas The featured image of the post do not deserve the indicator you are right, I attached other ...
Nicolas It is described in the post already :) The BUY/SELL signals are quite similar of what you ca...
Francesco78 Hi Pepmartorell, please let's continue the discussion on the forum thread so that we can sha...
Francesco78 Hi Pepmartorell, please let's continue the discussion on the forum thread so that we can sha...
Jusmih1 Hi there, i am looking at your Strategy however when you put in automatic trading mode its ...
bruces Hi. Thank you that is what I am looking for. As well as the chart, I want to also add to a...
Jodal Bonjour Nicolas, Merci pour cet indicateur! Est-ce possible de configurer une alerte pou...
Nicolas Merci pour le post dans le forum en respectant les règles de publication énoncées dans le ca...
Dron De lo mejorcito
Nicolas This is not an instruction of the programming language but a variable from this indicator (l...
fabio407 OK. I didn't notice it. Many thanks, Nicolas!
Harley82 Buongiorno, non riesco a farlo funzionare sul mio prorelatime V12: cambio i parametri "Vis...
albertocampagna Sei grande Nicolas :-)
SAcht Dear Nicolas, Great work, thank you very much!I would love to use the indicator in ProScree...
SAcht btw: The above-posted ProScreener is supposed to show stocks for which the center line has i...
Wilko And not only readable.... makes it much easier to iterate different entry/exit-conditions, d...
IGOSNELL Hi Interesting strategy, when I used $ M-R Dif EURUSD M15 Long if does not enter any positi...
ilvillans HI, I modified the system, from good results but from this error: Replace the variables wit...

Top