OPEN-SOURCE SCRIPT
2 EMA Cloud

2 EMA Cloud is a clean, lightweight overlay indicator that plots two configurable EMAs (default 14 and 150) and fills the space between them to form an easy-to-read trend “cloud.” It also marks bullish and bearish EMA crossovers with configurable triangle signals and includes built-in alert conditions for both crossover directions.
Features
Two adjustable EMAs (default 8 & 13)
Cloud fill between EMAs for quick trend/phase visibility
Crossover signals
Bullish: EMA1 crosses above EMA2
Bearish: EMA1 crosses below EMA2
Signal sizing control (Tiny → Huge)
Visual modes / themes for cloud + signals:
Classic, Monochrome, Heatmap, Pastel, Dark, Neon (1/2), BlueScale, RedScale, GreenScale, PriceBased
Alerts included
“Bullish EMA Crossover”
“Bearish EMA Crossover”
How to use
Use the cloud + EMA alignment to gauge directional bias and momentum.
Use crossover markers as potential trend-change or continuation triggers depending on your strategy.
Switch to PriceBased color mode for simple visual confirmation (green when price is above EMA2, red when below).
Notes / Limitations
This is an EMA-based tool and will lag by design, especially in choppy markets.
Signals are not trade recommendations; consider using higher-timeframe context and risk management.
Inputs: EMA periods, show/hide EMA lines, cloud transparency, color mode, crossover signal size.
Features
Two adjustable EMAs (default 8 & 13)
Cloud fill between EMAs for quick trend/phase visibility
Crossover signals
Bullish: EMA1 crosses above EMA2
Bearish: EMA1 crosses below EMA2
Signal sizing control (Tiny → Huge)
Visual modes / themes for cloud + signals:
Classic, Monochrome, Heatmap, Pastel, Dark, Neon (1/2), BlueScale, RedScale, GreenScale, PriceBased
Alerts included
“Bullish EMA Crossover”
“Bearish EMA Crossover”
How to use
Use the cloud + EMA alignment to gauge directional bias and momentum.
Use crossover markers as potential trend-change or continuation triggers depending on your strategy.
Switch to PriceBased color mode for simple visual confirmation (green when price is above EMA2, red when below).
Notes / Limitations
This is an EMA-based tool and will lag by design, especially in choppy markets.
Signals are not trade recommendations; consider using higher-timeframe context and risk management.
Inputs: EMA periods, show/hide EMA lines, cloud transparency, color mode, crossover signal size.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.