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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.