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.
Release Note
Minor Updateสคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน