Gap Continuation Planner [AGPro Series]TITLE
Gap Continuation Planner
🧠 Core Idea
Is the active gap being accepted for continuation, or is it losing the structure needed for a clean plan?
📌 Overview / What it does
Gap Continuation Planner is a chart-first gap planning tool built to evaluate what happens after a gap appears. Instead of treating every gap as an automatic fill candidate, it asks whether price is accepting the gap edge, following through away from the gap, and preserving a measurable defense line.
The script produces a gap defense zone, a continuation corridor, an acceptance edge, a defense line, a target guide, compact labels, alerts, and a clean AGPro decision panel. The panel converts the live context into a 0-100 continuation score, fill-risk reading, and next-action state.
It does not predict future price, automate trades, or tell the user to buy or sell. It organizes observable gap behavior into a more disciplined continuation-planning framework.
🎯 Purpose & Design Philosophy
This script was built for traders who do not want to reduce every gap to a simple fill-or-fade idea.
Many gaps initially look strong, but the important question is whether the market continues to accept the gap after the first reaction. Gap Continuation Planner focuses on that middle layer: gap acceptance, follow-through, volatility load, defense quality, fill pressure, and forward room.
The design supports a planner mindset. The goal is to slow the decision process down and review whether the structure is valid enough to deserve attention.
⚡ Why This Script Is Different
Most gap tools focus on gap detection, gap fill percentage, or historical gap zones.
This script does NOT work as a generic gap-fill reaction tool, support/resistance map, imbalance catalog, or automatic signal generator.
Instead, it treats the latest gap as a continuation planning object. The model studies whether price is accepting the continuation side of the gap, whether follow-through is developing, whether the defense line remains intact, whether fill risk is rising, and whether there is enough forward room for the plan to remain clean.
⚙️ Methodology
1. Context Detection
The script detects classic opening gaps, wick gaps, body-separation gaps, and controlled continuation launch windows when adaptive mode is enabled.
2. Reference Mapping
Each accepted gap creates a gap defense zone, an acceptance edge, a defense line, and a target guide.
3. Reaction Evaluation
The engine scores gap size, open acceptance, follow-through, volatility load, fill risk, and forward room.
4. Visual Output
The chart displays a centered gap-zone label, a centered continuation-corridor label, event labels, planner lines, and a compact AGPro panel.
🗺️ How to Read the Chart
Zones = the detected gap defense area.
Continuation corridor = the forward planning area between the accepted gap edge and target guide.
Acceptance edge = the side of the gap that price should hold for continuation structure to remain stronger.
Defense line = an ATR-buffered invalidation reference beyond the far side of the gap.
Labels = state changes such as new gap, acceptance watch, continuation ready, defense review, or failed acceptance.
Colors = bullish continuation context uses teal, bearish continuation context uses pink, watch states use indigo, and caution states use amber.
Panel = summarizes gap state, continuation score, defense line, fill risk, and next action.
🚦 Signals & States
• New Gap → a fresh gap continuation window has been detected.
• Acceptance Watch → price is holding the continuation side of the gap, but follow-through still needs confirmation.
• Continuation Ready → the gap has stronger acceptance, follow-through, room, and risk structure.
• Defense Test → price is retesting the gap edge or defense area.
• Fill Risk → the gap is being penetrated enough to reduce continuation quality.
• Gap Failed → the active gap has lost continuation acceptance.
🔔 Alerts Logic
Alerts trigger when a new gap continuation window appears, when the gap reaches READY state, when acceptance watch begins, when defense review becomes relevant, or when gap acceptance is lost.
Alerts are attention markers. They are not trade instructions and do not guarantee that continuation will occur.
🧩 Confluence Logic
The strongest continuation context appears when gap size, gap-edge acceptance, follow-through distance, stable volatility, low fill pressure, and enough forward room align.
When these elements align, the continuation score improves. When fill pressure rises or volatility becomes too hot, the score weakens.
📊 When to Use
• After opening gaps in stocks, indices, futures, or session-based markets
• During continuation attempts after a strong gap
• When reviewing whether a gap is holding acceptance or losing structure
• Around breakout continuation sessions where risk and target references need to be visible
⚠️ When NOT to Use
• Extremely low-liquidity markets
• Very noisy or overlapping session opens
• News-driven gaps with unstable spreads
• Markets where volume and session structure behave unusually
• Environments where price is already far beyond a reasonable risk reference
🎛️ Key Inputs
• Sensitivity → adjusts how strict the gap and score requirements are.
• Gap Mode → controls whether the script reads classic gaps only or adaptive continuation windows.
• Acceptance Bars → changes how many bars must hold the continuation side of the gap.
• Follow-Through ATR → controls the preferred travel away from the gap edge.
• Defense Buffer → sets the ATR spacing for the defense line.
• Forward Room Lookback → helps estimate whether nearby structure limits continuation room.
• Minimum Continuation Score → sets the READY threshold.
• Visual settings → control zones, corridors, lines, labels, object limits, and panel appearance.
• Show Failed / Stale Objects → controls whether old failed corridors remain visible. It is disabled by default for a cleaner publication view.
🖥️ Interface & Visual Design
The interface is built for quick planner-style review. The chart carries the structural map, while the panel provides the decision summary.
The first panel row follows the AGPro merged blue header standard. The remaining rows focus only on the practical planning fields: state, score, defense, fill risk, and action.
The visual hierarchy is intentionally restrained so the gap, corridor, and labels are readable without turning the chart into a crowded signal map.
By default, failed or stale gap objects are hidden after they lose live planning value. Event labels remain available so the chart keeps context without carrying too many old failed boxes.
🧪 Practical Usage Workflow
1. Read the panel state and continuation score.
2. Check whether price is holding the gap acceptance edge.
3. Review the continuation corridor and target guide.
4. Compare fill risk against the defense line.
5. Use alerts as review markers, not execution commands.
6. Confirm the context with broader market structure, liquidity, and personal risk rules.
🔍 Interpretation Guidelines
A high continuation score means the active gap has stronger structure inside this model. It does not mean the move must continue.
Low fill risk supports continuation structure. Rising fill risk means price is starting to challenge the gap.
The defense line is a planning reference. It is not a guaranteed stop level and should not replace the user's own risk process.
Continuation corridors are visual planning areas, not promised target zones.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an auto-trading system.
This script does not provide guaranteed signals.
This script does not replace independent confirmation, risk management, or execution discipline.
⚠️ Limitations & Transparency
Gap behavior varies heavily across asset classes, sessions, and timeframes.
Adaptive launch windows can help continuous markets, but they should still be interpreted as structured gap-like planning areas rather than classic exchange-session gaps.
High volatility can make defense and target references wider.
Low liquidity can distort gap quality, label timing, and fill-risk readings.
No rule-based script can fully account for news, slippage, spread changes, or sudden liquidity shifts.
🧠 Market Context Notes
Gap continuation is often more meaningful when it aligns with trend pressure, session participation, volatility structure, and clean forward room.
A gap is not important simply because it exists. It becomes more useful when price accepts one side of it and maintains a measurable defense structure.
🧾 Use Case Examples
When price gaps up, holds above the gap edge, and the continuation score improves, the script can help review whether the gap is being defended.
When price gaps down and repeatedly rejects back below the gap edge, the panel can help evaluate bearish continuation structure.
When fill risk rises quickly, the script highlights that the gap may be losing acceptance rather than continuing cleanly.
🧱 System Philosophy
AGProLabs tools are built around structured interpretation. The goal is not to add more signals to the chart. The goal is to turn market behavior into a cleaner review process.
Gap Continuation Planner follows that approach by converting a raw gap into a measurable planning object.
🔐 Non-Promise Statement
No indicator can remove uncertainty.
No score can guarantee continuation.
No planner can replace the trader's responsibility to manage risk.
📉 Risk Disclosure
Trading involves risk.
This script is provided for educational and analytical use only.
It does not provide financial advice, investment advice, trading advice, or guaranteed outcomes.
Users remain responsible for their own decisions, risk management, position sizing, and execution.
📚 Educational Note
The strongest use of this tool is to study whether a gap is being accepted or rejected as structure develops. It is designed to support review, patience, and disciplined interpretation.
Indicator
