OPEN-SOURCE SCRIPT

(mab) ATR Band

Atualizado
Simple ATR band as overlay on price chart.
Notas de Lançamento
This updated version is more advanced. It plots a simple ATR band on daily and higher time frames. On intraday charts it can plot a dynamic band that takes the previous days ATR as starting point. At new lows it lowers the upper band to the new low plus the previous days ATR. At new highs it rises the lower band to the new high minus the previous days ATR.snapshot
Notas de Lançamento
This update enhances the (mab) ATR Band indicator with multi time frame capabilities. If "Floating daily ATR on intraday charts" is enabled, it shows the previous days ATR value as a starting point at the start of the session on intraday charts. At new lows it lowers the upper band to the new low plus the previous days ATR. At new highs it rises the lower band to the new high minus the previous days ATR.
Similarly if "Floating weekly/monthly ATR on daily/weekly charts" is enabled, it shows the previous weeks ATR as starting point on daily charts and the previous months ATR on weekly charts. At new lows it lowers the upper band to the new low plus the previous weeks/moths ATR. At new highs it rises the lower band to the new high minus the previous weeks/months ATR.
snapshotThe study plots a simple ATR band if the options for floating ATR are disabled.
ATRAverage True Range (ATR)

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