OPEN-SOURCE SCRIPT

Feli DMAs + WMAs + BBs

The idea of this indicator is to have in the same place:
- Moving Averages
- Bollinger Bands
- Important crossings of MAs (golden cross, death cross, Pi Cycle)

Notes:
- The indicator has a main resolution that applies to all the elements and three independent resolutions for the MAs. Why? E.g. You want to see the real-time 20WMA but you're looking at a 1h chart. Normally, the last value of that MA would show on the last sunday at close and would update the next sunday close, but if you are looking at the same 1h chart but select a general resolution of 1h the 20WMA will be updated with the closing price of the last hour. Not sure if there's a best solution but it works for me.

Hope it helps! :)
Moving Averages

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal