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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?