OPEN-SOURCE SCRIPT
تم تحديثه Market Bias Monitor

Market Bias Monitor (MTF EMA Consensus Bias)
The Market Bias Monitor is a multi-timeframe EMA-based bias indicator that helps traders quickly assess whether market structure is aligned bullish, bearish, or mixed across multiple timeframes.
It uses an EMA structure of 8 / 21 / 50 across 10 timeframes, then aggregates those results into a single consensus bias signal. This helps reduce subjective chart reading and supports a more systematic top-down workflow.
How It Works
For each monitored timeframe, the script checks whether price and EMAs are aligned in a bullish or bearish structure.
Bullish condition
Bearish condition
If neither condition is fully met, that timeframe is treated as neutral.
The script then counts how many timeframes are bullish vs bearish. When the number of aligned timeframes reaches the user-defined minimum threshold (default: 5), it displays an overall bias using a background highlight.
Monitored Timeframes
Key Features
Typical Use Cases
Inputs
Notes
This indicator is designed as a bias and confirmation tool, not a standalone trading system. It works best when combined with price action, market structure, volume, and risk management.
Disclaimer
This script is for educational and analytical purposes only. It does not provide financial advice. Always use proper risk management.
The Market Bias Monitor is a multi-timeframe EMA-based bias indicator that helps traders quickly assess whether market structure is aligned bullish, bearish, or mixed across multiple timeframes.
It uses an EMA structure of 8 / 21 / 50 across 10 timeframes, then aggregates those results into a single consensus bias signal. This helps reduce subjective chart reading and supports a more systematic top-down workflow.
How It Works
For each monitored timeframe, the script checks whether price and EMAs are aligned in a bullish or bearish structure.
Bullish condition
- Price is above EMA 21
- EMA 8 > EMA 21
- EMA 21 > EMA 50
Bearish condition
- Price is below EMA 21
- EMA 8 < EMA 21
- EMA 21 < EMA 50
If neither condition is fully met, that timeframe is treated as neutral.
The script then counts how many timeframes are bullish vs bearish. When the number of aligned timeframes reaches the user-defined minimum threshold (default: 5), it displays an overall bias using a background highlight.
- Bullish consensus -> Green background
- Bearish consensus -> Red background
Monitored Timeframes
- 1W
- 1D
- 8H
- 6H
- 4H
- 3H
- 2H
- 1H
- 30M
- 15M
Key Features
- Multi-timeframe bias engine (10 timeframes)
- EMA consensus logic using 8 / 21 / 50
- User-defined consensus threshold
- Background bias highlight
- Optional EMA overlay
- Custom EMA colors and widths
- Contrarian mode (reversed bias coloring)
- Per-timeframe status table
- Table/text color customization
Typical Use Cases
- Directional filter (prefer longs in bullish consensus, shorts in bearish consensus)
- MTF confirmation for lower-timeframe setups
- Trend strength assessment based on timeframe agreement
- Bias shift monitoring via consensus/table changes
Inputs
- Minimum Timeframes for Consensus (default: `5`)
- Show EMAs (toggle)
- EMA Colors
- EMA Widths
- Contrarian Mode
- Table / Text color customization
Notes
This indicator is designed as a bias and confirmation tool, not a standalone trading system. It works best when combined with price action, market structure, volume, and risk management.
Disclaimer
This script is for educational and analytical purposes only. It does not provide financial advice. Always use proper risk management.
ملاحظات الأخبار
Minor Updateنص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.