OPEN-SOURCE SCRIPT
Updated

AG Pro HTF Bias Dashboard [AGPro Series]

855
AG Pro HTF Bias Dashboard [AGPro Series]

Overview / What it does
AG Pro HTF Bias Dashboard is a higher-timeframe context tool built for traders who want a fast, structured view of directional conditions across multiple larger timeframes without crowding the chart with extra signals, zones, or decision noise.

The script summarizes higher-timeframe bias in a compact dashboard and presents each selected row as Bull, Bear, or Neutral, together with a mode-specific status readout. The goal is not to predict the next candle or replace a full trade plan. The goal is to make larger-timeframe context easier to read at a glance.

This indicator is designed to answer a simple but important workflow question: "What is the broader directional environment across the higher timeframes I care about right now?" Instead of forcing the user to manually flip through multiple charts and compare structure or trend conditions one by one, the dashboard keeps that information visible in a single panel.

The script supports multiple bias engines so the same dashboard can be adapted to different styles of chart reading. Users can evaluate higher-timeframe context through EMA Stack alignment, confirmed Swing Structure, SuperTrend direction, or MACD Momentum agreement. This makes the tool flexible enough for trend-following traders, structure-based traders, and users who prefer momentum-style confirmation.

Unlike many overlays that try to combine entries, exits, alerts, pattern detection, and signal generation inside one study, this script stays focused on one task: higher-timeframe directional context. That single-purpose design is intentional. It keeps the output clean, readable, and easier to integrate into an existing process.

Unique Edge
The main strength of this script is not signal generation. Its edge is structured context compression.

Instead of plotting a large number of higher-timeframe elements directly on the chart, AG Pro HTF Bias Dashboard converts higher-timeframe conditions into a compact visual matrix. This makes it possible to assess multi-timeframe agreement quickly while keeping the chart itself relatively clean.

A second differentiator is the ability to switch the bias engine. The dashboard is not locked to one interpretation framework. Users can work with:
- EMA Stack, for ribbon-style alignment
- Swing Structure, for confirmed HH/HL and LH/LL progression
- SuperTrend, for ATR-based directional trend state
- MACD Momentum, for momentum agreement between line, signal, and histogram

Another important detail is the higher-timeframe validity filter. Rows that are not actually higher than the current chart timeframe are marked as Lower/EQ instead of being treated as valid higher-timeframe context. This helps keep the dashboard aligned with its intended purpose.

The script also includes confluence logic, so the user can see not only the state of each row, but also the dominant higher-timeframe bias and how many valid rows support that direction. In practice, this helps users distinguish between broad directional agreement and mixed conditions.

Methodology
The dashboard can display three to five higher-timeframe rows, depending on user settings. Each row evaluates one selected timeframe and classifies it into Bull, Bear, or Neutral.

Bias Mode options:

1) EMA Stack
This mode evaluates directional alignment using a three-EMA structure. A bullish state requires price and the EMA ribbon to be aligned in bullish order. A bearish state requires the opposite alignment. When the full sequence is not aligned, the row can remain neutral and display a partial status such as 2/3 or 1/3 rather than forcing a directional label.

2) Swing Structure
This mode uses confirmed pivot logic to read higher-timeframe structure. It looks for confirmed higher highs / higher lows or lower highs / lower lows, and then evaluates position relative to the active swing range. Because this logic depends on confirmed pivots, structure changes are naturally more selective and may appear later than faster trend models.

3) SuperTrend
This mode reads directional state using an ATR-based trend framework. It is intended for users who prefer a cleaner directional state model rather than ribbon alignment.

4) MACD Momentum
This mode classifies bias through agreement between the MACD line, signal line, and histogram. It is useful for traders who prefer momentum confirmation over structure or moving-average ordering.

The dashboard then calculates:
- the number of valid bullish rows
- the number of valid bearish rows
- the dominant higher-timeframe state
- the confluence count across valid rows

Optional chart context features are also included. Depending on settings, the script can color candles according to the active chart bias, plot the active EMA ribbon or SuperTrend on the chart, apply a subtle background tint when confluence is strong enough, and show a compact mini context tag on the chart.

States / Context Output
This indicator is a context dashboard, not an alert engine.

It does not generate buy or sell alerts, does not mark trade entries, and does not claim to identify optimal execution points. Its outputs are state-based and contextual:
- Bull
- Bear
- Neutral
- Confluence summary
- Mode-specific status text

The mini chart tag, when enabled, is only a compact summary of dominant higher-timeframe direction and current confluence. It should be read as context, not as a trade instruction.

Key Inputs
Higher Timeframes
Users can select three to five rows and define the exact higher timeframes to monitor.

Bias Mode
Choose between EMA Stack, Swing Structure, SuperTrend, and MACD Momentum.

Engine Parameters
The script exposes relevant inputs for each engine, including EMA lengths, Swing Strength, SuperTrend ATR settings, and MACD settings.

HUD Controls
The panel position and panel scale can be customized so the dashboard can fit different layouts and chart styles.

Style Controls
Users can adjust theme and directional colors for bullish, bearish, and neutral states.

Chart Context Controls
Optional features include candle coloring, active indicator plotting for EMA / SuperTrend, strong-confluence background tinting, mini context tag visibility, tag anchor, tag offset, and tag font size.

Limitations & Transparency
This script is not a prediction model. It summarizes directional context from user-selected higher-timeframe logic.

Higher-timeframe tools can update only when data from those larger intervals updates. Because of that, the dashboard should be understood as a context layer rather than a real-time trigger engine.

