OPEN-SOURCE SCRIPT

Roger & Satchell Estimator Historical Volatility Bands [Loxx]

已更新
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
版本注释
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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership
更多:

免责声明