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. اقرأ المزيد في شروط الاستخدام.