OPEN-SOURCE SCRIPT
Diupdate

Session Bias Relay Map [AGPro Series]

720
Session Bias Relay Map [AGPro Series]

🧠 Core Idea

Did Asia, London, and New York pass the same bias forward, or did the next session reject the market narrative?


📌 Overview / What it does

Session Bias Relay Map is an intraday session-structure tool built to visualize how directional bias moves from one major trading session to the next.

The script tracks Asia, London, and New York session ranges, scores each session's directional bias, and classifies whether the active session confirms, conflicts with, or reverses the previous session's narrative.

It does not predict price direction, automate trades, or claim that a session handoff must continue. It is a structured visualization and decision-support map for session bias, market narrative, and intraday context.


🎯 Purpose & Design Philosophy

Many session tools draw boxes, highs, lows, or kill zones.

This script was built to answer a more contextual question:

Did the next major session accept the prior session's directional story, or did it break the handoff?

The design goal is to help traders read sessions as a relay of market intent instead of isolated time windows. It supports discretionary market reading, session review, and intraday structure analysis.


⚡ Why This Script Is Different

Most session indicators focus on time blocks, session highs, and session lows.

This script does NOT stop at drawing session boxes.

Instead, it evaluates how each session behaves relative to the prior session. It scores bias strength, detects handoff confirmation, identifies conflict, and highlights reversal pressure when the active session builds a strong opposite narrative.


⚙️ Methodology

1. Session Detection

The script tracks configurable Asia, London, and New York session windows using the chart symbol's exchange timezone.

2. Session Range Mapping

For each session, it records open, high, low, close, midpoint, bar count, and live range behavior.

3. Bias Scoring

Session bias is scored using body pressure, close location inside the session range, and optional relative volume confirmation.

4. Relay Evaluation

London is compared against the completed Asia bias.

New York is compared against the completed London bias.

5. Visual Output

The chart displays session boxes, midpoint rails, centered session labels, relay event labels, right-side tags, alerts, and a compact AG Pro decision panel.


🗺️ How to Read the Chart

Session Boxes = the active session range built from each configured time window.

Centered Labels = the session name, current bias, relay state, and quality score.

Midpoint Rails = the middle of each session range, useful for reading control and balance.

Relay Event Labels = confirmation, conflict, or reversal events when a later session responds to the prior session.

Right-Side Tags = the current relay state and active session bias.

Panel = summarizes active session, relay state, bias score, prior session, session quality scores, next context, and timeframe scope.


🚦 Signals & States

• RELAY CONFIRMED → the active session supports the previous session's directional bias.

• RELAY REVERSAL → the active session builds strong bias opposite to the previous session.

• BIAS CONFLICT → the active session does not clearly confirm the previous session.

• FIRST LEG → Asia is building the first session bias for the daily relay.

• WAIT HANDOFF → the active handoff does not yet have enough evidence.

• BULLISH → the session is closing with bullish range pressure.

• BEARISH → the session is closing with bearish range pressure.

• NEUTRAL → the session does not have enough directional pressure.


🔔 Alerts Logic

Alerts trigger when a major relay state appears.

• Session Bias Relay Confirmed → the active session confirmed the directional bias passed from the previous session.

• Session Bias Conflict → the active session failed to confirm the previous session and is showing conflict.

• Session Bias Reversal → the active session built strong bias opposite to the previous session.

Alerts are attention markers, not trade instructions.


🧩 Confluence Logic

The context becomes stronger when:

• The previous session has a clear directional bias
• The active session has enough bars to evaluate
• The active session bias score is above the confirmation threshold
• Price closes with clear range position
• Relative volume supports participation
• The relay label and panel state agree

If these elements do not align, the script avoids forcing a strong directional interpretation.


📊 When to Use

• Intraday session analysis
• Forex, crypto, index futures, and liquid stock index products
• Asia-to-London handoff review
• London-to-New-York handoff review
• Market narrative tracking
• Session range and bias studies
• 15m, 30m, 1H, and 2H charts


⚠️ When NOT to Use

• Daily, weekly, or monthly charts
• Very low-liquidity symbols
• Markets with irregular or meaningless session windows
• Extremely noisy conditions where session closes do not carry useful information
• Situations where a single session should not be over-interpreted
• Symbols where the chart exchange timezone does not match the intended session model