Swing Structure mode uses confirmed pivots. That means structure changes may appear later than faster directional methods, because confirmation requires completed pivot information.

Neutral states do not necessarily mean the market is untradeable. They simply indicate that the selected bias engine does not currently show clear directional alignment under the chosen rules.

The confluence count is a summary statistic, not a quality score. A larger number of aligned rows does not automatically mean a better trade. It only means more selected higher-timeframe rows currently point in the same direction.

Rows marked Lower/EQ are excluded from valid higher-timeframe confluence because they are not above the active chart timeframe.

This script is intended to support discretionary analysis and chart organization. It should be combined with the user’s own execution framework, risk model, and market understanding.

Risk Disclosure
This indicator is provided for analysis and educational use. It does not provide financial advice, investment advice, or guaranteed outcomes.

Market conditions can change quickly, and no single indicator or dashboard can remove uncertainty from trading or investing. Users should evaluate higher-timeframe context together with price action, liquidity, volatility, risk management, and their own decision process.

Past behavior, historical alignment, or current confluence does not guarantee future performance.
Release Notes
Update Notes - V1.5

This update focuses on improving chart readability, dashboard clarity, and higher-timeframe context presentation while keeping the script visually cleaner and easier to interpret in live use.

What was improved in this version:

• Refined the dashboard presentation with a cleaner structure and a more polished header layout.
• Standardized the first panel row into a single merged title row for a more consistent AG Pro visual format.
• Kept the panel compact and readable so the script remains useful without dominating the chart.
• Preserved the higher-timeframe bias table while extending the summary section for a more complete context read.

Bias and context improvements:

• Improved the way higher-timeframe directional context is summarized across the selected rows.
• Expanded the dashboard summary so users can read confluence, chart-side bias, grade, and alignment more quickly.
• Improved the relationship between chart bias and higher-timeframe bias to make the context easier to understand at a glance.
• Kept the script focused on directional structure and context rather than signal overload.

Chart overlay and visual behavior:

• Added controlled chart-side context elements so the script leaves a visible footprint on the chart instead of functioning as a dashboard only.
• Introduced selective event labeling for higher-timeframe context changes and conflict states.
• Reduced visual noise by limiting label density and avoiding repetitive label printing.
• Balanced chart annotations so the script can still provide context without covering price action.
• Preserved a cleaner overall look by using sparse labeling logic instead of constant label repetition.

Labeling changes:

• Reduced excessive label clustering from earlier iterations.
• Kept only the more relevant context events visible by default.
• Improved the default behavior so only a small number of labels appear on the chart at one time.
• Maintained a more selective event flow to support a premium and readable layout.

General usability updates:

• Improved the default visual balance between the dashboard and the chart.
• Preserved the script as an analysis and context tool rather than a trade automation or prediction engine.
• Kept the output suitable for traders who want to monitor higher-timeframe directional pressure without filling the screen with unnecessary objects.
• Improved overall presentation quality for users who prefer a cleaner AG Pro style.

Notes on interpretation:

This script is designed to summarize higher-timeframe directional bias and chart-side context. It does not predict future price movement and it should not be treated as a standalone decision engine. The dashboard and chart annotations are intended to help users organize context, not replace trade planning, confirmation, or risk management.

Risk disclosure:

This script is for analysis and educational use. It does not guarantee outcomes, does not provide financial advice, and should be used together with independent judgment, confirmation logic, and risk controls.
Release Notes
Version 2.0 Update Notes

This update keeps the original HTF Bias Dashboard identity and strengthens the script where it matters most: faster visual recognition, cleaner chart presence, and a more premium top-down workflow.

What changed:

- Refined the public title to match the current AGPro Series standard: "HTF Bias Dashboard [AGPro Series]". The panel header still keeps the AG Pro identity.
- Rebuilt the visual palette around the AGPro dark blue dashboard style, with cleaner bullish, bearish, neutral, and accent colors.
- Added a new HTF Bias Corridor. When dominant higher-timeframe bias is strong enough, the script can project one active rectangular context lane around the selected baseline. This gives the dashboard a stronger chart footprint without turning it into a generic support/resistance tool or a value-band overlay.
- Added a Conviction Score to the dashboard. The score combines higher-timeframe dominance with chart-timeframe alignment so users can read the strength of the current context faster.
- Added a new Read row for cleaner state interpretation: Full Sync, Bias Lead, Conflict, Transition, Mixed Tape, or No HTF.
- Improved the dashboard hierarchy with a stronger first-row header, cleaner summary rows, and Normal as the default panel font size.
- Improved label ergonomics with restrained defaults, ATR-based offsets, cooldown control, max-visible limits, and sparse context markers.
- Polished all public-facing inputs with professional English tooltips.
- Removed AG Pro from alert messages and public indicator naming, while keeping AG Pro only inside the panel title as intended.
- Kept the script focused on higher-timeframe bias compression instead of expanding into a separate multi-method trend map or cross-timeframe value overlay.

Why this update matters:

The earlier version already did the core job: it summarized higher-timeframe directional context across selectable engines. Version 2.0 makes that information easier to trust at a glance. The dashboard now separates raw confluence, chart alignment, conviction, and state readout more clearly, while the optional HTF Bias Corridor gives the chart a premium visual anchor during strong directional environments.

The result is still a context dashboard, not a cluttered signal layer. It remains lightweight, focused, and compatible with discretionary top-down analysis while presenting a stronger public-facing AGPro Series look.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.