PROTECTED SOURCE SCRIPT
تم تحديثه MTF Step EMA With Color

MTF Stepped EMA – Dynamic & Color-Coded (Green / Red / Yellow)
This indicator plots a higher-timeframe EMA as a stepped line (staircase style) directly on your current chart, with smart dynamic coloring:
- Green → The stepped EMA is actively rising (higher highs in the staircase) → bullish higher-timeframe momentum
- Red → The stepped EMA is actively falling (lower lows in the staircase) → bearish higher-timeframe momentum
- Yellow → The EMA has been flat (no new step) for a user-defined number of bars → consolidation / range phase
Features
• Fully dynamic – updates instantly when the higher-timeframe EMA changes
• Clean step-line style (plot.style_stepline) – no diagonal lines, pure staircase
• Automatic color switching based on the actual direction of the last step
• Yellow "flat" detection after X bars without movement (customizable)
• Thin reference line of the original smooth higher-timeframe EMA (optional)
• Very lightweight and repaints-free (uses proper request.security)
How to use
• Classic setup: Daily or Weekly EMA 50/200 on 1H or 4H charts
• Green steps → look for longs in lower timeframes
• Red steps → look for shorts
• Yellow → caution or stay out – higher timeframe is ranging
Perfect for multi-timeframe trend confirmation, pullback trading, and avoiding choppy markets.
Enjoy & trade safe!
This indicator plots a higher-timeframe EMA as a stepped line (staircase style) directly on your current chart, with smart dynamic coloring:
- Green → The stepped EMA is actively rising (higher highs in the staircase) → bullish higher-timeframe momentum
- Red → The stepped EMA is actively falling (lower lows in the staircase) → bearish higher-timeframe momentum
- Yellow → The EMA has been flat (no new step) for a user-defined number of bars → consolidation / range phase
Features
• Fully dynamic – updates instantly when the higher-timeframe EMA changes
• Clean step-line style (plot.style_stepline) – no diagonal lines, pure staircase
• Automatic color switching based on the actual direction of the last step
• Yellow "flat" detection after X bars without movement (customizable)
• Thin reference line of the original smooth higher-timeframe EMA (optional)
• Very lightweight and repaints-free (uses proper request.security)
How to use
• Classic setup: Daily or Weekly EMA 50/200 on 1H or 4H charts
• Green steps → look for longs in lower timeframes
• Red steps → look for shorts
• Yellow → caution or stay out – higher timeframe is ranging
Perfect for multi-timeframe trend confirmation, pullback trading, and avoiding choppy markets.
Enjoy & trade safe!
ملاحظات الأخبار
With Alertنص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.