OPEN-SOURCE SCRIPT
ATR Multi Time Frame Display

An updated version to the simple ATR display. This updated version now give you an option to toggle on the 1 min ATR no matter what time frame you swap to. This also has an option to choose between RMA, SMA, EMA, or WMA. The smoothing method averages those True Range values over your chosen length, like 14 candles.
RMA
This is TradingView’s default ATR style and the classic Wilder ATR. It reacts smoothly without being too jumpy. If you’re unsure, start here. Good for general trading, stops, and position sizing.
SMA
Simple average. Every candle in the lookback has equal weight. It can feel a bit clunky because old high-volatility candles stay in the average until they suddenly drop off. Useful if you want a very plain “last 14 bars average range” reading.
EMA
More weight on recent candles, so it reacts faster when volatility expands or contracts. Good if you scalp, trade breakouts, or want stops/targets to adjust quickly. Downside: it can get jumpier.
WMA
Also weights recent candles more, often even more directly than EMA over the lookback. It can be responsive and clean, but may be too sensitive for some traders.
RMA is the best default because it’s the standard ATR most traders expect. If you find it lags too much on the 1-minute ATR, try EMA next.
RMA
This is TradingView’s default ATR style and the classic Wilder ATR. It reacts smoothly without being too jumpy. If you’re unsure, start here. Good for general trading, stops, and position sizing.
SMA
Simple average. Every candle in the lookback has equal weight. It can feel a bit clunky because old high-volatility candles stay in the average until they suddenly drop off. Useful if you want a very plain “last 14 bars average range” reading.
EMA
More weight on recent candles, so it reacts faster when volatility expands or contracts. Good if you scalp, trade breakouts, or want stops/targets to adjust quickly. Downside: it can get jumpier.
WMA
Also weights recent candles more, often even more directly than EMA over the lookback. It can be responsive and clean, but may be too sensitive for some traders.
RMA is the best default because it’s the standard ATR most traders expect. If you find it lags too much on the 1-minute ATR, try EMA next.
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.