OPEN-SOURCE SCRIPT
6/20 Cloud Flip

EMA Cloud 6/20
A clean, minimal EMA cloud built on the 6 and 20 period exponential moving averages. The cloud automatically flips between bullish and bearish coloring based on which EMA is on top — green when the 6 EMA is above the 20 EMA, red when it flips below.
Features:
Cloud fill between the 6 and 20 EMA, colored by trend direction
EMA lines hidden by default for a clean chart — toggle on anytime
Fully customizable: adjust both EMA lengths, cloud colors, and line colors from the settings panel
Lightweight, overlay-based, works on any timeframe or instrument
Useful as a quick visual read on short-term trend bias, or as a component alongside other trend/momentum tools.
A clean, minimal EMA cloud built on the 6 and 20 period exponential moving averages. The cloud automatically flips between bullish and bearish coloring based on which EMA is on top — green when the 6 EMA is above the 20 EMA, red when it flips below.
Features:
Cloud fill between the 6 and 20 EMA, colored by trend direction
EMA lines hidden by default for a clean chart — toggle on anytime
Fully customizable: adjust both EMA lengths, cloud colors, and line colors from the settings panel
Lightweight, overlay-based, works on any timeframe or instrument
Useful as a quick visual read on short-term trend bias, or as a component alongside other trend/momentum tools.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.