Adaptive Forecast Bands [JOAT]Adaptive Forecast Bands
Introduction
Adaptive Forecast Bands is an open-source adaptive regression and mean-reversion framework. It estimates a live fair-value path from price, wraps that path in volatility-aware bands, and marks confirmed re-entry conditions only after the bar closes.
The problem this indicator solves is context around stretched price. A static moving average band can lag badly when volatility changes. Adaptive Forecast Bands uses a recursive regression engine, a live model error estimate, and an ATR blend so the envelope expands and contracts with current market behavior.
Core Concepts
1. Adaptive Regression Mean
The centerline is built from a persistent two-parameter regression state. The script uses normalized local time so the model does not depend on raw bar index growth over long histories.
forecastMean = beta0 + beta1 * xNorm
forecastErr = source - forecastMean
2. Error-Based Confidence Bands
Band width is derived from the model's exponentially weighted error plus an ATR component. This keeps the band reactive to both forecast error and realized volatility.
3. Confirmed Re-Entry Signals
The script arms a long or short setup when price reaches an outer band. A signal only prints when price confirms a re-entry back through the relevant band on `barstate.isconfirmed`.
4. Forecast Guide Lines
The right-edge guide projects the current regression slope forward for visual context. It is a guide, not a prediction, and is redrawn on the last bar to avoid object clutter.
Features
Adaptive fair-value line: Recursive regression centerline based on current price behavior
Volatility-aware envelope: Error variance and ATR combine to form dynamic upper/lower bands
Confirmed long/short labels: Re-entry signals use closed-bar logic
Right-edge forecast guide: Dashed and dotted guide lines show current slope context
Top-right dashboard: Bias, confidence, band width, slope, guide state, and signal state
Alert conditions: Long and short confirmed re-entry events
Input Parameters
Model:
Source: Price source used by the model
Forgetting Factor: How quickly the model adapts to new price information
Regression Horizon: Normalization horizon for the regression slope
Band Multiplier: Multiplier applied to model error
ATR Blend: Extra realized-volatility padding in the band width
Rebase Interval: Periodic reset to keep the adaptive model stable
How to Use This Indicator
Step 1: Use the centerline as an adaptive fair-value reference.
Step 2: Treat outer-band touches as stretched conditions, not immediate entries.
Step 3: Wait for confirmed re-entry labels when enabled.
Step 4: Read the dashboard confidence and slope before interpreting the signal.
Indicator Limitations
The right-edge guide is a visualization of current model slope, not a forecast guarantee
Mean-reversion signals can underperform during strong directional trends
The model periodically rebases by design to reduce long-history numerical drift
Signals are confirmed on closed bars and can appear after the intrabar extreme occurred
Originality Statement
Adaptive Forecast Bands is an original JOAT implementation combining normalized recursive regression, error-based confidence bands, ATR blending, confirmed re-entry logic, and a compact interpretive dashboard. It does not copy third-party source code.
Disclaimer
This open-source indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves risk, and historical behavior does not ensure future results. Always use proper risk management.
-Made with passion by jackofalltrades
Indikator

Crown Structure Ledger [JOAT]Crown Structure Ledger
Introduction
Crown Structure Ledger is an open-source market structure ledger built to classify price through three structural horizons at the same time: short-term, intermediate-term, and primary-term.
Instead of reducing structure to a single swing model, this script maintains separate rails for each horizon so users can see where local repricing, intermediate repricing, and larger campaign structure are currently positioned.
The indicator is designed to solve a common chart-reading problem:
Traders often know price is moving, but they do not know whether the move is merely a short-term impulse inside a larger range, an intermediate continuation, or a genuine primary expansion.
Crown Structure Ledger addresses that by combining:
confirmed pivot structure
active break state tracking
adaptive ATR corridors
EMA trend context
volume-pressure bias scoring
state-based candle coloring
forward structure projection
a top-right institutional dashboard
The output is intentionally visual but restrained.
Instead of cluttering the chart with excessive markers, the script emphasizes live structural rails, shaded corridors, confirmed state transitions, and a dashboard that summarizes the current condition of each structural layer.
Core Concepts
1. Three-Horizon Structure Mapping
The script confirms three separate pivot systems using different left/right lengths.
This creates a short-term layer for local impulse, an intermediate layer for swing control, and a primary layer for broader directional structure.
Each confirmed pivot updates its own active rail instead of overwriting the other layers.
2. Confirmed Break Logic
Break states are only recognized on confirmed bars.
This means the script does not react to intrabar spikes through a level.
A structural state changes only when price closes through a live rail beyond a small corridor allowance.
3. Adaptive Structure Corridors
Every rail is wrapped in an ATR-based corridor.
When adaptive depth is enabled, the corridor expands or contracts according to volatility conditions so the structure model stays usable across slow and fast environments.
4. Pressure-Weighted Bias
The indicator includes a directional pressure score based on up-volume versus down-volume across a configurable window.
That pressure score is combined with EMA orientation and structure state to create a bias color system rather than a binary trend flag.
5. Forward Projection
Current structural rails can be extended forward so the user can see where the next important structural interaction is likely to occur without manually drawing continuation levels.
Features
Three structure horizons: short, intermediate, and primary rails tracked independently
Adaptive structure corridors: live ATR-based zones around active rails
Confirmed structural transitions: break states only update on confirmed bars
Break labels: optional state labels appear when a new structural expansion or compression is confirmed
EMA trend filter: fast and slow EMA alignment supports the structure interpretation
Volume-pressure bias model: directional pressure is estimated from relative up-volume and down-volume
Bias cloud: optional background cloud reflects broader directional control
Candle coloring: bars can be colored from bearish to bullish using a gradient-like bias response
Forward corridor projection: active rails can extend to the right edge of the chart
Institutional dashboard: top-right summary of structure state, bias, pressure, and live rail context
Input Parameters
Structure Engine
Short Pivot Length
Intermediate Pivot Length
Primary Pivot Length
Structure Corridor ATR
Adaptive Corridor Depth
ATR Length
Bias Filter
Fast EMA
Slow EMA
Pressure Window
Color Candles
Show Structure Cloud
Show Structure Rails
Show Break Labels
Visual System
Show Short Term
Show Intermediate Term
Show Primary Term
Show Forward Corridor
Forward Corridor Bars
Dashboard Position
Dashboard Size
How to Use This Indicator
Step 1: Read the Three States Separately
Start by checking whether short-term, intermediate-term, and primary-term structure agree.
When all three align, the chart is in a cleaner directional condition.
When they diverge, the market is often transitioning or rotating.
Step 2: Watch the Active Rails
The live rails mark the current structural boundaries that still matter.
These are the levels price must reclaim or lose to produce a confirmed structural update.
Step 3: Use the Corridors, Not Just the Line
The corridor around a rail is intentional.
It helps avoid overreacting to shallow level breaches in noisy conditions.
Step 4: Read the Bias Cloud and Candle Tone Together
If candle color, pressure bias, and the structure cloud all point in the same direction, the chart context is stronger than a single rail break by itself.
Step 5: Use the Dashboard as a Summary, Not a Shortcut
The dashboard is there to reduce scanning time.
It is best used as a summary of what the rails are already showing visually.
Indicator Limitations
Pivot-based structure confirms after the configured right-side bars complete, so signals are intentionally delayed for non-repainting behavior
Very aggressive settings can make the short-term layer overly sensitive on low-quality markets
In prolonged compression, structure may appear stable while directional follow-through remains weak
The indicator explains current structure; it does not guarantee continuation after a break
Originality Statement
Crown Structure Ledger is built around a layered structure ledger rather than a single swing map.
Its distinguishing value comes from maintaining three live structure horizons with adaptive corridors, pressure-aware bias scoring, forward projection, and a dashboard that keeps the chart readable while still exposing the full state of the engine.
Disclaimer
This indicator is provided for educational and informational purposes only.
It is not financial advice and should not be treated as a recommendation to buy or sell any financial instrument.
All structural readings are derived from historical price and volume data and can fail in abnormal market conditions.
Always use independent judgment and risk management.
Indikator

Aureate Market Architecture Strategy [JOAT]Aureate Market Architecture Strategy
Introduction
Aureate Market Architecture Strategy is an open-source TradingView strategy that integrates regime classification, structure bias, breakout pressure, liquidity confirmation, and risk management into one confirmed-bar execution model.
The strategy is built for users who want a rules-based implementation of the broader JOAT architecture rather than a single-indicator signal stream.
Its design goal is not to maximize trade count.
Its design goal is to trade only when multiple independent conditions agree:
the market is in an expansion-permitted regime
structure bias supports direction
pressure is strong enough to justify participation
liquidity context confirms the move
risk and daily drawdown constraints allow a new position
This produces a strategy that is intentionally selective and explicitly non-repainting.
Core Concepts
1. Regime Detection
The strategy classifies the market into accumulation, expansion, or exhaustion using ATR behavior, balance width, and normalized breakout pressure.
A persistence requirement prevents the regime state from flipping too quickly.
2. Structure Bias Filter
Directional participation is gated by confirmed medium-term structural breaks, EMA orientation, and price location relative to the fast EMA.
An optional higher-timeframe bias filter can be added using completed higher-timeframe candles only.
3. Pressure Confirmation
Breakout pressure is derived from a composite of multiple ROC windows and smoothed into an adaptive signal.
The strategy does not permit entries unless that signal exceeds its volatility-adjusted threshold.
4. Liquidity Context
The strategy estimates upper and lower liquidity anchors, counts relative touch density, and looks for sweep failure behavior to confirm whether the current move has supportive liquidity context.
5. Risk and Exit Stack
Every position uses an initial stop, a take-profit target based on risk multiple, an adaptive trailing component, a daily loss lockout, and a cooldown after exit.
Features
Three-state regime engine: accumulation, expansion, and exhaustion
Persistence logic: regime changes require confirmation across multiple bars
Structure bias filter: confirmed BOS logic combined with EMA alignment
Optional HTF bias filter: completed higher-timeframe candles only
Adaptive breakout pressure: multi-window ROC model normalized by its own volatility
Liquidity confirmation: anchor touches, sweep failures, and relative-volume support
Long and short entry logic: both directions use the same confirmed-bar architecture
Risk management: ATR-based initial stop, target, trailing logic, and daily loss control
Cooldown control: prevents immediate re-entry after an exit
Dashboard and chart overlays: display current state, active bias, and risk context
Default Strategy Properties
Initial Capital: 100000
Order Size: 10% of equity
Commission Model: Percent
Commission Value: 0.01
Pyramiding: 0
Calc On Order Fills: enabled
Calc On Every Tick: disabled
Input Parameters
Regime Engine
Regime ATR Length
Regime Baseline Length
Balance Window
Accumulation Volatility Threshold
Expansion Volatility Threshold
Regime Persistence Bars
Structure Bias
Short Pivot
Medium Pivot
Fast EMA
Slow EMA
Use Confirmed HTF Bias Filter
HTF Bias Timeframe
Breakout Pressure
Fast ROC
Medium ROC
Slow ROC
Macro ROC
Pressure Smoothing
Pressure Threshold Multiplier
Liquidity Context
Liquidity Window
Sweep Depth ATR
Relative Volume Floor
Risk Management
Initial Stop ATR
Take Profit R Multiple
Trail ATR Multiple
Daily Lockout %
Cooldown Bars After Exit
How to Use This Strategy
Step 1: Treat the Regime as the First Gate
The strategy only wants to be active in the expansion state.
If the dashboard shows accumulation or exhaustion, the system is designed to be more selective or inactive.
Step 2: Check Directional Alignment
The cleanest trades occur when structure bias, EMA alignment, pressure, and liquidity all support the same side.
Step 3: Respect the Risk Model
The stop, target, trail, and daily lockout are part of the strategy logic.
They should not be ignored when evaluating results.
Step 4: Expect Selectivity
This strategy is built to filter aggressively.
Users looking for frequent trades may need different settings or a different methodology.
Step 5: Evaluate Over Enough Trades
No strategy should be judged from a very small sample.
Assess it across enough market conditions to understand where the architecture performs well and where it degrades.
Strategy Limitations
This strategy uses chart-derived liquidity and regime approximations rather than exchange microstructure data
Selective filters can reduce trade frequency substantially on some instruments and timeframes
Backtest results depend on instrument, timeframe, commission, slippage assumptions, and session behavior
Non-repainting logic reduces false signals but can also introduce later entries than predictive systems
Originality Statement
Aureate Market Architecture Strategy is original in the way it integrates regime state, structural confirmation, normalized pressure, liquidity context, and layered risk controls into one coherent execution model.
The purpose of the integration is practical: each component addresses a different failure mode that appears when breakout systems rely on only one dimension of evidence.
Disclaimer
This strategy is provided for educational and informational purposes only.
It is not financial advice and does not guarantee profitability.
Backtest outcomes are hypothetical and derived from historical data.
Live trading includes slippage, execution variance, and market conditions that can differ materially from historical results.
Strategi

