OPEN-SOURCE SCRIPT

Average True Range Level

已更新
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.
發行說明
New input: include or exclude any gaps in current bar range calculation.
發行說明
Added ATR Smoothing Input.
Added rounding to the symbol's mintick in the normalized ATR calculation.
Average True Range (ATR)Volatility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明