🎛️ Key Inputs

• Asia Session → defines the first session window used to build the initial bias.

• London Session → defines the second session window used to evaluate the Asia handoff.

• New York Session → defines the third session window used to evaluate the London handoff.

• Max Chart TF Minutes → limits the largest timeframe that should build the relay map.

• Bias Confirmation Threshold → controls how strong a session must be before it can confirm a relay.

• Conflict Threshold → controls when a session is treated as weak or conflicted.

• Minimum Handoff Bars → prevents early-session noise from printing premature relay labels.

• Use Volume Confirmation → adds relative volume pressure to the bias score.

• Show Session Boxes → controls the main visual range boxes.

• Show Relay Event Labels → controls confirmation, conflict, and reversal labels.

• Label Font Size → controls chart label and tag text size.

• Panel Font Size → controls panel text size.


🖥️ Interface & Visual Design

The visual hierarchy is built around the session relay story.

Session boxes define the time windows.

Centered labels make each session readable without hunting through the chart.

Relay labels highlight the important handoff moments.

Right-side tags keep the current state visible.

The AG Pro panel summarizes the active session context in a clean, compact format.


🧪 Practical Usage Workflow

1. Choose session windows that match the market being studied.

2. Let Asia build the first bias leg.

3. Watch whether London confirms, conflicts with, or reverses Asia.

4. Watch whether New York confirms, conflicts with, or reverses London.

5. Use the panel to check relay state, active bias, quality score, and timeframe scope.

6. Interpret the result inside broader market structure, liquidity, and volatility context.


🔍 Interpretation Guidelines

A relay confirmation does not guarantee continuation. It means the active session is supporting the prior session's directional bias according to the script's rule set.

A relay reversal does not guarantee a full trend reversal. It means the active session is building strong opposite pressure relative to the previous session.

A bias conflict is not a failure. It is useful information that the market narrative is not clean.

The best use is contextual: combine the relay state with support, resistance, liquidity, volume, and higher-timeframe structure.


🚫 What This Script Is NOT

This script is not a prediction engine.

It is not financial advice.

It is not an auto-trading system.

It does not provide guaranteed entry or exit signals.

It is not a generic session box indicator.

It is not a kill-zone strategy.


⚠️ Limitations & Transparency

Session settings matter. Poorly selected session windows can produce weak or misleading context.

Timeframe differences can affect how session handoffs appear.

Low-liquidity markets can distort bias scores.

Markets with irregular trading hours may need custom session inputs.

Relative volume can help, but it does not guarantee better interpretation in every market.


🧠 Market Context Notes

Session behavior is often shaped by liquidity, regional participation, volatility expansion, and macro timing.

The same relay state can mean different things depending on whether the market is trending, ranging, or reacting to news.

The script is strongest when used as a narrative map, not as a standalone decision machine.


🧾 Use Case Examples

• If Asia builds a bullish range and London also closes with strong bullish pressure, the relay may show confirmation.

• If Asia builds bullish pressure but London quickly forms strong bearish pressure, the relay may show reversal.

• If London begins with weak movement and no clear range pressure, the relay may show conflict or wait for more evidence.


🧱 System Philosophy

Session Bias Relay Map is part of the AGPro Series approach to decision-support tools:

clear structure, premium chart readability, honest interpretation, and no promise of certainty.

The goal is to help traders see market context faster without turning analysis into signal spam.


🔐 Non-Promise Statement

No script can know the future.

No session handoff is guaranteed.

No signal should be interpreted without broader market context.


📉 Risk Disclosure

Trading involves risk.

Markets can move unpredictably.

This script is for educational and analytical purposes only.

It does not provide financial advice or guaranteed trading outcomes.

Users remain responsible for their own decisions.


📚 Educational Note

Use this script to study how market participation changes across sessions.

The value is not only in the label. The value is in learning how the session narrative develops, confirms, conflicts, or reverses over time.
Catatan Rilis
🔧 UPDATE NOTES - V1.1

This update focuses on readability, intraday chart clarity, panel contrast, and cleaner public-release presentation.

The core purpose of the script remains unchanged.
This release improves how the existing session relay logic is presented, organized, and interpreted on the chart.

