OPEN-SOURCE SCRIPT

Relative Historical Volatility MCM

Relative Historical Volatility

Historical Volatility is relative to it's doubled lookback period of the historical volatility to calculate relative historical volatility.

Including a standard deviation to calculate the volatility value itself is useless. It filters out 32% of the most volatile movements of the asset that you are observing.

Example of RHV:

Period of Volatility Value (POVV) : 10

Relative Historical Volatility : POVV / POVV*2

Historical Volatility of past 10 Bars is compared to the historical volatility of the bast 20 bars to show real growth/decrease of volatility relative to the time of the performing asset.

Comparing historical volatility to the current bar includes much more noise, the relative historical volatility can be perceived as a smoothed historical volatility ind.

Marginal notes:

Added standard deviations adjusted to the relative volatility value to predict probable future volatility of the stock.
historicalHistorical VolatilityhvVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer