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
更多:

免責聲明