jwammo12

Adaptive Bollinger Bands [jwammo12]

jwammo12 已更新   
This takes Ehler's work that dynamically finds the frequency of market cycles and applies it to the concept of Bollinger Bands.

First the dominant cycle length is found using Ehler's methods, this is then used as the length to the moving average and deviation.

I also ended up using an exponential average rather than a simple average for both the moving average center line and the sum of the squares when finding the deviation.

credit goes to LazyBear for coding Ehler's original ideas in pine, which I then used for this script.
版本注释:
adds option for simple moving average. The simple moving average becomes very choppy because the period the calculation does not have the same smoothing component as exponential, but it is still interesting to look at

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?