PROTECTED SOURCE SCRIPT
Auto Market Bias Dashboard |TG|

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.
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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.