Trend Bias Oscillator**Trend Bias Oscillator (TBO)**
---
The Trend Bias Oscillator tracks where price sits within its current trend — not just whether it's bullish or bearish, but *how far along* it is within that move. It normalizes that position to a clean ±100 scale, so readings are consistent across any instrument or timeframe.
When the market is in a bullish structure, the oscillator rises toward +100 as price pushes toward the top of the established range, and pulls back toward zero on retracements. When structure is bearish, it falls toward -100 as price drops, and recovers toward zero on bounces. If price breaks beyond the known range entirely, the oscillator pins at ±100 — a sign of extension.
Structure shifts when price closes decisively above a prior swing high (bullish flip) or below a prior swing low (bearish flip). Once flipped, the bias holds until the opposite level is broken — so the oscillator stays on one side of zero for the entire duration of a trend, not just the bar the signal fired on.
The optional signal line smooths the raw oscillator, making it easier to spot when momentum is building or fading within the current bias. A widening gap between the histogram and signal line suggests continuation. Compression back toward the line suggests a pause or potential reversal ahead.
---
**What makes TBO different**
Most oscillators measure momentum or price position in isolation — they have no awareness of whether the market is in a defined trend or not. RSI, Stochastic, and similar tools will oscillate freely regardless of structure, which means a reading of 70 looks the same in a strong uptrend as it does in the middle of a range.
TBO is different because the oscillator only activates and measures depth *after* a confirmed structural break. Until price breaks a prior swing high or low with a closed bar, the oscillator stays at zero — explicitly signaling that no defined bias exists. Once a break is confirmed, TBO then continuously measures how deep price has traveled into that trend, using the opposing swing level as its reference point rather than an arbitrary lookback window or moving average.
This means TBO doesn't just tell you which direction the market is leaning — it tells you *how committed* it is to that direction at any given moment. A reading compressing back toward zero during an uptrend is a retracement warning. A reading pushing toward +100 is trend continuation. The context is structural, not statistical.
There are indicators on TradingView that normalize price within a range, and others that detect market structure breaks. TBO combines both into a single, continuously updated reading — making it a genuinely different tool rather than a variation on existing oscillator formulas.
---
**Inputs**
**Bars Left** *(default: 20)*
How many bars to the left define a swing point. Higher values find bigger, more meaningful swings. Lower values are more sensitive and react faster.
**Bars Right** *(default: 5)*
How many bars to the right are needed before a swing is confirmed. Lower values confirm faster but can be noisier. This setting also controls how much lag the indicator has — a value of 5 means pivots confirm 5 bars after they form.
**Non-Repaint Mode** *(default: on)*
Ensures structure bias can only flip on a fully closed bar — a signal triggered intrabar will never fire and then disappear before the candle closes. The oscillator value itself will still update in real time as price moves within the current bar, which is normal and expected. What non-repaint protects is the structural flip — that moment when bias switches from bullish to bearish or vice versa. Turning this off allows real-time bias changes but signals may repaint on unclosed candles.
**Show Signal Line** *(default: on)*
Toggles the smoothed line over the histogram on or off.
**Signal Type** *(default: EMA)*
The smoothing method used for the signal line. EMA reacts fastest, SMA is straightforward, WMA weights recent bars more heavily, and RMA (Wilder's) is the smoothest and slowest. Personal preference — try EMA or RMA first.
**Signal Length** *(default: 5)*
How many bars the signal line looks back over. Shorter values follow the oscillator closely. Longer values produce a smoother line that only moves on sustained shifts.
**Signal Color** *(default: blue)*
The color of the signal line, adjustable via the color picker.
**Signal Line Width** *(default: 1)*
The thickness of the signal line. Ranges from 1 to 4.
---
**Reference Lines**
| Level | What it means |
|---|---|
| +100 | Price fully extended in bullish structure |
| +50 | Price in the upper half of the bullish range |
| 0 | No bias established, or structural midpoint |
| -50 | Price in the lower half of the bearish range |
| -100 | Price fully extended in bearish structure |
---
**A few things worth knowing**
Swing pivots confirm with a small natural delay — this is intentional and keeps the indicator from repainting. On very choppy or ranging markets, structure will flip frequently and the oscillator will hover near zero. This is the indicator working as designed, not a malfunction — it simply means no clean trend structure exists at that time. Stepping up to a higher timeframe usually clarifies the picture.
The oscillator value moving on the live bar is normal behavior and not repainting. Non-Repaint Mode specifically prevents structure bias from flipping until a bar fully closes, ensuring signals are never triggered and then taken back within the same candle. Indikator

Indikator

Indikator

Indikator

Session Bias Relay Map [AGPro Series]Session Bias Relay Map
🧠 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.
Indikator

Indikator

Bias Engine ICT ConceptBias Engine - ICT Concept
Bias Engine is a market context tool built around ICT (Inner Circle
Trader) methodology. It reads directional bias, identifies draw
targets, and tracks key liquidity levels across multiple timeframes all displayed in a single compact panel.
Most ICT traders manage 4 to 6 separate tools to get the same
picture. This indicator consolidates that context into one place.
WEEKLY AND DAILY LEVELS
Tracks the previous week high/low (PWH/PWL) and previous day
high/low (PDH/PDL) with real-time status for each level:
Active: level is intact, not yet tested
Sweep: price ran through and closed back inside
Delivering: price broke and is moving toward the next FVG
Liq Grab: price broke without a draw target on the other side
Levels update automatically at the start of each new week and day.
The weekly range box and equilibrium midpoint (EQ) are drawn on
the chart for quick visual reference.
FVG AND VOLUME IMBALANCE DETECTION
Detects four zone types on the chart:
BISI (Bullish FVG): three-candle gap, price leaving upward
SIBI (Bearish FVG): three-candle gap, price leaving downward
VI+ (Volume Imbalance, bullish)
VI- (Volume Imbalance, bearish)
All zones track mitigation in real time. When price fills a zone,
it converts to an IFVG (Inverse FVG) reference. Zone lookback
scales automatically by timeframe or can be set manually.
MULTI-TIMEFRAME STRUCTURE
Scans four timeframes simultaneously (4H / 1H / 30M / 15M) for:
BOS (Break of Structure)
CHoCH (Change of Character)
MSS (Market Structure Shift)
MSS + IFVG confluence
Each timeframe votes toward the overall bias direction. The
confluence count (e.g. 3/4 or 4/4 in agreement) feeds directly
into the confidence score shown in the panel.
BIAS ENGINE
The core engine evaluates directional bias using FVG-to-FVG path
logic. It identifies which zone price is drawing from and which
zone it is likely delivering toward next.
DELIVERY
Direction: Buyside Delivery or Sellside Delivery
Confidence: High / Medium / Low
Drawing To: the most likely next price target
Structure: MSS / CHoCH / BOS with MTF alignment
CONFLUENCE
MTF agreement across 4H / 1H / 30M / 15M (checkmarks)
Reason: plain-language explanation of the bias logic
Fill First: nearest opposing zone to rebalance before target
Next Target: closest zone in the direction of bias
POSITION
Whether price is in Discount or Premium relative to weekly EQ
Real-time FVG context if price is currently inside a zone
SESSION
Active killzone and countdown, or next session and time until open
PANEL MODES
Pro Mode: full output including delivery, confluence, structure,
draw targets, and position context.
Beginner Mode: simplified view showing session countdown, key
levels (Week High/Low, Day High/Low), and plain-language position
labels. The bias engine still runs in the background.
HOW TO USE
Recommended timeframes: 15M or 1H for intraday execution context.
Step 1 - Check DELIVERY. This is the current bias direction and how confident the engine is in that read.
Step 2 - Check DRAWING TO. This is the most probable target price is moving toward. It prioritizes zones beyond the weekly range over intra-range targets.
Step 3 - Check STRUCTURE. Confirms whether a valid MSS or BOS supports the bias. MSS + IFVG is the highest confluence signal.
Step 4 - Check POSITION. Confirms whether price is at a logical area to enter relative to the weekly equilibrium.
A valid read requires alignment across all four steps.
This indicator does not generate buy or sell signals. It provides
market context for traders to form their own analysis.
SETTINGS
Display
Panel Mode: Pro / Beginner
Panel Position: 6 options
Chart Theme: Dark / Light
Panel Size: Tiny / Small / Normal
Timezone: Auto DST / Manual UTC-4 / Manual UTC-5
Levels
Show Weekly Range (PWH/PWL) with previous week option
Show Daily Range (PDH/PDL)
Show FVG / VI Boxes
Show Unmitigated Zones
Show Mitigated Zones (IFVG)
Zone Lookback: Auto (scales by timeframe) or Manual (30-2000)
Colors
BISI, SIBI, VI+, VI- colors: fully customizable
NOTES
Bias Engine is open source under CC BY-NC-SA 4.0 and is intended for educational purposes only. Nothing in this script constitutes financial advice or a recommendation to buy or sell any instrument.
The indicator works on any instrument available on TradingView and is primarily optimized for forex majors, gold (XAUUSD), and major indices.
Zone lookback is anchored to bar index rather than timestamps, which means the indicator behaves correctly in TradingView replay mode regardless of which historical period you replay to.
Despite scanning four timeframes for market structure, the script uses only one request.security() call for the weekly ATR. All other multi-timeframe logic runs within the same security context, keeping the indicator lightweight relative to its feature set. Indikator

Statistical Bias [Oracle]WHAT THIS INDICATOR DOES
Statistical Bias is a multi-asset, multi-timeframe directional bias engine that determines market direction by analysing reversal and continuation candle patterns across your entire correlated triad. Rather than reading bias from a single chart, it checks whether all three correlated assets agree on direction — and optionally requires alignment across two timeframe levels — before declaring a bias.
It then tracks whether that bias was historically correct and displays a running accuracy percentage, giving you a statistical gauge of how reliable the triad's consensus signal has been on your chosen timeframe.
This is an analysis and narrative tool. It does not generate buy or sell signals.
THE CONCEPTS — WHAT EACH ONE IS AND HOW IT IS CALCULATED
Candle-Based Bias Detection
The indicator determines directional bias on each asset by analysing how the previous candle interacted with the candle before it. It checks for two types of events:
Sweep and reclaim — The previous candle's low swept below the prior candle's low, but then closed back above it. This is a bullish sweep — price took out a low and rejected, indicating buyers stepped in. The bearish equivalent is when the previous candle's high swept above the prior high, but closed back below it.*
* Continuation close — The previous candle closed above the prior candle's high (bullish continuation) or below the prior candle's low (bearish continuation). Price committed beyond the previous range entirely.
Either condition triggers a bias update. If a bullish sweep or bullish continuation close occurs, the asset's bias is set to bullish. If a bearish sweep or bearish continuation close occurs, it is set to bearish. The bias persists until a new opposing event occurs — it does not reset each candle.
This logic runs independently on all three assets in the triad, producing three separate bias readings.
Multi-Timeframe Bias Validation
The indicator supports two validation modes for each asset's bias:
LTF Only — The asset's bias is determined solely from the selected bias timeframe. If the bias timeframe is set to 15m, only 15m candle patterns are analyzed.
LTF + HTF — The asset's bias must agree across two timeframe levels. The indicator automatically maps your bias timeframe to the next higher timeframe (1m maps to 5m, 5m to 15m, 15m to 1H, 1H to 4H, 4H to 1D, 1D to 1W, 1W to 1M). The same sweep/reclaim and continuation close logic runs on both timeframes independently. An asset's bias is only confirmed when both timeframes agree on direction. If they disagree, the asset's bias is set to neutral.
This means in LTF + HTF mode, a single asset must show the same directional pattern on both the bias timeframe and the timeframe above before its individual bias is considered valid.
Triad Bias Consensus
After each asset's individual bias is determined, the indicator applies a configurable consensus rule across the triad to produce the final triad bias:
Current Asset — The triad bias simply follows whichever asset you are charting. The other two assets are displayed for reference but do not affect the final bias output.
Majority — At least 2 out of 3 assets must agree on direction. If two are bullish and one is bearish, the triad bias is bullish. If no majority exists, the bias is neutral.
All 3 — All three assets must show the same directional bias. If even one asset disagrees or is neutral, the triad bias is neutral. This is the strictest mode and produces the fewest signals but the highest conviction.
The triad bias is the final output — it represents the consensus view of the entire correlated group, not just your single chart.
Accuracy Tracking
When the bias timeframe matches your chart timeframe, the indicator tracks historical accuracy. On each new bias-timeframe candle, it checks whether the previous triad bias correctly predicted the subsequent candle's direction:
A bullish triad bias is counted as correct if the next candle made a higher high than the previous candle.
A bearish triad bias is counted as correct if the next candle made a lower low than the previous candle.
Neutral bias candles are excluded from the count entirely.
The accuracy percentage is displayed in the table as a running total across all historical bars. This gives you a statistical measure of how reliable the triad consensus has been on your specific asset and timeframe combination — not a theoretical backtest, but actual historical performance of the bias logic on your chart.
Draw on Liquidity (DOL)
When the bias timeframe is different from your chart timeframe, the indicator draws a Draw on Liquidity line showing the expected target level based on the triad bias:
Bullish bias — A horizontal line is drawn at the previous bias-timeframe candle's high. This represents the most recent liquidity pool above that the market is expected to draw toward.
Bearish bias — A horizontal line is drawn at the previous bias-timeframe candle's low. This represents the liquidity pool below.
The DOL line extends forward as long as it has not been reached. Once price trades through it, the line stops extending. This gives you a concrete price target derived from the triad's consensus direction.
Bias Table Display
A table in the corner of the chart displays the current state of the entire bias system. Two display modes are available:
Full mode — Shows a grid with each asset across the top, LTF and HTF bias rows, the final triad bias, and the accuracy percentage. You can see at a glance which assets agree, which timeframes align, and how accurate the consensus has been historically.
Compact mode — Shows just the asset names colored by their individual bias direction and the final triad bias. Minimal screen space for traders who only need the bottom-line output.
The table updates at the start of each new bias-timeframe candle.
HOW THE CONCEPTS WORK TOGETHER
These are not independent readings stacked in a table. They form a hierarchical filtering system where each layer narrows the bias output:
Candle pattern detection identifies raw direction per asset. Sweep-and-reclaim and continuation close patterns are detected on each of the three triad assets independently. This is the raw signal layer — each asset reports its own directional bias based on how its candles interacted with prior ranges.
Multi-timeframe validation filters false signals. In LTF + HTF mode, each asset's bias must be confirmed across two timeframe levels. A 15m bullish sweep that contradicts a 1H bearish pattern gets neutralized. This eliminates bias signals that only exist on a single timeframe — the direction must be consistent across the time structure.
Triad consensus filters further. After individual asset biases are validated, the consensus rule determines whether the group agrees. In All 3 mode, every asset must independently arrive at the same directional conclusion through its own candle patterns on its own price data. A bullish bias on NQ means nothing if ES and YM are not also bullish. This cross-asset agreement is the strongest filter — it requires the entire correlated group to show the same directional commitment.
Accuracy tracking validates the system. The running accuracy percentage tells you whether this filtering process actually works on your specific asset and timeframe. Rather than trusting the logic theoretically, you can see its historical hit rate directly on your chart. This closes the feedback loop — you are not just following a bias, you know how often that bias has been correct.
DOL provides the target. Once the triad agrees on direction, the Draw on Liquidity line gives you a specific price level the market is expected to draw toward. This transforms a directional bias into an actionable target level.
The workflow flows from raw candle patterns, through timeframe alignment, through cross-asset consensus, through statistical validation, to a concrete price target. Each layer increases the quality of the output.
WHY IS THIS INDICATOR WORTH USING?/b]
Without this indicator, building a multi-asset, multi-timeframe statistical bias requires a trader to:
Open three charts and manually check whether the previous candle on each asset swept a prior low/high and reclaimed, or closed beyond the prior range
Repeat this analysis on the next higher timeframe for each asset to check alignment
Mentally aggregate whether the majority or all three assets agree
Keep a manual tally of how often this consensus was historically correct
Identify and track the DOL level based on the consensus direction
This process is tedious and error-prone even for a single timeframe check. Doing it across three assets and two timeframes simultaneously in real time is not practical manually.
The indicator automates the full pipeline — independent bias detection on three assets across two timeframes, configurable consensus rules, historical accuracy tracking with a running percentage, and DOL visualization — into a single overlay with a clean table display.
Several features are entirely original to this script:
Cross-asset sweep/reclaim and continuation close consensus with configurable agreement rules (Current, Majority, All 3)
Automatic LTF + HTF alignment validation per asset before consensus is applied
Built-in historical accuracy tracking that measures actual prediction performance on the current chart
DOL line derived from triad consensus direction rather than single-asset analysis
No existing TradingView indicator combines multi-asset candle pattern bias detection, multi-timeframe validation, configurable consensus rules, statistical accuracy tracking, and draw-on-liquidity targeting in a single tool. These features cannot be replicated by combining existing public scripts because they require cross-asset bias comparison logic that single-asset indicators do not have.
HOW TO USE IT
Add the indicator to your chart. It will automatically detect your asset triad or use your manual configuration.
Select your bias timeframe — this is the timeframe on which candle patterns are analyzed. If your chart is 5m and your bias TF is 15m, the indicator checks 15m candle patterns on all three assets.
Choose your validation mode — LTF Only for single-timeframe bias, or LTF + HTF for dual-timeframe alignment per asset.
Choose your consensus rule — Current Asset for single-asset bias, Majority for 2-of-3 agreement, or All 3 for unanimous consensus.
Read the table: each asset shows BULL, BEAR, or neutral. The TRIAD row shows the final consensus output. The ACC row shows historical accuracy.
Use the DOL line as your directional target when the triad agrees on bias.
Combine with other Quarterly Theory tools — use the triad bias to frame your LTF entries. A bullish triad bias means you look for bullish SSMTs, bullish PSPs, and bullish tCISDs on lower timeframes.
AUTO TRIAD
The indicator automatically assigns the correct correlated triad based on your chart ticker:
Index Futures: NQ / ES / YM (+ micro variants MNQ / MES / MYM)
Forex: EURUSD / GBPUSD / DXY
Crypto: BTCUSD / ETHUSD / DXY via Kraken
For unsupported tickers, manual configuration is available.
SETTINGS OVERVIEW
Asset Selection — Auto triad toggle, manual ticker inputs for three assets
Bias Timeframes — Custom bias TF toggle, bias timeframe selector
Bias Logic — Asset validation mode (LTF Only / LTF + HTF), triad consensus rule (Current Asset / Majority / All 3)
Visual Output — Table mode (Full / Compact), DOL line toggle
Color Customisation — Bullish, bearish, and neutral colours
DOL Styling — Line colour, text colour
INDICATOR SETTINGS/FILTERS
Here is an inside look of how the Statistical Bias looks:
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Trading involves substantial risk of loss. Always use proper risk management and conduct your own analysis.
CREDITS
Developed by Danielliuks and Bucko. Conceptual framework based on ICT (Michael Huddleston)
Open Sourced For all.
Enjoy. Indikator

Indikator

Northsea Auction Map [JOAT]Northsea Auction Map
Introduction
Northsea Auction Map is an open-source auction-style overlay that builds a rolling or session-anchored profile directly on the chart. It estimates where business has been conducted, where value is concentrated, where activity is thin, and how price is positioned relative to that structure.
The problem this script solves is that directional tools alone do not explain where the market is accepting price and where it is rejecting price. Auction context is useful because trend and reversal behavior both depend on where price is trading relative to value. Northsea uses a configurable anchor, builds a profile histogram, derives value area and point of control, approximates delta bias, and summarizes that information in a clean on-chart framework.
Core Concepts
1. Session or Rolling Anchoring
The script can build its auction map from a live session anchor or from a fixed rolling window. That allows it to serve both intraday session analysis and broader window-based contextual analysis. Session anchoring can use exchange-aware timing or an explicit timezone selection so the profile starts from the intended session definition.
2. Profile Row Construction
The chosen anchor range is divided into configurable price rows. Each eligible bar contributes volume into those rows, producing a simplified volume-at-price map. The widest concentration becomes the point of control, while the surrounding rows are expanded outward until the configured percentage of activity defines the value area.
3. Point of Control and Value Area
Northsea calculates:
POC: the highest-activity row
VAH: the upper boundary of the selected value area
VAL: the lower boundary of the selected value area
These levels are drawn forward on the chart so users can quickly see whether price is trading inside accepted value or outside it.
4. Delta Bias and Node Logic
The script derives a directional participation proxy and combines it with profile concentration to estimate whether the current map leans more bid-dominant, offer-dominant, or balanced. It also classifies high-value nodes and low-value nodes using row-level z-score logic so pockets of acceptance and low-participation gaps stand out.
5. Anchored VWAP and Range Context
An anchored VWAP and session range lines are drawn alongside the profile. This gives the user both price-distribution context and mean-location context in the same overlay.
Features
Two anchoring modes: Session Anchor and Rolling Window
Flexible session timezone handling: Supports exchange-aware or explicit timezone session anchoring
Configurable profile density: Adjustable lookback, row count, width, and offset
POC and value area: Automatically derived and extended on the chart
HVN and LVN identification: Highlights acceptance nodes and thin areas
Anchored VWAP: Adds a fair-value style reference line
Session range guides: High, low, and midpoint lines
Delta bias proxy: Adds directional auction context
Dashboard summary: Anchor bars, range, POC/VWAP, value area, delta bias, location, and balance metrics
Input Parameters
Anchoring:
Anchor Mode
Session Window
Session Timezone
Profile Lookback
Profile Rows
Value Area Percentage
Layout:
Right Offset
Profile Width
Session Range toggle
Anchored VWAP toggle
Profile Labels toggle
Node Summary toggle
Node Logic:
High-Value Node Z
Low-Value Node Z
Node Transparency
POC Highlight toggle
Value Area Highlight toggle
How to Use This Indicator
Step 1: Locate Price Relative to Value
If price is trading inside the value area, the market is operating near accepted value. If price is outside value and not returning quickly, the market may be discovering a new area.
Step 2: Compare POC With VWAP
The relationship between POC and anchored VWAP can help show whether the bulk of business and the weighted mean price are clustered together or diverging.
Step 3: Watch HVNs and LVNs
High-value nodes often behave like acceptance shelves. Low-value nodes often behave like traversal zones where price moves more quickly. These are not guaranteed reactions, but they are useful structural references.
Step 4: Use the Delta Bias as Context, Not Certainty
The delta bias proxy helps describe whether the current map is leaning more bid-side or offer-side. It should be read as auction context rather than treated as direct order-book truth.
Indicator Limitations
The script approximates auction structure from bar data and does not reconstruct true exchange-level volume at every traded price
Profile interpretation depends on the selected anchor; different anchors can produce different maps
Thinly traded instruments may generate unstable row distributions
Node thresholds are model-based and may require tuning by instrument
Originality Statement
Northsea Auction Map is original in the way it combines anchored profiling, value-area construction, node classification, delta bias estimation, and anchored VWAP into one restrained overlay. The goal is not to duplicate a platform-native profile panel, but to provide a configurable auction context tool that can travel with the chart and integrate directly with other analytical layers.
Disclaimer
This script is provided for educational and informational purposes only. It is not financial advice. Profile levels and node classifications are derived from historical bar data and model assumptions, so they can differ from full exchange or footprint tools. Use independent judgment and risk management.
Indikator

OTE Sweep Signal + MTF Bias + VWAP + DR# OTE Sweep Signal + MTF Bias + VWAP + DR
## Overview
A comprehensive intraday trading system that combines four core concepts into one indicator: **Dealing Range (DR) session boxes**, **Optimal Trade Entry (OTE) sweep signals**, **Multi-Timeframe (MTF) bias**, and **VWAP**. Designed for futures traders (NQ, MNQ, ES, MES) but works on any liquid intraday instrument.
The indicator automatically identifies when price sweeps liquidity above or below a prior HTF candle's high or low, pulls back into the 50–61.8% retracement zone (the OTE), and fires an entry signal — all filtered by session time, swing structure, range limits, VWAP, and a confirmed Dealing Range bias.
---
## How It Works
### 1. HTF Sweep Detection
On each new bar of your chosen Signal Timeframe (default 60m), the indicator locks in the prior candle's high and low as liquidity targets. If price sweeps above the prior high without taking the prior low (bull sweep), or below the prior low without taking the prior high (bear sweep), the sweep is locked in and the OTE zone is drawn.
### 2. OTE Zone
Once a sweep is detected, the indicator calculates the retracement zone between the 50% and your chosen OTE level (default 61.8%) of the swept candle's range. When price closes back inside this zone for the first time, an entry signal fires.
### 3. Entry, Stop, BE, and Target
- **Entry**: Top of OTE zone (bull) or bottom (bear)
- **Stop**: Prior candle high/low OR OTE zone buffer (selectable)
- **Break Even (BE)**: HTF candle open price
- **Target**: Prior candle H/L, next HTF swing H/L, or a fixed R:R multiplier
Each signal draws a label showing all four levels.
---
## Settings Groups
### Timeframe
- **Signal Timeframe** — The HTF used to identify sweeps and draw the OTE zone. Default 60m. Works on any intraday TF (5m, 15m, 30m, 60m, 240m).
- **Auto Sweep Window** — Automatically sets the window for valid sweeps to 1/3 of the signal TF duration. Turn off to set manually.
- **Sweep Window (minutes)** — Manual sweep window when Auto is off.
---
### OTE Zone
- **OTE Level (%)** — The deep retracement level that defines the bottom of the OTE zone. Default 61.8%. Range: 55–79%.
- **Show OTE Zone** — Toggle the shaded OTE box on/off.
- **Show Key Levels** — Toggle individual level lines (prior H/L, open, stop, target).
---
### Signals
- **Show Entry Arrows** — LONG/SHORT arrows plotted at the signal bar.
- **Show Stop & Target Label** — Detailed label with Entry, Stop, BE, and Target levels.
- **Stop Method** — *Prior Candle High/Low*: stop at the swept candle's opposite extreme. *OTE Zone Buffer*: stop just beyond the OTE deep level by a % of range.
- **OTE Stop Buffer** — Buffer percentage when using OTE Zone Buffer stop method.
- **Max Prior Candle Range (pts)** — Filters out signals where the swept candle's range is too large to produce a clean OTE setup. Default 100 pts.
- **Enable Max Range Filter** — Toggle the range filter on/off.
- **Target Method** — *Prior Candle H/L*: target the opposite extreme of the swept candle. *Next Swing H/L*: target the nearest HTF swing high/low beyond the sweep. *Fixed R:R*: target = entry ± (risk × multiplier).
- **Fixed R:R Multiplier** — Used only when Target Method is Fixed R:R. 2.0 = 2:1 reward to risk.
---
### Swing Filter
Filters out signals where price has swept through an intermediate HTF swing high or low between the prior candle extreme and the current bar. This prevents chasing signals that are actually breaking through multi-bar structure, not just taking a liquidity sweep.
- **Enable Swing Filter** — Toggle on/off.
- **Show Swing Levels** — Plots the four most recent HTF swing highs and lows as reference lines.
- **Show Blocked Signals** — Shows faded X arrows where a signal was detected but blocked by the swing filter or range filter.
---
### Session Filter
- **Enable Session Filter** — Only fire OTE signals during your defined trading hours.
- **Session Start Hour (ET)** — Default 9 (9 AM ET).
- **Session End Hour (ET)** — Default 16 (4 PM ET).
---
### Dealing Range (DR)
The Dealing Range (also called the Initial Balance) is the high/low established during each session's opening window. Three sessions are tracked independently.
**Session Times (all ET):**
| Session | Build Window | Extend Window |
|---|---|---|
| Asia | 7:00 PM – 8:00 PM | 8:00 PM – 2:00 AM |
| London | 3:00 AM – 4:00 AM | 4:00 AM – 8:30 AM |
| New York | 9:30 AM – 10:30 AM | 10:30 AM – 4:00 PM |
**Display options:**
- **Show Asia / London / New York DR** — Toggle each session independently.
- **DR Time / Extend** — Fully customizable session windows for each.
- **Show DR Box (build window only)** — Shaded box that spans only the DR build period. Updates live as price builds the range and freezes when the session ends.
- **Show DR High/Low Lines** — Horizontal lines at the DR high and low. Can extend into the session extend window.
- **Extend H/L Lines into session** — When on, H/L lines extend to the end of the session extend window.
- **Show DR Open Line** — Dashed line at the first price of the DR session.
- **Show 25 / 50 / 75% Levels** — Internal DR levels at 25%, 50%, and 75% of the DR range. Update live during the build window and freeze when the DR closes. Labeled at the right edge.
- **Extend % Lines into session** — When on, the 25/50/75% lines also extend into the extend window.
- **Show % Level Labels** — Small text labels at the right edge of each % line.
- **Line Width** — Width of all DR lines (1–4 px).
**Per-session colors:** Each session (Asia, London, NY) has three separate color pickers — Box fill, High/Low line, and % lines — so you can distinguish sessions at a glance.
**DR Open Line Color** — Shared color for the open line across all sessions.
**NY DR Break + Day Bias Filter:**
Once the NY DR build window closes (10:30 AM), the indicator watches for price to close outside the NY DR high or low. When confirmed, it locks in the day's directional bias and fires a labeled arrow on the chart.
- **Filter OTE by NY DR Break Direction** — When on, only takes OTE longs when day bias is BULL, only takes OTE shorts when day bias is BEAR.
- **Show DR Break Label on Chart** — Arrow label showing "BULL DR" or "BEAR DR" with timestamp at the confirmation bar.
- **Confirmation Closes Required** — Number of consecutive closes beyond the DR high/low needed to confirm (1–3). Default 1.
- **Enable Time Gate** — Prevents the DR bias filter from activating before a set time. Avoids pre-market fakeouts locking you into one direction all day. Default 10:30 AM ET.
- **Gate Hour / Gate Minute** — The time gate threshold.
- **Block All Signals Before Gate Time** — When on, no OTE signals fire at all until the gate time passes.
- **Break Bull / Bear Color** — Colors for the DR break label and bias display.
---
### VWAP
- **Show VWAP Line** — Plots the session VWAP. Color and width adjustable.
- **Enable VWAP Filter** — When on, only takes long OTE signals when price is above VWAP, and short signals when below. Defaults to OFF — use the Results Table to A/B test its effect.
- **Show VWAP Distance in Bias Table** — Adds a row to the MTF Bias Table showing how many points price is currently above or below VWAP.
---
### HTF Range Box
Draws a shaded box for every bar of your Signal Timeframe, spanning the full high-to-low range. The box updates live as the HTF candle builds and the color reflects the current candle's direction (green if close ≥ open, red if not). These boxes give immediate visual context for where the HTF candle is relative to its own range.
- **Show HTF Range Box** — Toggle on/off.
- **Bull / Bear Fill Color** — Box fill colors for bullish and bearish HTF candles.
- **Bull / Bear Border Color** — Border colors.
- **Border Width** — 0–4 px.
- **Extend Current Box Right** — When on, the active box projects one bar to the right.
---
### MTF Bias Table
A live bias dashboard showing whether each of your seven chosen timeframes is currently Bullish, Bearish, or Neutral — based on whether the current bar has broken above the prior bar's high or below the prior bar's low.
- **Show MTF Bias Table** — Toggle on/off.
- **TF 1–7** — Set any seven timeframes to monitor. Defaults: 1, 5, 15, 30, 60, 240, D.
- **Bias Table Position** — Top Right, Top Left, Bottom Right, Bottom Left.
- **Bias Table Size** — Tiny, Small, Normal, Large.
- **Show Bull/Bear Score Row** — Summary row showing count of bullish vs bearish TFs (e.g. "4B / 3S").
- **Show Accuracy (n / %)** — For each TF, tracks how often the bias signal correctly predicted the following bar's close direction. Shows percentage and sample count. Each TF accumulates at its own rate — a 1m TF will have far more samples than a Daily.
- **All color options** — Separate colors for bullish fill/text, bearish fill/text, neutral fill/text, header fill/text, score row fill/text.
The table also includes a **NY DR BIAS** row at the bottom showing the current day's confirmed Dealing Range direction and whether the filter is active.
---
### Colors
- **Bullish / Bearish Color** — Main signal colors used for OTE zone fills and entry arrows.
- **Zone Transparency %** — How transparent the OTE zone fill is (60–95%).
---
### Results Table (Table 1 — Summary)
A compact performance summary. Position is independently configurable.
- **Show Results Table** — Toggle on/off.
- **Summary Table Position** — Where to anchor Table 1 (settings + stats + P&L).
- **Table Size** — Tiny, Small, Normal, Large.
- **Timezone** — ET by default.
- **$ Per Point** — Set to 20 for NQ, 2 for MNQ, 50 for ES, 5 for MES.
- **Number of Contracts** — Scales all dollar P&L figures.
**Table 1 shows:**
- Active filter settings (stop method, swing filter, session, max range, target, VWAP, DR)
- Trades, Wins, Break Evens, Losses, Blocked signals, Win Rate
- Avg Win (pts + $), Avg Loss (pts + $), Total Won, Total Lost
- Net P&L (pts + $)
---
### Results Table (Table 2 — Hour/Slot Breakdown)
Separate table showing performance broken down by time slot. Works correctly for any signal timeframe — a 30m signal TF shows `9:30AM-10:00AM` style slots, not just hourly.
- **Hour Table Position** — Where to anchor Table 2. Default: Bottom Left (separate from Table 1).
- **Columns**: Time slot | W | BE | L | Net Pts
---
## Signal Logic Summary
A signal fires when ALL of the following are true:
1. Price swept the prior HTF candle's high (long) or low (short) within the sweep window
2. Price closed back inside the OTE zone for the first time
3. Within the session filter hours
4. Prior candle range did not exceed the max range filter
5. No intermediate HTF swing high/low was breached (swing filter)
6. VWAP filter passed (if enabled)
7. NY DR bias filter passed (if enabled and confirmed)
8. Past the time gate (if block-before-gate is enabled)
Signals blocked by filters 4–8 are shown as faded X arrows so you can visually audit what the filters are doing.
---
## Notes
- Works best on 1m and 5m charts with the Signal Timeframe set to 30m, 60m, or 240m.
- The indicator uses `max_bars_back=5000` to support longer lookback periods.
- DR boxes and lines use `xloc.bar_time` for precise timestamp-based placement.
- On chart timeframes below 5 minutes, a 5m security request is used for DR calculations to match the original DR/Initial Balance convention.
- All dollar P&L figures are estimates based on your $ Per Point and contract count settings — not a substitute for actual brokerage records. Indikator

Market Bias Dashboard (MBD) [SharpStrat]Market Bias Dashboard - MBD
Trading without context is like driving with a blindfold on.
You see a bullish signal. You enter. Price reverses immediately. Why? Probably because the signal was real but the context was wrong. You were probably buying at the top of a range into a fading trend against a higher timeframe that was screaming bearish. The signal didn't lie to you. You just didn't have the full picture.
MBD gives you the full picture.
It's a context dashboard that sits on your chart and answers the most important question in trading before you even think about entering: What is this market actually doing right now? Not a buy signal. Not a sell signal. Just pure honest market context, measured four different ways, on two timeframes at once, updated every single bar.
The reason it uses four separate components rather than one is deliberate. Any single measurement of the market is incomplete. Structure alone doesn't tell you if the trend has momentum behind it or if it's running out of steam. Momentum alone doesn't tell you where price sits in the bigger range. Volatility alone doesn't tell you the direction. Each component fills in a blind spot that the others have, and together they give you a picture that none of them could give alone.
How it was built — the thinking behind it
Most context indicators fail because they either use one measurement or they combine things in a way that makes the output a black box. MBD was built differently. Every component measure something completely separate, so if one is broken or noisy the others still give you useful information. And every component's reading is visible individually, so you always know why the combined bias says what it says.
The four things it measures are the four things that define market behaviour at any point in time i.e. direction, position, energy, and state. Take away any one of them and your read of the market is incomplete.
Component 1 — Structure
The foundation. Before anything else, you need to know which direction the market is moving.
Structure is determined by looking at real swing highs and swing lows actual turning points in price, confirmed by a configurable number of bars on either side. MBD then compares the last two swing highs and the last two swing lows to each other:
Higher High + Higher Low = price is making upward progress = Bullish structure
Lower High + Lower Low = price is making downward progress = Bearish structure
Mixed = price is going nowhere with conviction = Neutral
The key distinction here is that this uses actual pivot points, not a moving average that lags behind price. When price makes a genuine new swing high above the previous one, that is a fact. MBD records it. When structure flips, when a bullish sequence suddenly becomes bearish the dashboard immediately flags it as Transitioning , which is a warning to pay attention even before the other components react.
Component 2 — Range Position
Knowing the direction is not enough. You also need to know where price currently sits within the bigger picture.
Think of it this way if a stock has been trading between 100 and 150 for the past two months and it is currently at 148, the structure might still say bullish. But you are buying right at the top of a two-month range. That is a very different risk than buying the same stock at 108.
Range Position solves this. It takes the highest high and lowest low over the last 50 bars (configurable) and calculates exactly where the current price sits inside that range as a percentage. It then displays that as a visual progress bar so you can see it instantly without reading a number:
Above 60% — price is in the upper portion of the range, bullish context
40% to 60% — price is in the middle, neutral, no positional edge
Below 40% — price is in the lower portion of the range, bearish context
This component is especially powerful when it contradicts structure. Bullish structure but range position at 90%? That tension is worth knowing. You are buying a bullish trend right at the top of the range the exact level where sellers tend to appear. MBD puts that conflict in front of you so you can decide what to do with it.
Component 3 — Momentum
A trend can be intact and dying at the same time. Momentum is what tells you which one it is.
Here is something most beginners don't realize: a market can keep making higher highs while simultaneously running out of steam. The direction is still up. The structure still says bullish. But each successive push is covering less ground than the one before it. That is a trend that is exhausting itself and being in it without knowing that is how you get caught in a reversal you did not see coming.
MBD measures momentum by tracking the size of recent price swings and comparing them to earlier ones. How much distance each swing is covering relative to past swings. Then it smooths that comparison to filter out noise.
Swings getting bigger = Accelerating. The trend has fuel. It is building, not dying.
Swings roughly the same size = Steady. Trend is continuing at a consistent pace.
Swings getting smaller = Fading. Energy is leaving the move. Proceed with caution.
The most powerful combination is Bullish structure + Accelerating momentum. That is a market with direction and energy behind it. The most dangerous combination is Bullish structure + Fading momentum a trend that looks fine on the surface but is quietly breaking down underneath.
Component 4 — Volatility
Market cycle between expansion and contraction. This component tells you which phase you're in.
After a big move, markets tend to calm down and compress. Volatility drops. Ranges tighten. Then at some point the compression end and when it does, the next move tends to be sharp and clean. Understanding where you are in that cycle completely changes how you should be treating the market.
MBD measures this by comparing the current ATR (Average True Range a measure of how much price is actually moving bar to bar) against its own longer-term average. Three states are possible:
Expanding — the market is moving more than usual. Trends are active and clean. Good environment for trend following entries.
Normal — Volatility is around its historical average. Market is in a typical state, nothing exceptional to flag.
Coiling — Volatility has contracted significantly below normal. The market is compressing like a spring. It will not stay this quiet forever.
When you see Coiling on the dashboard, a breakout is typically approaching. It does not tell you the direction but it tells you to pay attention, tighten your stops if you are in a trade, and have a plan ready. Many of the cleanest, most explosive moves in any market come directly out of a coiling period.
The combined bias
Each component scores +1 for a bullish reading, -1 for bearish, and 0 for neutral. Those scores are added up and the total maps to these labels:
▲ Strong Bullish — most or all components aligned bullish
▲ Moderate Bullish — clear bullish lean with some components neutral
▲ Weak Bullish — marginal bullish lean, proceed carefully
◆ Ranging — no directional edge at all
▼ Weak / Moderate / Strong Bearish — same logic in the bearish direction
⚡ Coiling — breakout approaching, direction unclear.
↔ Transitioning — structure just flipped. Wait for confirmation.
The bias label is visible for both your current timeframe and your higher timeframe simultaneously, so you always have both perspectives in front of you.
Multi-Timeframe
At the bottom of the component section there is a TF Alignment row. This is arguably the most valuable reading in the entire indicator.
It tells you whether your current timeframe and your higher timeframe are saying the same thing:
Aligned — both timeframes agree on direction. This is where the highest probability setups live. When you are bullish on the 15-minute and the 4-hour is also bullish, you have the wind at your back.
Conflicting — the timeframes disagree. You might be seeing a bullish setup on your trading timeframe but the higher timeframe is bearish. That does not mean you can't trade but you are fighting the bigger picture, and that should affect your position size and your expectations. Mixed — partial agreement. Somewhere in between.
The most common mistake beginners make is entering a trade that looks perfect on their timeframe without ever checking the bigger picture. This removes that blind spot entirely.
The most common mistake beginners make is entering a trade that looks perfect on their timeframe without ever checking the bigger picture. This removes that blind spot entirely.
Past Bias Trail
The trail row shows the last 10 bias states the market has moved through, from oldest on the left to newest on the right. Each symbol represents a complete past bias when the bias changed state. This filters out noise and shows you meaningful shifts.
Three patterns to watch for:
Consistent — sustained bullish symbols across most of the trail. This tells you the market has been in a clean trend for a while and the current bullish reading is not new it has been the dominant state. Trade with it.
Choppy — random mix of bullish, bearish, and neutral. The market has been going nowhere with conviction for a while. Even if the current bias looks bullish, history says this market cannot hold a direction. Reduce size or sit out.
Reversal — bearish, then ranging, then coiling, then transitioning, then bullish. This is a textbook reversal building over time. Each step makes sense in sequence. This is the kind of trail that tells you a genuine directional shift has happened and the new bias has momentum behind it.
How to Use
Each step builds context, so following a consistent flow helps you understand not just what the market is doing, but whether it’s worth trading at all.
1: Check Timeframe Alignment - Start by comparing your current timeframe with the higher timeframe.
When both are aligned, the market has directional agreement and trades carry higher probability. If they conflict, you are trading against the broader trend, which increases risk. Mixed conditions usually indicate uncertainty.
At this stage, you are simply deciding whether the environment is favorable enough to proceed.
2: Read the Overall Bias - A strong bias means multiple factors are supporting the same direction, while a weak or neutral bias suggests there is no clear edge. This step helps you quickly judge whether the market has conviction or is just moving without structure.
3: Understand the Components - Look at structure, range position, momentum, and volatility together. These components explain why the bias exists. For example, a bullish bias supported by strong structure and accelerating momentum is very different from a bullish bias where momentum is already fading.
4: Evaluate Entry Location - Before entering, check where price sits within its range.
Even in a strong trend, entering near extremes increases risk. Good trades come from combining direction with reasonable positioning, not chasing price at the edges.
5: Confirm Momentum
Momentum tells you if the move still has strength.
Accelerating momentum supports continuation, while fading momentum warns that the move may be weakening. This helps you avoid entering late into exhausted trends.
6: Check Volatility
Now assess the volatility state.
Expanding volatility supports trending moves, while coiling indicates compression and a potential breakout. During coiling phases, it is usually better to wait for confirmation rather than predict direction.
7: Review Recent History
Finally, glance at the bias history trail.
A consistent sequence suggests a stable trend, while a mixed sequence indicates choppy conditions. This adds context and helps you judge whether the current state is likely to hold.
Final Decision
When alignment, bias, components, and conditions all support each other, you have a strong setup. If they conflict, the better decision is often to stay out.
SETTINGS
Swing Length — How strict the pivot detection is. Higher = fewer but more significant swings detected (default: 5)
Range Lookback — How many bars define the recent high/low range (default: 50)
ATR Period — Bars used to measure current volatility (default: 14)
ATR Average Period — Volatility baseline (default: 50)
Coiling Threshold - How compressed volatility must be to trigger the Coiling state (default: 0.75)
Higher Timeframe —Multi timeframe (default: 240 = 4H)
History Count — Number of observations in the past bias trail (default: 8)
Panel Position — Where the dashboard sits on your chart (default: Top Right)
Color Theme — Dark / Light
Works everywhere
MBD is built to work universally not just on one asset type or one timeframe. The four components it measures are structure, range position, momentum, volatility these exist in every liquid market that has ever traded. Whether you are scalping Bitcoin on the one minute chart, swing trading stocks on the daily, or analyzing forex on the four hour, the dashboard reads the same way and the interpretation is identical.
This is not a signal tool . It is a context tool. Use it to understand the market before you enter, not to decide for you.
Indikator

Session Range Architecture [JOAT]Session Range Architecture
Introduction
Session Range Architecture (SRA) is an open-source, institutional-grade session killzone engine that captures the opening range of the Tokyo, London, and New York trading sessions as live price-tracking boxes, draws high, low, and mid extension lines that persist after each session closes, and fires rejection signals when price wicks beyond a session extreme and closes back inside. Signals are filtered by an EMA alignment stack (EMA 4, EMA 5, and EMA 750) and confirmed exclusively on closed bars. ATR-based stop loss and take profit boxes visualize each signal's risk/reward from entry. Per-session and aggregate win rate statistics are tracked and displayed in a configurable dashboard.
The core problem SRA solves is the repetitive, daily manual work of marking opening range boxes for each session. ICT methodology identifies the first portion of each killzone as the period during which institutional order flow establishes the session's directional bias — the high and low of that range become the primary intraday reference levels. When price returns to those levels later in the session or in the following session and creates a wick rejection, it signals a potential liquidity grab and reversal opportunity. SRA automates the full process from box construction through signal detection to trade outcome tracking.
Core Concepts
1. Session Opening Range Construction
Each session's opening range is built dynamically during the configurable range window (default: first 15 minutes of each session). The high and low of every bar within that window expand the range in real time. At the end of the window, the range is finalized and stored as a SessionRange user-defined type containing the box, three extension lines (high, low, mid), and the session label:
if inTokyo and not tokBuilding
tokHi := high
tokLo := low
tokOpenBar := bar_index
tokBuilding := true
else if inTokyo and tokBuilding
tokHi := math.max(tokHi, high)
tokLo := math.min(tokLo, low)
2. Extension Lines
When a session's range window closes, three horizontal lines are drawn extending rightward from the range: a dashed line at the session high (buy-side liquidity), a dashed line at the session low (sell-side liquidity), and a dotted line at the session midpoint (50% equilibrium reference). These lines persist on the chart as long-term structural reference levels beyond the session itself.
3. Rejection Signal Detection
A rejection is detected when a bar's wick pierces a session high or low and the close returns inside the range. A minimum wick percentage filter ensures the penetration is meaningful relative to total candle range — trivial pokes are excluded. For a bullish rejection at a session low (price swept below, closed above), the setup is treated as a potential long opportunity. For a bearish rejection at a session high, it is treated as a short opportunity.
4. EMA Alignment Filter
Signals are optionally filtered by a simplified EMA alignment check: bullish signals require EMA 4 above EMA 5 and price above EMA 750; bearish signals require EMA 4 below EMA 5 and price below EMA 750. This ensures rejection signals at session levels are taken in the direction of the prevailing trend structure rather than against it.
5. ATR-Based Trade Visualization and Tracking
On each confirmed signal, ATR-based stop loss and take profit boxes are drawn from the entry close. Outcome is checked on subsequent bars — if price hits the SL or TP, the trade is recorded, counters for the originating session are updated, and the box color changes to reflect the result.
Features
Three Independent Session Ranges: Tokyo, London, and New York opening ranges built automatically each day — individually configurable with independent colors and visibility toggles
Configurable Range Window: Opening range capture window length adjustable from 5 to 60 minutes to match different analysis styles
Extension Lines: Session high, low, and mid extension lines drawn from completed ranges and extended rightward as persistent liquidity reference levels
Rejection Signal Detection: Wick-beyond, close-inside detection at session extremes with minimum wick percentage filter
EMA Alignment Filter: EMA 4/5 cross direction and EMA 750 price side required for signal confirmation — configurable on/off
ATR TP/SL Visualization: Risk and reward boxes from each entry bar — default 1.5× ATR stop, 3:1 reward ratio, fully adjustable
Session Win Rate Tracking: Independent win/loss/total counters for Tokyo, London, and New York sessions
Session History Management: Oldest range boxes automatically trimmed to prevent chart clutter (configurable maximum)
Non-Repainting: All signals gated on barstate.isconfirmed — session ranges never move backward
Timezone Configuration: Session windows evaluated relative to a configurable timezone to handle exchange-specific session times
Dashboard (Top Right): Per-session win/loss/rate table for Tokyo, London, NY, and aggregate total with color-coded performance rows
Session Background Tints: Subtle color fills applied to the chart background during Tokyo, London, and NY range-building windows — visually delineates the opening range capture period for each session in real time
Session Name Labels on Range Boxes: Session name label placed at the midpoint of each finalized range box — immediately identifies which session produced each visible range without requiring manual reference
EMA Alignment State in Dashboard: Current EMA alignment state (BULL ALIGN / BEAR ALIGN / NEUTRAL) displayed in the dashboard — provides a one-glance structural context for the active session
Live ATR Value in Dashboard: Current ATR value shown in the dashboard — communicates the prevailing volatility level used for TP/SL sizing at any given moment
Expanded Dashboard (8 Rows): Dashboard expanded to 8 rows — now includes EMA alignment state and live ATR value alongside the existing per-session win rate breakdown
Input Parameters
Session Settings:
Chart Timezone: Timezone for session window evaluation (default: America/New_York)
Show Tokyo / London / New York Range: Independent visibility toggles per session
Range Window (minutes): Opening range capture duration (default: 15)
EMA Filter:
Fast EMA: Period for fast EMA (default: 4)
Slow EMA: Period for slow EMA (default: 5)
Trend EMA: Period for long-term trend filter EMA (default: 750)
Require EMA Alignment: Toggle filter on/off (default: enabled)
Risk Settings:
ATR Length: ATR period (default: 14)
ATR SL Multiplier: Stop loss ATR distance (default: 1.5)
Reward:Risk Ratio: TP as multiple of SL distance (default: 3.0)
Show TP/SL Boxes: Toggle TP/SL visualization (default: enabled)
Signal Settings:
Require Rejection Wick: Toggle minimum wick filter (default: enabled)
Min Wick % of Range: Minimum wick size relative to candle range (default: 55%)
How to Use This Indicator
Step 1: Identify Session Range Levels
Each session's opening range box shows the high, low, and midpoint established during the opening window. These are the primary liquidity reference levels for that killzone. Extension lines persist after the session box closes, continuing to mark those price levels as the day progresses.
Step 2: Monitor for Rejection Signals
When price wicks beyond a session extreme and closes back inside, a rejection signal is generated. This event represents a liquidity grab — the market took the stops placed beyond the session extreme and reversed. The signal fires at the close of the rejecting bar, confirmed on that candle only.
Step 3: Confirm EMA Alignment
With the EMA filter enabled, only signals aligned with the current EMA 4/5 direction and EMA 750 trend side are triggered. This avoids trading session rejections against the prevailing structural trend.
Step 4: Manage Risk with TP/SL Boxes
The ATR-based TP/SL boxes extend from the entry close and show the exact risk/reward zone for each trade. The stop is placed 1.5× ATR from entry; the target is 3× that distance by default. Both are adjustable.
Step 5: Review Session Performance
The per-session win rate table shows which session ranges have historically produced the best rejection setups on the current instrument and timeframe. Use this to focus attention on the sessions with the strongest empirical edge.
Indicator Limitations
Session detection is based on time windows relative to the selected timezone. Instruments that observe daylight saving time shifts differently from the selected timezone may require manual session string adjustment during DST transitions
The opening range window is fixed in minutes. On timeframes coarser than the window (e.g., a 30-minute chart with a 15-minute range window), the range will capture only one or two bars, which may not accurately represent the opening range
The EMA 750 requires 750 bars of history to produce an accurate value. On instruments with limited history or on very long timeframes, the first 750 bars will show an inaccurate trend filter — use the indicator on instruments and timeframes with sufficient historical data
Session win rate counters are maintained within the current chart load session and reset when the indicator is refreshed. They reflect historical outcomes up to the current chart's loaded data, not a permanent multi-year backtest
Rejection detection uses bar closes. On timeframes with large candles (daily, weekly), a wick rejection at a session range level may span multiple intraday sessions, making the signal less precise for intraday execution
Originality Statement
SRA automates the full three-stage session range workflow — range construction, level monitoring, and rejection detection — within a single indicator, with per-session outcome tracking and EMA trend filtering. This is original for the following reasons:
The dynamic range construction (high/low expanding bar-by-bar during the opening window, then finalizing on window close) replicates the manual process of drawing opening range boxes in real time, including live box expansion during active sessions — behavior not available from static horizontal lines
Extension lines at the session high, low, and midpoint persist beyond the session box as separate structural reference levels, providing a layered view of session-specific liquidity without requiring additional drawings
The rejection detection system operates across all three active session ranges simultaneously in a single scan loop, identifying which specific session range produced the signal and tagging it for session-specific outcome tracking
The EMA alignment stack (fast EMA cross direction + long-term trend EMA) applied as a prerequisite filter to session rejection signals combines institutional level-based methodology with trend confirmation in a single indicator rather than requiring a separate trend indicator
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss. Session range levels and rejection signals are historical reference points. Price does not respect these levels in all market conditions, and rejection signals do not guarantee a reversal. Session win rates are derived from historical bar data and do not predict future performance. Always apply proper risk management. The author is not responsible for any trading losses resulting from the use of this indicator.
-Made with passion by jackofalltrades
Indikator

Weekly Open Reaction Map [AGPro Series]Weekly Open Reaction Map
🔹 OVERVIEW
Weekly Open Reaction Map is a focused weekly open overlay built for traders who use the current weekly open as a higher-timeframe anchor.
The weekly open is one of the simplest and most widely watched reference levels on a chart. Many traders mark it manually, but a plain horizontal line does not show whether price is accepting above it, losing it, reclaiming it, or repeatedly reacting through the same area. This script turns the weekly open into a structured reaction map.
The script plots the current weekly open, builds an adaptive reaction band around it, detects accepted behavior above or below the level, marks selective reclaim and loss events, and summarizes the active state in a compact dashboard.
The goal is clarity:
How is price reacting around the current weekly open?
This is not a broad level engine. It is not a full weekly range dashboard. It is not a prior high or prior low tool. It is not a session-open model. It is a single-anchor weekly open reaction framework designed to keep the chart clean while adding practical context.
🔹 WHAT MAKES IT DIFFERENT
Weekly Open Reaction Map is built around one level only: the current weekly open.
Instead of plotting a large set of reference prices, the script focuses all of its logic on the active weekly open and asks whether price is above it, below it, reclaiming it, losing it, or still testing the reaction area.
Key differentiators:
• Single-anchor design centered only on the current weekly open
• Adaptive reaction band instead of a fragile one-tick line
• Acceptance-side model using sustained closes beyond the band
• Reclaim and loss labels designed to stay selective by default
• Concept-native rectangular reaction zones around confirmed weekly open behavior
• Compact panel showing distance, acceptance side, active-week reaction count, weekly bias, and last event
• Cleaner default visual mode tuned for 1H, 4H, and 1D public-chart presentation
• Optional initial acceptance events for users who want more context
The script is intentionally restrained. It does not try to become a full market structure suite. Its value comes from making one simple, popular, and highly searchable level more readable.
🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS
This script was designed to stay separate from existing AGPro public concepts.
It does not overlap with Daily Open Acceptance Map because this script does not reset around the daily open. The weekly open carries context across several trading days, so the logic is built around a multi-day weekly anchor rather than an intraday daily reference.
It does not overlap with Reference Price Operating Map because this script does not compare multiple reference prices. There is no multi-reference framework here. The weekly open is the only operating level.
It does not overlap with Session Reaction Map because this script does not evaluate Asia, London, New York, or session-start behavior. It continuously follows the active week and reads how price behaves around the weekly open over time.
It does not overlap with PDH PDL PWH PWL Engine because this script does not plot previous day highs, previous day lows, previous week highs, previous week lows, or active range corridors. It avoids becoming a prior-period high/low engine.
It does not overlap with generic support and resistance scripts because its boxes are not derived from swing pivots, historical ranges, or broad supply-demand zones. The reaction zones exist only when weekly open behavior is confirmed.
The scope is narrow by design:
Current weekly open.
Acceptance.
Reclaim.
Loss.
Reaction zones.
Weekly bias.
⚙️ METHODOLOGY
The script reads the current weekly open from the weekly timeframe and projects it onto the active chart.
Around that weekly open, it builds a reaction band. This prevents the script from treating the weekly open as an unrealistically perfect single price. The band can be sized by:
• ATR for volatility-adjusted behavior
• Percent for proportional market structure
• Ticks for fixed instrument precision
The acceptance model checks whether price can sustain closes beyond the reaction band. A single close is not enough by default. The user can define how many consecutive closes are required before the script recognizes accepted behavior.
The engine then tracks which side of the weekly open has been established during the active week.
A weekly open reclaim is detected when price had already traded below the weekly open context and then confirms acceptance back above the level after a recent band interaction.
A weekly open loss is detected when price had already traded above the weekly open context and then confirms acceptance below the level after a recent band interaction.
Optional initial acceptance events can also be enabled. These show which side of the weekly open became dominant first after a new week begins. They are disabled by default so the public chart remains cleaner and more focused on reclaim/loss transitions.
Confirmed events can create rectangular reaction zones. These zones preserve the weekly open area where the reaction was confirmed and project it forward for context. They are concept-native zones, not generic support/resistance boxes.
📊 PANEL
The panel gives a fast read of the active weekly open condition.
Distance
Shows how far current price is from the weekly open, including a percent reading.
Acceptance Side
Shows whether price is accepted above the weekly open, accepted below it, or still testing the weekly open band.
Reaction Count
Counts confirmed weekly open reactions for the active week. The panel uses active-week logic, while visual label limits keep historical charts clean.
Weekly Bias
Summarizes the current weekly open state as Bullish Control, Bearish Control, or Neutral Test.
Last Event
Shows the latest confirmed weekly open event, such as WO Reclaim, WO Loss, WO Accept +, or WO Accept -.
The panel includes adjustable location, theme, and font size controls. The first panel row follows the AGPro standard: a single merged blue header row containing only the script name.
🎛️ KEY INPUTS
Show Weekly Open Line
Controls whether the current weekly open line is displayed.
Weekly Open Line Width
Controls the visual weight of the weekly open reference line.
Reaction Band Width Mode
Choose ATR, Percent, or Ticks to define the width of the weekly open reaction area.
ATR Width Multiplier
Controls volatility-adjusted band width when ATR mode is selected.
Percent Width
Controls proportional band width when Percent mode is selected.
Tick Width
Controls fixed band width when Ticks mode is selected.
Acceptance Confirmation Bars
Defines how many consecutive closes are required before price is treated as accepted above or below the weekly open band.
Recent Touch Window
Requires confirmed events to occur near a recent weekly open band interaction.
Show Active Weekly Open Band
Displays the live weekly open reaction corridor.
Show Confirmed Reaction Zones
Draws extended boxes around confirmed weekly open reclaim, loss, or optional initial acceptance behavior.
Reaction Zone Extension Bars
Controls how far confirmed weekly open reaction zones project forward.
Maximum Reaction Zones
Limits the number of historical zones shown on the chart.
Show Reclaim / Loss Labels
Displays selective weekly open reclaim and loss labels.
Show Initial Acceptance Events
Allows first-side weekly open acceptance events to create labels and zones. Disabled by default for a cleaner public view.
Minimum Bars Between Labels
Controls cross-week spacing between event labels, helping avoid historical label clusters.
Maximum Event Labels
Limits visible historical event labels for a cleaner chart.
Label Offset ATR
Moves labels away from candles so they stay readable.
Label Font Size
Controls event label size. Normal is the default.
Panel Location
Moves the dashboard to the preferred chart location.
Panel Theme
Selects Dark, Light, or Auto panel styling.
Panel Font Size
Controls dashboard text size. Normal is the default.
🔍 HOW TO READ IT
Start with the weekly open line.
If price is above the line and the panel shows Above WO, the market is currently accepting above the weekly open band.
If price is below the line and the panel shows Below WO, the market is currently accepting below the weekly open band.
If the panel shows Testing WO, price is still close enough to the reaction band that the weekly open has not resolved clearly.
WO Reclaim
This label means price previously moved below the weekly open context and later confirmed acceptance back above it.
WO Loss
This label means price previously held above the weekly open context and later confirmed acceptance below it.
Reaction Zones
These boxes highlight the weekly open area where a confirmed reaction occurred. They can act as visual memory zones for later retests, pauses, or renewed pressure around the same weekly anchor.
Weekly Bias
The bias reading is not a standalone trade call. It is a context label that tells whether the active week is currently being controlled above the weekly open, below the weekly open, or still near the test area.
Reaction Count
This helps identify whether the week has been clean and directional or has already produced several confirmed weekly open reactions.
🧩 BEST USE CASES
Weekly open context
Use the script to understand whether the active week is being accepted above or below its opening level.
Reclaim tracking
Use WO Reclaim labels to identify when price regains the weekly open after trading below it.
Loss tracking
Use WO Loss labels to identify when price gives up the weekly open after previously holding above it.
Multi-timeframe planning
Use the weekly open as a higher-timeframe anchor while viewing 1H, 4H, or 1D charts.
Clean chart workflow
Use the script when you want one important weekly reference instead of a crowded stack of levels.
Reaction-zone review
Use projected boxes to remember where meaningful weekly open reactions were confirmed.
Public chart publishing
Use the default settings for cleaner TradingView screenshots and a more premium chart layout.
🧠 VISUAL DESIGN PHILOSOPHY
The design philosophy is premium restraint.
The weekly open should be easy to identify, but it should not dominate the chart. Labels should be useful, but not constant. Zones should preserve meaningful reaction areas, but not turn the screen into a grid of boxes.
The default settings are intentionally cleaner:
• Initial acceptance events are off by default
• Reclaim and loss behavior remains the primary visible story
• Label spacing works across weeks, not only inside one week
• Historical label and zone limits are conservative
• The panel uses a compact AGPro dashboard style
• The active weekly open band is visible without overwhelming candles
This helps the script remain practical on 1H, 4H, and 1D views while still giving the chart enough structure to feel complete.
🔔 ALERTS
The script includes alert conditions for key weekly open events:
Weekly Open Reclaim
Triggers when price confirms a reclaim of the weekly open after previously trading below the weekly open context.
Weekly Open Loss
Triggers when price confirms a loss of the weekly open after previously trading above the weekly open context.
Weekly Open Accepted Above
Triggers when price confirms acceptance above the weekly open band.
Weekly Open Accepted Below
Triggers when price confirms acceptance below the weekly open band.
These alerts are designed for context awareness around the weekly open. They are not intended to replace a complete trading plan or broader market review.
🔹 LIMITATIONS AND TRANSPARENCY
Weekly Open Reaction Map is intentionally focused on one reference level. It does not attempt to map every support/resistance area on the chart.
The script does not include previous day highs, previous day lows, previous week highs, previous week lows, session opens, daily opens, volume profile levels, swing pivots, or order-flow data.
Because the weekly open can behave differently across assets and timeframes, users may need to adjust the reaction band width, confirmation bars, and label spacing for their market.
On very low timeframes, labels can appear more frequently if sensitivity is increased. On higher timeframes, fewer but more meaningful events are expected.
The weekly bias panel is a context tool. It describes the current relationship between price and the weekly open; it does not predict future price movement.
The script is built to stay clean, transparent, and focused. Its strength is not feature volume. Its strength is making one widely used weekly reference level easier to read.
✅ IDEAL USER
This script is ideal for traders who:
• Use the weekly open as a key higher-timeframe reference
• Want a cleaner way to read weekly open acceptance, reclaim, and loss
• Prefer focused tools over crowded multi-level dashboards
• Trade crypto, forex, indices, or liquid stocks where the weekly open is actively watched
• Use 1H, 4H, or 1D charts for market context
• Want reaction zones without turning the chart into a generic support/resistance map
• Publish or review TradingView charts and need a clean visual presentation
• Prefer structured context over excessive labels and visual noise
Weekly Open Reaction Map is built for traders who want the weekly open to become more than a line. It turns that level into a readable acceptance and reaction framework while keeping the chart professional, restrained, and publication-ready. Indikator

