OPEN-SOURCE SCRIPT
Multiple EMA

Description:
Plots up to 9 EMAs on a single chart, combining short-term EMAs with three layers of the Vegas Tunnel — a strategy based on the EMA 144/169 pair — scaled across multiple timeframes.
EMA breakdown:
EMA1 (9), EMA2 (20), EMA3 (50) — standard short/mid-term trend EMAs
EMA4 (144) & EMA5 (169) — Vegas Tunnel for the 1m timeframe
EMA6 (432) & EMA7 (507) — Vegas Tunnel for the 3m timeframe (×3)
EMA8 (720) & EMA9 (845) — Vegas Tunnel for the 5m timeframe (×5)
How to use:
Apply to a 1-minute chart to see all three tunnel layers simultaneously.
Price trading between an EMA pair (the "tunnel") signals a consolidation/decision zone; a clean break and close outside the tunnel signals a potential trend entry.
The three layers provide confluence — when price breaks through all tunnels, the trend signal is stronger.
All lengths are customizable if you want to scale to different base timeframes.
Plots up to 9 EMAs on a single chart, combining short-term EMAs with three layers of the Vegas Tunnel — a strategy based on the EMA 144/169 pair — scaled across multiple timeframes.
EMA breakdown:
EMA1 (9), EMA2 (20), EMA3 (50) — standard short/mid-term trend EMAs
EMA4 (144) & EMA5 (169) — Vegas Tunnel for the 1m timeframe
EMA6 (432) & EMA7 (507) — Vegas Tunnel for the 3m timeframe (×3)
EMA8 (720) & EMA9 (845) — Vegas Tunnel for the 5m timeframe (×5)
How to use:
Apply to a 1-minute chart to see all three tunnel layers simultaneously.
Price trading between an EMA pair (the "tunnel") signals a consolidation/decision zone; a clean break and close outside the tunnel signals a potential trend entry.
The three layers provide confluence — when price breaks through all tunnels, the trend signal is stronger.
All lengths are customizable if you want to scale to different base timeframes.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน