PROTECTED SOURCE SCRIPT

Auto Market Bias Dashboard |TG|

53
Overview
The Auto Market Bias Dashboard is a Pine Script v5 indicator developed on the TradingView platform. This tool automatically calculates and visualizes the market bias for the selected asset (crypto, forex, or futures). By analyzing the market structure across different timeframes (Weekly, Daily, 4-Hour, 1-Hour), it identifies bullish, bearish, or neutral trends. Its main purpose is to provide traders with a quick summary to simplify the decision-making process. The indicator is optimized particularly for 1-hour and higher timeframes and issues warnings on lower timeframes.

How It Works?
The indicator uses a scoring system based on 7 fundamental questions for each timeframe. Each question evaluates market dynamics and assigns a score of +1 (bullish), -1 (bearish), or 0 (neutral):

Is the Trend in an Upward Direction? – The closing price is checked against the 20-period SMA.
Has the Previous Candle's High Been Breached? – For breakout analysis, the close is evaluated against the previous candle's high/low.
Was Respect Paid to PDA? (FVG/Sweep) – Market structure alignment is sought through Fair Value Gap (FVG) detection (calculated specifically for each TF).
Is Volume Increasing in the Direction of Price? – Volume is compared to its 20-period SMA and the candle direction (TF-specific).
Does the Correlated Asset Show the Same Bias? – Trend alignment is checked with the selected correlated asset (e.g., ES1!, MNQ1!, MES1!); neutral conditions are supported.
Market Structure – Reversal signals are sought through pivot high/low detection (high: bearish, low: bullish).
Has Volatility Increased? – ATR (14 periods) and its SMA (20 periods) are combined with the candle direction (TF-specific).

The total bias for each timeframe is calculated (/7). The overall bias combines the weekly score with double weighting ((Weekly × 2) + Daily + 4H + 1H = /28). Results:

Positive (>0): Bullish (Green) – Buying opportunity.
Negative (<0): Bearish (Red) – Selling opportunity.
Zero: Neutral (Silver) – Indecisive.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.