OPEN-SOURCE SCRIPT
ที่อัปเดต: Multi_MA

Description:
Multi MA plots four moving averages on a single chart, letting you monitor short-, mid-, and long-term trends at a glance.
Features
Four moving averages with fully customizable lengths (defaults: 7, 21, 60, 120).
Selectable MA type applied to all four lines: SMA, EMA, RMA, WMA, or VWMA. Switch types instantly from a single dropdown.
Adjustable line width for each average, so you can emphasize the ones that matter most to you.
Cross marker that highlights every crossover between the third and fourth averages (default 60 and 120) — a common signal for shifts in the longer-term trend.
How to use
The fast lines (7, 21) track momentum and short-term direction, while the slower lines (60, 120) define the broader trend. When the 60 crosses the 120, a "Cross" label marks the event, helping you spot potential trend transitions. Adjust the lengths and MA type to fit your instrument and timeframe.
Works on any symbol and timeframe. Overlays directly on price.
Multi MA plots four moving averages on a single chart, letting you monitor short-, mid-, and long-term trends at a glance.
Features
Four moving averages with fully customizable lengths (defaults: 7, 21, 60, 120).
Selectable MA type applied to all four lines: SMA, EMA, RMA, WMA, or VWMA. Switch types instantly from a single dropdown.
Adjustable line width for each average, so you can emphasize the ones that matter most to you.
Cross marker that highlights every crossover between the third and fourth averages (default 60 and 120) — a common signal for shifts in the longer-term trend.
How to use
The fast lines (7, 21) track momentum and short-term direction, while the slower lines (60, 120) define the broader trend. When the 60 crosses the 120, a "Cross" label marks the event, helping you spot potential trend transitions. Adjust the lengths and MA type to fit your instrument and timeframe.
Works on any symbol and timeframe. Overlays directly on price.
Release Note
Update: Directional cross signals + alertsPreviously the indicator marked every crossover between the 60 and 120 moving averages with a single label, without distinguishing direction. This update splits that into two clearer signals:
Golden Cross — when the 60 MA crosses above the 120 MA (potential bullish trend shift), marked with a green "GC" label below the bar.
Dead Cross — when the 60 MA crosses below the 120 MA (potential bearish trend shift), marked with a red "DC" label above the bar.
Also added alert conditions for both events, letting you configure TradingView notifications straight from the indicator settings.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน