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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน