OPEN-SOURCE SCRIPT
ATR + Moving Average

This indicator shows a manually calculated Average True Range (ATR) along with a moving average of the ATR.
The ATR measures current candle volatility.
The ATR Moving Average shows the average candle size over the selected period.
Both can use different smoothing types (RMA, SMA, EMA, WMA) for flexibility.
It’s useful for seeing when price is stretched, volatility is expanding or contracting, and for higher-timeframe mean-reversion analysis.
The ATR measures current candle volatility.
The ATR Moving Average shows the average candle size over the selected period.
Both can use different smoothing types (RMA, SMA, EMA, WMA) for flexibility.
It’s useful for seeing when price is stretched, volatility is expanding or contracting, and for higher-timeframe mean-reversion analysis.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.