OPEN-SOURCE SCRIPT

Average True Range Level

Atualizado
Overview
The indicator uses color-coded columns to represent different levels of normalized ATR, helping traders identify periods of high or low volatility.

Calculations
The normalization process involves dividing the current True Range by the Average True Range. The formula for normalized ATR in the code is:



How To Use
Level < 1
During periods when the normalized ATR is less than 1, suggesting a lower level of volatility, traders may explore inside bar strategies. These strategies focus on trading within the range of the previous bar, aiming to capitalize on potential breakout opportunities.

Level between 1 and 3
In instances where the normalized ATR falls between 1 and 3, indicating moderate volatility, a pullback strategy may be considered. Traders look for temporary corrections against the prevailing trend, entering positions in anticipation of the trend's resumption

Level between 2 and 3
Within the range of normalized ATR between 2 and 3, signifying a balanced level of volatility, traders might explore breakout strategies. These strategies involve identifying potential breakout levels using support and resistance or other indicators and entering trades in the direction of the breakout.

Level > 3
When the normalized ATR exceeds 3, signaling high volatility, traders should approach with caution. While not ideal for typical mean reversion strategies, this condition may indicate that the price has become overextended. Traders might wait for subsequent candles, observing a normalized ATR between 2 and 3, to consider mean reversion opportunities after potential overpricing during the high volatility period.

* Note: These strategies are suggestions and may not be suitable for all trading scenarios. Traders should exercise discretion, conduct their own analysis, and adapt strategies based on individual preferences and risk tolerance.
Notas de Lançamento
New input: include or exclude any gaps in current bar range calculation.
Notas de Lançamento
Added ATR Smoothing Input.
Added rounding to the symbol's mintick in the normalized ATR calculation.
Average True Range (ATR)Volatility

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