This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.


------------------------
What Changed
------------------------

• Refined session box labels.
Centered session labels now use cleaner two-line text, premium casing, and contrast-aware text colors.

• Improved relay event labels.
London and New York handoff labels now use shorter readable text while preserving the relay score.

• Strengthened right-side tags.
Relay state and active session bias tags now use safer foreground colors for better readability.

• Rebuilt the AG Pro panel surface.
The panel now uses stronger dark-theme contrast, alternating rows, and the standard merged blue header row.

• Expanded panel placement options.
The panel can now be placed across the full standard set of chart locations.


------------------------
Visual Improvements
------------------------

• Improved chart readability by adjusting session labels, event labels, and right-side tags

• Reduced visual clutter while keeping session handoffs visible

• Refined visual hierarchy so relay confirmation, conflict, and reversal states stand out more clearly

• Adjusted label wording to avoid oversized single-line text blocks


------------------------
Interface & Usability
------------------------

• Optimized panel layout for clearer information flow

• Improved label readability for better chart interaction

• Kept intraday timeframe guidance visible inside the panel

• Enhanced overall user experience without changing core logic


------------------------
Behavior Notes
------------------------

This update does not change the core analytical logic of the script.

The goal is to improve clarity and usability, not to introduce new predictive behavior.

Users should interpret outputs the same way as before, but with improved visual structure.


------------------------
Limitations Reminder
------------------------

The script remains a rule-based analytical tool.

Session behavior is best interpreted on intraday charts where Asia, London, and New York handoffs can be mapped precisely.

Outputs should always be interpreted within broader market context.


------------------------
Risk Reminder
------------------------

This script is for educational and analytical purposes only.

It does not provide financial advice or guaranteed trading outcomes.

Users remain responsible for their own decisions.
Catatan Rilis
🔧 UPDATE NOTES - v1.2

This update focuses on chart readability and trade decision support.

The core purpose of the script remains unchanged. This release improves how the existing relay logic is presented on the chart and adds a self-measured reliability readout. It continues to function as an analytical and visualization tool. It does not attempt to predict price direction or provide guaranteed outcomes.


------------------------
What Changed
------------------------

• Added a Relay Hit Rate readout.
After each directional relay (Confirm or Reversal), the script waits a configurable proof window and checks whether price actually followed the relayed direction, then reports an honest, self-measured success rate in the panel.

• Event labels are no longer buried inside candles.
Confirm prints below price, Reversal and Conflict print above, all offset by ATR so each handoff marker stays clearly readable.

• Ended session boxes now fade into a clean color-coded archive.
Their floating badge is removed and bias is encoded directly by box color (teal bullish, pink bearish, amber conflict), so the recent zone stays uncluttered even when several sessions sit in a tight price band.

• Active session boxes were given a stronger, more balanced presence.
The live session stands out without overwhelming wide-range days.

• Right-side tags were tightened and re-spaced.
The relay state and current bias tags now sit closer to price and never overlap each other.


------------------------
Visual Improvements
------------------------

• Improved chart readability by repositioning event labels off candle bodies.

• Reduced visual clutter by fading ended sessions into clean colored boxes.

• Refined visual hierarchy so the active session and current relay state stand out first.

• Adjusted right-side tag projection and spacing for a more compact, premium layout.


------------------------
Interface & Usability
------------------------

• Added a Relay Hit Rate row to the panel for at-a-glance reliability context.

• Improved label readability across event, session, and right-side tags.

• Adjusted default box and label styling for a more balanced appearance.

• Enhanced overall user experience without changing the core relay logic.


------------------------
Behavior Notes
------------------------

This update does not change the core analytical logic of the script.

The goal is to improve clarity and usability, not to introduce new predictive behavior.

Users should interpret outputs the same way as before, but with improved visual structure and an added reliability reference.


------------------------
Limitations Reminder
------------------------

The script remains a rule-based analytical tool.

Market conditions such as volatility, liquidity, and timeframe differences may affect how signals and the hit rate appear.

Outputs should always be interpreted within broader market context.


------------------------
Risk Reminder
------------------------

This script is for educational and analytical purposes only.

It does not provide financial advice or guaranteed trading outcomes.

Users remain responsible for their own decisions.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.