DonovanWall

Fractal Regression Bands [DW]

DonovanWall Wizard 已更新   
This study is an experimental regression curve built around fractal and ATR calculations.
First, Williams Fractals are calculated, and used as anchoring points.
Next, high anchor points are connected to negative sloping lines, and low anchor points to positive sloping lines. The slope is a specified percentage of the current ATR over the sampling period.
The median between the positive and negative sloping lines is then calculated, then the best fit line (linear regression) of the median is calculated to generate the basis line.
Lastly, a Golden Mean ATR is taken of price over the sampling period and multiplied by 1/2, 1, 2, and 3. The results are added and subtracted from the basis line to generate the bands.

Williams Fractals are included in the plots. The color scheme indicated whether each fractal is engulfing or non-engulfing.

Custom bar color scheme is included.
發布通知:
Updates:

Due to inefficiencies and its arbitrary nature, the slope factor calculation has been removed from the script.

Due to the linear regression's significant amount of overshoot, especially at greater sampling lengths, the basis line is now calculated using exponential smoothing, which fits the price series much better with minimal overshoot.

Changed the size of the fractal signals.

For my full list of premium tools, check the blog:
wallanalytics.com/

Reach out on Telegram:
t.me/DonovanWall
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?