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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.