Daily Trade Plan Generator [AGPro Series]Daily Trade Plan Generator
Daily Trade Plan Generator — complete morning briefing tool that generates a structured, rules-based trade plan for every new trading day. Combines key levels, multi-timeframe bias, projected volatility range, and adaptive Plan A/B/C playbooks into one premium dashboard.
🔷 OVERVIEW
Most traders start their day scattered — flipping through charts, trying to remember yesterday's highs and lows, guessing where the market might move. Daily Trade Plan Generator replaces that chaos with a single structured briefing. Every new trading day (either at UTC midnight for crypto or at a configurable exchange session open), the script automatically generates a complete plan: where the key levels are, which direction has the stronger multi-timeframe bias, how wide the day is likely to trade, and what the Plan A, Plan B, and Plan C playbooks look like. It is the first tool to open every morning — and it is self-updating, so you never have to reset it.
This is not a signal generator and not a strategy. It is a briefing tool, designed for traders who want to start every session with the same structured preparation a professional desk would do — without spending 30 minutes on it manually.
🎯 UNIQUE EDGE
What separates this script from generic level indicators and daily-high-low plotters:
• All-in-one daily briefing — levels, bias, volatility, and Plan A/B/C in one dashboard, not four separate indicators cluttering the chart.
• Multi-timeframe bias score (0 to 100) blending 1H, 4H, Daily, and Weekly EMA structure with three configurable weighting modes (Fast, Balanced, Conservative) so the bias matches your trading style.
• Asset-class-aware round numbers — the script auto-detects price magnitude and picks sensible round-number intervals (1000 for BTC-scale assets, 0.01 for forex majors, and so on) without manual setup.
• Projected daily range as a visual zone — ATR-based expected high and low rendered either as a semi-transparent rectangle, dashed lines, or both, giving you an immediate read on where price is likely to operate.
• Plan A / Plan B / Plan C structure (user-configurable 1 to 3) — deliberate "Plan" terminology to avoid confusion with pivot S/R notation. Plan language uses historical-pattern framing with no forecasting claims.
• Two refresh anchors plus a "both visible" option — crypto traders get UTC midnight, equities/futures traders get configurable session open, swing traders can see both markers.
• Timeframe-adaptive behavior — on weekly and higher timeframes, PDH/PDL automatically hide (since "previous day" is not meaningful there), and Plan A/B references shift to PWH/PWL for consistency.
• Smart label collision avoidance — PROJ HI/LO, PDH/PDL, and PWH/PWL labels intelligently reposition when too close together, keeping every chart readable at any scale.
• Volatility regime classification (Low / Normal / High) with a context-aware risk note that adapts to market conditions.
🧩 METHODOLOGY
LEVELS. Previous Day High/Low and Previous Week High/Low are pulled via higher-timeframe requests and rendered as persistent lines extending from today's session open to the right. The nearest round number is drawn as a single dotted line on the chart; the full list of nearby round numbers is shown in the dashboard panel to keep the chart clean.
BIAS SCORE. For each timeframe (1H, 4H, 1D, 1W), three components are evaluated: fast EMA versus slow EMA relationship, close versus fast EMA position, and fast EMA slope direction. Each component contributes plus or minus one, averaged to a per-timeframe score between -1 and +1. The four timeframe scores are then combined using the selected weighting mode and normalized to a 0-100 scale. Scores above 65 are labeled Bull, below 35 Bear, and in between Neutral.
VOLATILITY. Daily ATR over the configurable length (default 14) determines the expected range. The range is centered on today's session open and expanded by the Range Multiplier input. ATR as a percentage of open price classifies the regime: below 1% is Low, above 4% is High, in between is Normal.
PLANS. The script composes Plan A (primary, aligned with bias), optionally Plan B (alternative, opposite-side rejection path), and optionally Plan C (range / mean-reversion, activated when volatility is low or bias is neutral). Plan references adapt automatically to chart timeframe — intraday and daily charts use PDH/PDL, weekly and higher charts use PWH/PWL. The language is deliberately conditional and references historical patterns rather than predicting future prices.
🔔 SIGNALS & ALERTS
The script includes five built-in alert conditions:
• New Daily Plan Generated — fires when the daily refresh anchor triggers.
• Price Broke PDH — crossover above Previous Day High.
• Price Broke PDL — crossunder below Previous Day Low.
• Price Exceeded Projected High — crossover above ATR-projected high (volatility expansion).
• Price Exceeded Projected Low — crossunder below ATR-projected low (volatility expansion).
Each alert includes the ticker and relevant price in the message payload, ready to route into any alert handler.
⚙️ KEY INPUTS
• Daily Refresh Anchor — UTC Midnight, Exchange Session, or Both Visible.
• Exchange Session Open Hour — 0 to 23, used when Exchange or Both is selected.
• Key Levels toggles — PDH/PDL, PWH/PWL, Round Numbers individually toggleable.
• Round Numbers in panel — 1 to 5 levels above and below the current price.
• Bias Calculation Mode — Fast (HTF-weighted), Balanced, or Conservative (MTF-weighted).
• EMA Fast / Slow periods — defaults 20 and 50.
• ATR Length and Range Multiplier — control the width of the projected daily range.
• Expected Range Visualization — Zone (Box), Dashed Lines, or Both.
• Number of Plans — A, A+B, or A+B+C.
• Panel Location — six corner/middle positions.
• Panel and Label font sizes — Tiny through Huge, default Normal.
• Panel Theme — Dark or Light, adapts to chart background.
🛠️ HOW TO USE
1. Add the script to your chart at the start of each trading day (or leave it on permanently — it refreshes automatically).
2. Read the dashboard panel top to bottom: LEVELS tell you where the battle lines are, BIAS tells you the dominant direction, VOLATILITY tells you how much room the market has, PLANS give you conditional playbooks for the day.
3. Check the "Risk Note" line — it adapts to the volatility regime and bias. Low volatility suggests patience, high volatility suggests reducing size, neutral bias suggests waiting for a clean break.
4. Use the plotted levels as structural references for your own entries and exits. The projected range box highlights where mean-reversion trades are statistically more likely to work.
5. Set alerts on PDH/PDL breaks and projected-range expansion events to get notified when your Plan A or Plan B is being tested.
6. Adjust the bias mode to match your style: intraday scalpers benefit from Fast (HTF-weighted), position traders often prefer Conservative (MTF-weighted).
⚠️ LIMITATIONS & TRANSPARENCY
• This is a briefing tool, not a strategy or signal generator. It does not open, close, or manage trades.
• All levels and plans are derived from historical data (previous day/week highs and lows, ATR, EMA structure). Past structure does not guarantee future behavior.
• Projected ranges are statistical estimates based on ATR — actual daily ranges can and do exceed them, especially during news events or regime shifts.
• The multi-timeframe bias score is a momentum/trend structure measurement, not a prediction. Markets can reverse at any time regardless of bias.
• Plan language uses historical-pattern framing deliberately. No plan is a forecast; it is a conditional reference for discretionary decision-making.
• On weekly and higher timeframes, PDH/PDL are hidden by design because "previous day" is not a meaningful unit for weekly-horizon decisions. Plan A and Plan B use PWH/PWL as reference in those cases.
• The script does not repaint on closed higher-timeframe bars. The daily open, PDH, PDL, PWH, PWL are locked once the respective higher-timeframe bar closes.
• Round-number auto-detection uses price magnitude; for unusual instruments (very high or very low priced), review the levels manually.
🛡️ RISK DISCLOSURE
Trading involves substantial risk of loss. This script is a technical analysis tool provided for informational and educational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to trade any instrument. Past performance of any pattern, level, or methodology shown is not indicative of future results. Always conduct your own analysis, manage your position size according to your risk tolerance, and consider consulting a qualified financial professional before making trading decisions. The author and AGProLabs assume no liability for any trading outcomes resulting from the use of this tool.
Indikator

