OPEN-SOURCE SCRIPT

Roger & Satchell Estimator Historical Volatility Bands [Loxx]

Updated
Roger & Satchell Estimator Historical Volatility Bands [Loxx] are constructed using:

  • Average as the middle line.
  • Upper and lower bands using theRoger & Satchell Estimator Historical Volatility Bands for bands calculation.


What is Roger & Satchell Estimator Historical Volatility?
The Rogers–Satchell estimator does not handle opening jumps; therefore, it underestimates the volatility. It accurately explains the volatility portion that can be attributed entirely to a trend in the price evolution. Rogers and Satchell try to embody the frequency of price observations in the model in order to overcome the drawback. They claim that the corrected estimator outperforms the uncorrected one in a study based on simulated data.

RSEHV = sqrt((Z/n) * sum((log(high/close)*log(high/open)) + (log(low/close)*log(low/open))))

The color of the middle line, unlike the bands colors, has 3 colors. When colors of the bands are the same, then the middle line has the same color, otherwise it's white.

Included
  • Alerts
  • Signals
  • Loxx's Expanded Source Types
  • Bar coloring
Release Notes
Updated to handle all timeframes. This calculation is without annualized modification so that it's relevant to the current timeframe only.
Bands and ChannelsHistorical VolatilityhistoricalvolatityrogersatchellrogersatchellestimatorVolatility

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?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
Also on:

Disclaimer