OPEN-SOURCE SCRIPT
Multi MA-MTF + ATR

Multi MA-MTF + ATR is a lightweight, flexible moving-average toolkit built for clean charting and multi-timeframe context.
Key Features
Up to 10 Moving Averages (SMA / EMA / RMA / WMA / VWMA / HMA)
Per-MA controls:
Enable/disable
Type, Length, Source
Color + Width
MTF mode
Project to LTF: display a higher-timeframe MA on lower timeframes (example: show the 1H MA directly on the 5m/15m chart)
Only on that TF: show the MA only when the chart timeframe matches the selected TF
Confirmed option for higher-timeframe values (helps avoid repaint-like behavior by holding the last confirmed HTF value)
ATR Panel
ATR value table displayed on the chart
Optional ATR high/low lines (disabled by default)
Defaults
Only MA1–MA3 enabled by default (clean out of the box)
Default MA line width set to 1
ATR lines OFF by default
Important Note (If it “drifts” / appears off the price)
If the indicator looks “detached” or seems to drift, it’s usually because TradingView moved it into a separate pane.
Fix: click the three dots next to the indicator name → Move to → Main chart.
You can also remove and re-add the indicator to reset its placement.
Key Features
Up to 10 Moving Averages (SMA / EMA / RMA / WMA / VWMA / HMA)
Per-MA controls:
Enable/disable
Type, Length, Source
Color + Width
MTF mode
Project to LTF: display a higher-timeframe MA on lower timeframes (example: show the 1H MA directly on the 5m/15m chart)
Only on that TF: show the MA only when the chart timeframe matches the selected TF
Confirmed option for higher-timeframe values (helps avoid repaint-like behavior by holding the last confirmed HTF value)
ATR Panel
ATR value table displayed on the chart
Optional ATR high/low lines (disabled by default)
Defaults
Only MA1–MA3 enabled by default (clean out of the box)
Default MA line width set to 1
ATR lines OFF by default
Important Note (If it “drifts” / appears off the price)
If the indicator looks “detached” or seems to drift, it’s usually because TradingView moved it into a separate pane.
Fix: click the three dots next to the indicator name → Move to → Main chart.
You can also remove and re-add the indicator to reset its placement.
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.