Reference Price Operating Map [AGPro Series]Reference Price Operating Map
🔹 OVERVIEW
Reference Price Operating Map is a focused overlay that consolidates the four most universally watched reference prices — Daily Open, Weekly Open, Monthly Open, and Previous Close — into a single operating map. It tracks how price interacts with each level in real time, attributes control to the reference currently leading price action, groups overlapping references into confluence clusters, and fades distant context so the active map stays clean.
The chart answers one direct question at a glance: which reference is controlling the session right now.
Built for intraday operators, swing traders, and position traders who anchor their bias to session and period opens. Works on any symbol and any intraday or daily timeframe.
🔸 WHAT MAKES IT DIFFERENT
Most open-line indicators simply draw horizontal lines for Daily, Weekly, Monthly, and Previous Close and stop there. This script goes further by adding four layers on top of those lines:
• State tracking — each reference is classified as Untouched, 1st Touch, Tested, Held, Reclaimed, or Rejected, and the state updates bar by bar as price interacts with the level.
• Control attribution — a proximity-weighted scoring system selects one reference as the current "controller" of price action, highlighted with a dominant-row background in the panel and a thicker line on the chart.
• Confluence grouping — when two or more references sit within 0.5 ATR of each other, they collapse into a single cluster label (for example "D-Open + W-Open + PClose") instead of stacking separate labels on top of each other.
• Distance-aware rendering — references far from current price are demoted to a thin gray zone with a dotted line, keeping them visible as structural context without crowding the active map.
The engine also includes a far-aware state machine: references that price has not meaningfully engaged stay in the Untouched state instead of being forced into misleading classifications.
🔷 METHODOLOGY
Reference levels are pulled directly from the higher timeframe open (Daily, Weekly, Monthly) and the previous daily close using lookahead-safe security calls on confirmed bars.
Distance classification uses ATR(14) as a volatility scale. A reference is considered "near" when price is within a configurable ATR multiple and "far" when it exceeds the far-distance threshold. This adapts the map to both low-volatility ranges and high-volatility expansions without manual tuning.
State transitions are driven by a finite state machine with six states. Key transitions:
• Untouched → 1st Touch when price enters the touch zone (default 0.25 ATR) or wicks through it.
• 1st Touch / Tested → Held when price moves cleanly away from the level on the same side.
• 1st Touch / Tested → Reclaimed when price closes on the opposite side (optionally requiring multi-bar confirmation).
• Any engaged state → Rejected when a large wick rebounds from the level with more than 60 percent wick ratio.
• Held / Rejected → Reclaimed on a confirmed cross.
The control score combines proximity (how close price is to the reference relative to ATR) with a state weight (Reclaimed and 1st Touch score highest, Held scores lowest). The reference with the highest score is tagged as controller; if no reference has meaningful engagement the panel reports No Active Control.
🔶 SIGNALS AND ALERTS
Three alert conditions are exposed:
• Reference Touched — fires the first time any reference is touched in its period.
• Reference Reclaimed — fires when any reference transitions into the Reclaimed state.
• Reference Rejected — fires when a large-wick rejection bar is registered at any reference.
On-chart, first-touch diamond markers are placed on recent bars to make period engagement easy to spot in screenshots and reviews. The panel footer reports the current controller and updates in real time.
🔹 KEY INPUTS
Reference Lines — independent toggles for Daily Open, Weekly Open, Monthly Open, and Previous Close.
Display — Show Active References Only (hide untouched references for a cleaner map), Strict Reclaim Confirmation (require multiple confirmation bars for Reclaim), Label Density (Minimal shows only the dominant reference, Normal shows all active, Detailed appends state names to labels), Show Reaction Bands, Mark First Touches.
Panel — position (four corners), font size, label font size. All default to Normal per AG Pro Series visual standards.
Sensitivity — Touch Threshold (ATR multiple defining a touch), Reclaim Confirm Bars (strict-mode confirmation count), Band Width (reaction band width in ATR), Far Distance (ATR multiple beyond which references are faded to context).
All parameters are ATR-scaled so defaults transfer cleanly across instruments and timeframes.
🔸 HOW TO USE
1. Open the panel and read the controller. If the footer shows "D-Open Controls" with a Bull bias, intraday operators treat Daily Open as the session pivot and trade with that bias until the state changes.
2. Watch the confluence label. A grouped label such as "D-Open + W-Open + PClose" means three references are stacked — a cluster of this kind is typically a higher-conviction zone than a single isolated reference.
3. Use state transitions as triggers. A Rejected state at Monthly Open during a rally is a different signal than a Reclaimed state at the same level. The state tells you what just happened at the level, not just where the level is.
4. Use the far zone as context. A Monthly Open plotted as a gray zone five ATR away from price is not an execution level — it is orientation. When price approaches it, the zone transitions into an active band and the state engine re-engages.
5. Combine with your own structure work. This map is designed to sit underneath price action analysis, order flow, or trend tools, not replace them.
🔷 LIMITATIONS AND TRANSPARENCY
• This is an indicator, not a strategy. No entries, exits, position sizing, or backtesting is performed.
• Reference prices are sourced from higher timeframe candles using confirmed lookahead. Results on intraday charts should match the official Daily, Weekly, and Monthly opens of the exchange the chart is connected to.
• State classifications are heuristic. They describe observed behavior at each level in historical terms and should not be read as forecasts. A Reclaimed state is a description of what just happened, not a prediction of what comes next.
• ATR-based thresholds mean the map adapts to volatility but can feel different on very low-volume or very thinly traded instruments. Adjust the touch threshold and far distance inputs if defaults feel too loose or too tight.
• Confluence grouping uses a 0.5 ATR window. On very wide-range days this window can become large; on very narrow ranges it can feel tight.
🔶 RISK DISCLOSURE
This indicator is provided for informational and educational purposes only. It does not constitute financial advice, investment advice, trading advice, or any other form of advice. Past performance of any level, state, or methodology shown on the chart does not guarantee future results. Trading and investing involve substantial risk of loss. You alone are responsible for your decisions, for managing your risk, and for complying with the laws and regulations that apply to you. Test any tool on a demo account or in paper trading before using it with real capital. Indikator

MTF Trend Agreement Map [AGPro Series]MTF Trend Agreement Map
🔹 **Overview**
MTF Trend Agreement Map is a multi-timeframe alignment engine that reads the trend across five timeframes at once and distills the result into a single transparent agreement score. Instead of forcing you to flip between charts, the map tells you, on every bar, how many timeframes agree, which side wins, and whether the market is in a locked regime, a forming trend, or a conflict phase. It is built for swing traders, HTF-bias scalpers, position traders, and anyone who uses top-down analysis as part of their process.
🔸 **What Makes It Different**
Most MTF indicators show a single method (usually a moving-average cross) repeated across timeframes, which means five rows that all agree with each other by construction. This map does something different: for each timeframe it runs three independent methods — an EMA regime filter, a pivot-based market-structure read (HH/HL vs LH/LL), and a normalized momentum slope — and blends their individual votes into the final score. You see not only the agreement across timeframes but also the agreement across methods, which exposes weak or borderline regimes that a single-method tool would quietly hide.
🔺 **Methodology**
• EMA Trend: a timeframe is bullish when EMA50 is above EMA200 and price is above EMA50; bearish on the mirror condition; neutral otherwise.
• Market Structure: confirmed pivots are tracked in real time. A timeframe is bullish while the last two confirmed swings form higher highs and higher lows, bearish on lower highs and lower lows.
• Momentum Slope: the change in linear regression across a configurable lookback, normalized by ATR so that fast and slow assets are comparable.
• Consensus per timeframe: each active method casts a vote; bulls minus bears determines the row's net direction and strength.
• Overall alignment: bull and bear votes are summed across all active timeframes; the dominant side's share defines the agreement percentage.
◆ **Three-State Regime Engine**
• **LOCKED** — agreement above the strong threshold (default 80%). High-conviction regime, continuation-friendly, background tint activates.
• **TRENDING** — agreement between 50% and the strong threshold. Directional bias forming but not yet fully aligned. Trade with reduced size or wait for confirmation.
• **SPLIT** — agreement below 50%. Timeframes are in conflict, no majority side. Classic chop phase, favors mean-reversion strategies or standing aside.
🔔 **Signals & Alerts**
• Regime Lock (Bull or Bear): fires the first bar agreement crosses above the strong threshold while one side dominates. Designed as a continuation trigger, not a reversal signal.
• Chop / Conflict: fires when no side holds the majority, a classic filter for mean-reversion systems or a stand-aside cue for trend traders.
• Both generic and directional alertcondition() hooks are exposed so you can wire the map into automations.
⚙️ **Key Inputs**
• Core Engine: toggle any of the three methods on or off, and tune the pivot length and momentum lookback independently.
• Timeframes: four user-selected timeframes plus an optional Current row that auto-adapts to the chart TF. If the chart TF matches any selected TF, the Current row is hidden automatically to avoid double-counting.
• Panel: six location presets, four text sizes (default Normal), dark or light theme, optional per-method breakdown row.
• Background Tint: enable or disable, set the strong-alignment threshold (50–95%) and control transparency (70–99) to keep the chart premium.
📖 **How to Use**
• Top-down confirmation: take trades on your execution timeframe only when the higher rows in the map agree with your thesis.
• Regime filter: enable Regime Lock alerts to catch moments when the full map snaps into alignment — these are typical continuation windows.
• Conflict filter: when the map prints SPLIT, widen stops, reduce size, or step aside; trend strategies historically underperform during these phases.
• Method debugging: turn on the per-method breakdown to see which methods are driving the score and which are fighting it.
⚠️ **Limitations & Transparency**
• All timeframe values are non-repainting at bar close (lookahead is disabled), but intrabar values can update until the parent bar closes — this is expected MTF behavior.
• Market Structure requires enough history on each timeframe to confirm two swings; on very young assets or short charts the structure vote may be neutral until pivots print.
• The map is a context tool, not a standalone entry system — combine it with your own execution logic, risk management, and bias.
📌 **Risk Disclosure**
This script is provided for educational and analytical purposes only. It does not constitute financial advice, a recommendation, or a solicitation to trade any instrument. Markets involve substantial risk and past behavior does not guarantee future results. Always do your own research and manage risk responsibly. Indikator

MTF Candle Bias TableMTF Candle Bias Table
Brought to my attention by Max Algo — credit and appreciation to them for sharing this.
A clean, at-a-glance multi-timeframe dashboard that tells you where price is biased across up to 7 timeframes simultaneously — no more flipping between charts.
What it shows:
For each timeframe you choose, the table displays:
Candle — whether the current candle is bullish or bearish (close vs. open)
Bias — directional bias based on whether price has breached the prior bar's high or low
Trend — whether price is trading above or below a configurable EMA (default 50)
Hold/Fade — whether price is holding the bias level or fading it
Score — a confluence score (0–3) combining candle, trend, and hold alignment
Accuracy % — a rolling back-tested accuracy rate showing how often the bias predicted the next candle's direction correctly, over a selectable lookback period (1 day to 1 month)
A Bias Score row at the bottom gives you an instant bull vs. bear count across all visible timeframes, color-coded green or red based on overall market lean.
A session label (NY Open, Midday, PM Close, Globex, Overnight) keeps you oriented in the trading day at all times.
Customization:
Enable/disable any of the 7 timeframes individually
Toggle columns on/off (Trend, Hold, Score, Accuracy)
Vertical or Horizontal table layout
Symbols-only mode for a more compact view
Full color and position control
Great for confluence-based trading — use it to quickly confirm whether multiple timeframes agree before entering a trade.
Here's a breakdown of each feature straight from the logic in the code:
TREND
The trend column compares the current closing price to an EMA (default 50, but you can change the length). If close is above the EMA, it shows "↑ ABOVE" (bullish). If close is below the EMA, it shows "↓ BELOW" (bearish). This is calculated on each timeframe independently, so your 1m and 1D can show completely different trend readings. It's essentially asking: is price on the right side of the moving average on this timeframe?
HOLD vs. FADE
This column is tied directly to the Bias. Once a bias is established (bull or bear), Hold/Fade tells you whether price is respecting that bias level or failing it.
If the bias is bullish (price broke the prior bar's high), Hold checks whether the current close is still above that prior bar's high. If yes → ✓ HOLD. If not → ✗ FADE.
If the bias is bearish (price broke the prior bar's low), it checks whether the current close is still below that prior bar's low. If yes → ✓ HOLD. If not → ✗ FADE.
If there's no bias (neutral), it just shows a dash.
Think of it as a confidence check — a bias that's holding is stronger than one that's already fading.
SCORE (0–3)
The score is a simple confluence counter that adds up how many things are aligned with the bias. It scores a point for each of the following:
Candle agrees with bias — the current candle is bullish and bias is bullish, or both bearish
Trend agrees with bias — price is on the correct side of the EMA relative to the bias direction
Hold is active — price is holding the bias level (not fading)
So a score of 3/3 means everything is aligned: the bias is set, the candle confirms it, the trend supports it, and price is holding the level. A score of 0 or a dash means the bias exists but nothing else is confirming it. Neutral biases always show a dash regardless.
ACCURACY %
This is the most unique feature. It tracks, historically, how often the bias on each timeframe correctly predicted the direction of the next completed candle. Here's how it works:
Each time a new bar closes on a given timeframe, the indicator looks back at what the bias signal was on the previous completed bar
It then checks whether that bias was correct — did a bullish bias lead to a bullish close? Did a bearish bias lead to a bearish close?
It keeps a rolling log of those results (1 = correct, 0 = wrong) and calculates the percentage of correct predictions
The lookback window is controlled by your Accuracy Period setting (1 Day, 3 Days, 1 Week, 2 Weeks, or 1 Month), and it automatically scales the number of bars based on the timeframe
The color coding gives you a quick read:
🟢 Green (60%+) — the bias signal has been reliably predictive
🟡 Yellow (50–59%) — marginally better than a coin flip
🔴 Red (below 50%) — the signal has been more wrong than right recently
This helps you know which timeframes are currently giving trustworthy signals and which ones to treat with skepticism. Indikator

Indikator

AG Pro HTF Bias Dashboard [AGPro Series]AG Pro HTF Bias Dashboard
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.
Indikator
