PROTECTED SOURCE SCRIPT
Multi-TF 50 EMA Overlay (5m, 15m, 4H, 1D) + Trend Table

This script overlays the 50 EMA from four higher timeframes (5m, 15m, 4H, 1D) onto your current chart and shows a trend table so you can see at a glance whether each timeframe is Bullish, Bearish or Sideways.
What it does
Plots 50 EMA for:
5m (red)
15m (orange)
4H (blue)
1D (green)
Classifies each timeframe as:
Bullish – price above ema + band
Bearish – price below ema – band
Sideways – price inside a small band around the EMA
Displays a compact trend table in the top-right with timeframe + trend color.
How to use
Use the table to align your entries with higher-timeframe bias.
Look for confluence when multiple timeframes are Bullish or Bearish.
When most rows show Sideways, you may want to avoid new trades or lower risk.
Inputs
Sideways band % around EMA
Minimum number of agreeing timeframes for bias
This is a visual tool, it does not generate entries/exits — it’s designed to be combined with your own strategy or additional indicators.
What it does
Plots 50 EMA for:
5m (red)
15m (orange)
4H (blue)
1D (green)
Classifies each timeframe as:
Bullish – price above ema + band
Bearish – price below ema – band
Sideways – price inside a small band around the EMA
Displays a compact trend table in the top-right with timeframe + trend color.
How to use
Use the table to align your entries with higher-timeframe bias.
Look for confluence when multiple timeframes are Bullish or Bearish.
When most rows show Sideways, you may want to avoid new trades or lower risk.
Inputs
Sideways band % around EMA
Minimum number of agreeing timeframes for bias
This is a visual tool, it does not generate entries/exits — it’s designed to be combined with your own strategy or additional indicators.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.