OPEN-SOURCE SCRIPT
تم تحديثه Gap Reclaim Readiness [AGPro Series]

# Gap Reclaim Readiness [AGPro Series]
🧠 Core Idea
Can price reclaim a gap edge with enough acceptance to make the structure worth monitoring?
📌 Overview / What it does
Gap Reclaim Readiness is a chart-first gap edge decision-support script built to evaluate whether price has returned to a gap boundary and reclaimed it with enough structural quality.
The script maps active gap zones, identifies the reclaim edge, builds a focused reclaim pocket, scores the reclaim from 0 to 100, and summarizes the current state inside a compact AG Pro panel.
It does not predict price direction, automate trades, or provide guaranteed signals. It is designed to organize gap-edge context, reclaim quality, fill risk, and continuation state into a clean visual workflow.
🎯 Purpose & Design Philosophy
Many gap tools focus only on whether a gap exists or whether it has been filled.
This script was built for the more practical question: after a gap forms, does price respect and reclaim the edge strongly enough to deserve attention?
It helps traders who use price action, gap reactions, continuation structure, and intraday context, while supporting a patient decision-making process instead of impulsive reaction.
⚡ Why This Script Is Different
Most tools focus on detecting gaps or tracking gap fill.
This script does NOT behave like a generic gap fill tracker.
Instead, it focuses on the reclaim edge: whether price returns to the boundary, accepts it, loses it, or fails to develop a clean reclaim context.
⚙️ Methodology
1. Gap Context Detection
2. Reclaim Edge Mapping
3. Reclaim Pocket Construction
4. Reaction And Acceptance Evaluation
5. 0-100 Reclaim Score
6. Fill Risk And Continuation State
7. Visual Output And Panel Summary
🗺️ How to Read the Chart
The gap zone marks the structural area created by a qualifying gap or displacement-style gap event.
The reclaim edge marks the key boundary price must respect to form a valid reclaim context.
The reclaim pocket highlights the area around the edge where reaction quality is evaluated.
READY RECLAIM labels appear when the reclaim context meets the required score threshold.
Target rails show projected continuation references after a qualified reclaim.
The panel summarizes Gap Edge, Reclaim Score, Fill Risk, Continuation, and Action.
🚦 Signals & States
• READY → A qualified gap edge reclaim has formed.
• MONITOR → A gap structure exists and the script is watching for reclaim behavior.
• WAIT → No active reclaim context is currently valid.
• INVALIDATED → Price failed back through the reclaim edge.
• EXPIRED → The reclaim window closed without a qualified reclaim.
🔔 Alerts Logic
Bullish Gap Reclaim Ready triggers when price reclaims a bullish gap edge with enough score.
Bearish Gap Reclaim Ready triggers when price reclaims a bearish gap edge with enough score.
Gap Reclaim Invalidated triggers when price fails back through the reclaim edge.
Gap Reclaim Expired triggers when the reclaim window closes without a qualified reclaim.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The reclaim score combines edge interaction, close acceptance, time quality, relative volume, gap size, and available continuation room.
When several of these conditions align, the context becomes stronger.
When they do not align, the script remains in WAIT, MONITOR, INVALIDATED, or EXPIRED state.
📊 When to Use
• Intraday price action workflows
• Gap reaction analysis
• Breakout and reclaim structures
• Continuation after displacement
• Markets where gap edges or price void boundaries matter
⚠️ When NOT to Use
Avoid relying on this script in extremely illiquid markets, very noisy low-volume symbols, holiday sessions, or conditions where gaps and displacement structures are not meaningful.
It should also not be used as a standalone decision tool without broader market context.
🎛️ Key Inputs
• Gap Mode controls how strict the gap detection logic is.
• Minimum Gap Size filters weak structures.
• Displacement Gap Fallback helps continuous markets where classic open gaps are rare.
• Reclaim Pocket ATR controls the depth of the reclaim pocket.
• Minimum Ready Score controls how strong the reclaim must be before READY appears.
• Fill Risk Threshold controls when a reclaim context becomes too filled or exhausted.
• Visual settings control labels, zones, right-side tags, panel location, and font size.
🖥️ Interface & Visual Design
The interface is designed to keep the chart readable while making the active reclaim structure easy to understand.
The panel uses the AG Pro blue header style and summarizes the current state without covering the whole chart.
Zones, pockets, labels, and target rails are designed to show structure first and avoid unnecessary noise.
🧪 Practical Usage Workflow
1. Identify whether the panel shows an active gap edge.
2. Check the reclaim pocket and nearby price reaction.
3. Read the reclaim score and fill risk.
4. Confirm whether the action state is READY, MONITOR, WAIT, INVALIDATED, or EXPIRED.
5. Combine the output with broader structure, liquidity, trend, and risk context.
🔍 Interpretation Guidelines
A higher reclaim score means the gap edge reaction is cleaner according to the script logic.
A high fill risk means the gap context may already be too consumed.
READY means the reclaim condition deserves attention, not that price must continue.
WAIT means there is no valid active reclaim context.
🚫 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 signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Gap behavior changes across markets, timeframes, liquidity conditions, and volatility regimes.
Continuous markets may create fewer classic gaps, so adaptive displacement logic is included to support broader usability.
Different symbols and timeframes may require different sensitivity settings.
🧠 Market Context Notes
Gap reclaim behavior is often stronger when aligned with trend, liquidity response, volume participation, and clean structure.
Weak reclaim attempts can fail quickly when price loses the edge or when the gap becomes fully consumed.
🔐 Non-Promise Statement
No script can guarantee future price behavior.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
🧠 Core Idea
Can price reclaim a gap edge with enough acceptance to make the structure worth monitoring?
📌 Overview / What it does
Gap Reclaim Readiness is a chart-first gap edge decision-support script built to evaluate whether price has returned to a gap boundary and reclaimed it with enough structural quality.
The script maps active gap zones, identifies the reclaim edge, builds a focused reclaim pocket, scores the reclaim from 0 to 100, and summarizes the current state inside a compact AG Pro panel.
It does not predict price direction, automate trades, or provide guaranteed signals. It is designed to organize gap-edge context, reclaim quality, fill risk, and continuation state into a clean visual workflow.
🎯 Purpose & Design Philosophy
Many gap tools focus only on whether a gap exists or whether it has been filled.
This script was built for the more practical question: after a gap forms, does price respect and reclaim the edge strongly enough to deserve attention?
It helps traders who use price action, gap reactions, continuation structure, and intraday context, while supporting a patient decision-making process instead of impulsive reaction.
⚡ Why This Script Is Different
Most tools focus on detecting gaps or tracking gap fill.
This script does NOT behave like a generic gap fill tracker.
Instead, it focuses on the reclaim edge: whether price returns to the boundary, accepts it, loses it, or fails to develop a clean reclaim context.
⚙️ Methodology
1. Gap Context Detection
2. Reclaim Edge Mapping
3. Reclaim Pocket Construction
4. Reaction And Acceptance Evaluation
5. 0-100 Reclaim Score
6. Fill Risk And Continuation State
7. Visual Output And Panel Summary
🗺️ How to Read the Chart
The gap zone marks the structural area created by a qualifying gap or displacement-style gap event.
The reclaim edge marks the key boundary price must respect to form a valid reclaim context.
The reclaim pocket highlights the area around the edge where reaction quality is evaluated.
READY RECLAIM labels appear when the reclaim context meets the required score threshold.
Target rails show projected continuation references after a qualified reclaim.
The panel summarizes Gap Edge, Reclaim Score, Fill Risk, Continuation, and Action.
🚦 Signals & States
• READY → A qualified gap edge reclaim has formed.
• MONITOR → A gap structure exists and the script is watching for reclaim behavior.
• WAIT → No active reclaim context is currently valid.
• INVALIDATED → Price failed back through the reclaim edge.
• EXPIRED → The reclaim window closed without a qualified reclaim.
🔔 Alerts Logic
Bullish Gap Reclaim Ready triggers when price reclaims a bullish gap edge with enough score.
Bearish Gap Reclaim Ready triggers when price reclaims a bearish gap edge with enough score.
Gap Reclaim Invalidated triggers when price fails back through the reclaim edge.
Gap Reclaim Expired triggers when the reclaim window closes without a qualified reclaim.
Alerts are attention markers, not trade instructions.
🧩 Confluence Logic
The reclaim score combines edge interaction, close acceptance, time quality, relative volume, gap size, and available continuation room.
When several of these conditions align, the context becomes stronger.
When they do not align, the script remains in WAIT, MONITOR, INVALIDATED, or EXPIRED state.
📊 When to Use
• Intraday price action workflows
• Gap reaction analysis
• Breakout and reclaim structures
• Continuation after displacement
• Markets where gap edges or price void boundaries matter
⚠️ When NOT to Use
Avoid relying on this script in extremely illiquid markets, very noisy low-volume symbols, holiday sessions, or conditions where gaps and displacement structures are not meaningful.
It should also not be used as a standalone decision tool without broader market context.
🎛️ Key Inputs
• Gap Mode controls how strict the gap detection logic is.
• Minimum Gap Size filters weak structures.
• Displacement Gap Fallback helps continuous markets where classic open gaps are rare.
• Reclaim Pocket ATR controls the depth of the reclaim pocket.
• Minimum Ready Score controls how strong the reclaim must be before READY appears.
• Fill Risk Threshold controls when a reclaim context becomes too filled or exhausted.
• Visual settings control labels, zones, right-side tags, panel location, and font size.
🖥️ Interface & Visual Design
The interface is designed to keep the chart readable while making the active reclaim structure easy to understand.
The panel uses the AG Pro blue header style and summarizes the current state without covering the whole chart.
Zones, pockets, labels, and target rails are designed to show structure first and avoid unnecessary noise.
🧪 Practical Usage Workflow
1. Identify whether the panel shows an active gap edge.
2. Check the reclaim pocket and nearby price reaction.
3. Read the reclaim score and fill risk.
4. Confirm whether the action state is READY, MONITOR, WAIT, INVALIDATED, or EXPIRED.
5. Combine the output with broader structure, liquidity, trend, and risk context.
🔍 Interpretation Guidelines
A higher reclaim score means the gap edge reaction is cleaner according to the script logic.
A high fill risk means the gap context may already be too consumed.
READY means the reclaim condition deserves attention, not that price must continue.
WAIT means there is no valid active reclaim context.
🚫 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 signals.
It does not replace risk management or independent analysis.
⚠️ Limitations & Transparency
Gap behavior changes across markets, timeframes, liquidity conditions, and volatility regimes.
Continuous markets may create fewer classic gaps, so adaptive displacement logic is included to support broader usability.
Different symbols and timeframes may require different sensitivity settings.
🧠 Market Context Notes
Gap reclaim behavior is often stronger when aligned with trend, liquidity response, volume participation, and clean structure.
Weak reclaim attempts can fail quickly when price loses the edge or when the gap becomes fully consumed.
🔐 Non-Promise Statement
No script can guarantee future price behavior.
This tool provides structured visual context only.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions.
This script is for educational and analytical purposes only and does not provide financial advice or guaranteed trading outcomes.
ملاحظات الأخبار
🔧 UPDATE NOTES - V1.5This update focuses on right-side tag clarity, active-structure readability, and publication screenshot polish.
The core purpose of the script remains unchanged.
This release improves how the existing gap reclaim structure is presented and interpreted on the chart.
This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.
------------------------
What Changed
------------------------
• Added Right Tag Detail Mode
Users can now choose between Compact and Full right-side tag behavior.
• Compact mode is now the default
Compact mode keeps only the most decision-relevant right-side tags: Reclaim Edge, T1, and T2.
• Full mode preserves detailed structure tags
Users who want the previous full tag stack can still show Gap Top, Gap Bottom, Reclaim Edge, T1, and T2.
• Improved active-cluster readability
The default presentation now reduces label crowding around active gap structures without changing the underlying logic.
------------------------
Visual Improvements
------------------------
• Reduced right-side tag congestion around active gap zones
• Improved first-glance readability on lower timeframes and compressed charts
• Preserved premium centered badges while making the right edge cleaner
• Adjusted default visual hierarchy so the reclaim edge and projected targets stand out more clearly
------------------------
Interface & Usability
------------------------
• Added a direct visual-detail control for right-side tags
• Kept the default view cleaner for publication screenshots
• Preserved full-detail mode for users who prefer more structural labels
• Improved chart interaction without changing the reclaim scoring engine
------------------------
Behavior Notes
------------------------
This update does not change the core analytical logic of the script.
The goal is to improve clarity and usability, not to introduce new predictive behavior.
Users should interpret outputs the same way as before, but with a cleaner default right-side tag layout.
------------------------
Limitations Reminder
------------------------
The script remains a rule-based analytical tool.
Market conditions such as volatility, liquidity, and timeframe differences may affect how reclaim structures appear.
Outputs should always be interpreted within broader market context.
------------------------
Risk Reminder
------------------------
This script is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
Users remain responsible for their own decisions.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
⚡ Precision Pine tools for crypto & FX traders
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
⚡ Precision Pine tools for crypto & FX traders
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
📊 ICT • Smart Money • Market Structure • Liquidity
🧠 Rules-based decision tools. No hype. No guesswork
⭐ Public AGPro Series + advanced invite-only tools
💬 t.me/agprolabs
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.