OPEN-SOURCE SCRIPT
Atualizado

Market Bias Monitor

1 419
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
  • 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

  1. Directional filter (prefer longs in bullish consensus, shorts in bearish consensus)
  2. MTF confirmation for lower-timeframe setups
  3. Trend strength assessment based on timeframe agreement
  4. 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.
Notas de Lançamento
Minor Update

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.