jwammo12

Adaptive Bollinger Bands [jwammo12]

jwammo12 Atualizado   
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.
Notas de Lançamento:
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

Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?