Rejection Block Execution Planner [AGPro Series]

🧠 Core Idea
When a rejection block appears, is there a structured execution window to review, or is it only raw rejection noise?
📌 Overview / What it does
Rejection Block Execution Planner [AGPro Series] is a price-action and market-structure workflow designed to organize rejection blocks into a clearer review process. Instead of only marking that rejection occurred, the script maps the active rejection block, a narrower execution band, freshness, failure risk, readiness, and next-action context.
The tool produces a rejection block zone, an internal execution band, a dashed failure boundary, active review labels, freshness context, and a compact AGPro panel. Its purpose is to help traders separate a clean rejection-block workflow from a weak or aging reaction area.
This script does not predict future direction, automate decisions, or provide guaranteed signals. It is an analytical visualization tool for reviewing rejection-block context with a structured, rule-based framework.
🎯 Purpose & Design Philosophy
The script was built for traders who already understand rejection candles, wick reactions, failed pushes, and structure-based review zones, but want a cleaner way to manage what happens after the rejection block forms.
Many rejection tools stop at the first visual event. They show the rejection and leave the trader to manually decide whether the block is still fresh, whether price has returned to a practical review area, and whether the failure boundary is being pressured.
This planner fills that gap by turning rejection behavior into a workflow:
• Where is the active rejection block?
• Where is the more selective execution band?
• Is the block still fresh?
• Is failure risk increasing?
• Is readiness strong enough for closer review?
The goal is not to simplify the market into a single answer. The goal is to make rejection-block interpretation more organized, visual, and repeatable.
⚡ Why This Script Is Different
Most rejection tools focus on identifying the rejection candle or scoring the rejection quality.
This script does NOT stop at rejection quality alone.
Instead, it focuses on execution-window management after the rejection block exists.
It separates:
• The broader rejection block
• The narrower execution band inside the block
• Freshness decay over time and repeated touches
• Failure boundary pressure
• Readiness after price interacts with the band
• A neutral next-action state for structured review
That distinction is important. A strong rejection candle can still become stale, repeatedly tested, or invalidated by later market behavior. This script is designed to keep that lifecycle visible.
⚙️ Methodology
1. Rejection Block Detection
The script evaluates pivot-based rejection candles using wick size, candle range, body context, close location, and local structure. Bullish and bearish rejection blocks are detected separately, or automatically depending on the selected planner mode.
2. Block Mapping
After a qualified rejection is found, the script maps the active rejection block using the selected block model:
• Wick Core
• Wick + Body
• ATR-Padded
This gives the user control over how compact or broad the rejection area should be.
3. Execution Band Construction
Inside the broader block, the script builds a narrower execution band. This band is not a command zone. It is a more selective area where renewed interaction deserves closer attention.
4. Freshness Evaluation
The script tracks block age and repeated touches. As the block gets older or receives more tests, freshness declines. This helps avoid treating every old rejection area as equally relevant.
5. Failure Risk Review
A dashed failure boundary is plotted beyond the rejection block. When price presses beyond that boundary, failure risk increases and the panel reflects that change.
6. Readiness Scoring
Readiness combines structure quality, block freshness, execution-band interaction, confirmation behavior, and failure-risk pressure. The score is designed as a review aid, not a guarantee.
7. Visual Output
The script renders the active rejection block, execution band, failure boundary, centered labels, current review labels, freshness markers, sparse historical state labels, and the AGPro decision panel.
🗺️ How to Read the Chart
Rejection Block Zone
The main colored zone represents the active bullish or bearish rejection block. It marks the area where rejection behavior was identified.
Execution Band
The inner band is a narrower review area inside the rejection block. It is designed to highlight where renewed interaction may deserve closer attention.
Failure Boundary
The dashed boundary marks the level where the block begins to lose practical structure. Pressure beyond this boundary increases failure-risk context.
Labels
The chart labels summarize the current state, readiness, failure risk, freshness, and execution-band status. They are designed to stay readable on both dark and light TradingView chart themes.
Panel
The panel summarizes the active workflow:
• Rejection Side
• Block Range
• Freshness
• Execution Band
• Failure Risk
• Readiness
• State
• Next Action
🚦 Signals & States
• BLOCK ACTIVE → A qualified rejection block is active and being monitored
• EXECUTION REVIEW → Price is interacting with the internal execution band with enough context to review more closely
• READY → Readiness is high after band interaction and confirmation behavior
• FAILURE RISK → Price is pressuring or crossing the failure boundary
• STALE WATCH → The block has aged or received repeated touches, reducing freshness
• State Shift → The rejection-block workflow has changed from one state to another
These states are attention markers. They are not trade instructions.
🔔 Alerts Logic
The script includes alert conditions for key workflow changes:
• Rejection block active → A new qualified rejection block is detected
• Execution review → Price interacts with the execution-band review state
• Failure risk high → Failure pressure becomes elevated
• Readiness high → Readiness reaches a stronger review state
• State shift → The overall workflow state changes
Alerts are designed to bring attention to a condition. They do not instruct the user to take a trade, close a trade, or automate a decision.
🧩 Confluence Logic
The strongest review context appears when several conditions align:
• A clean rejection block forms
• The block remains reasonably fresh
• Price returns into the execution band
• Failure risk remains controlled
• Readiness improves after confirmation behavior
When these conditions align, the rejection-block workflow becomes more structured. When freshness declines or failure pressure increases, the context becomes weaker.
📊 When to Use
This script is most useful in conditions where rejection behavior matters:
• Pullbacks into prior reaction areas
• Failed pushes near support or resistance
• Wick-heavy rejection around structure
• Retests after a strong rejection candle
• Market-structure review where failure boundaries matter
• Multi-timeframe price-action planning
It can be used on many symbols and timeframes, but the interpretation should always respect liquidity, volatility, and the broader market environment.
⚠️ When NOT to Use
Avoid relying on this script in weak conditions such as:
• Very low-liquidity markets
• Highly erratic candles with poor structure
• News-driven or extreme volatility conditions
• Very low timeframes with excessive noise
• Markets where wick behavior is random rather than structural
• Situations where the broader context is unclear
No rejection-block tool can remove the need for market context.
🎛️ Key Inputs
Planner Mode
Controls whether the script evaluates bullish rejections, bearish rejections, or both automatically.
Structure Lookback
Controls the baseline used for candle range, body size, wick behavior, and volatility comparison.
Pivot Context
Controls the local swing structure used to qualify rejection blocks.
Detection Sensitivity
Controls how strict the rejection-block qualification should be.
Rejection Block Model
Controls how the block range is built from wick, body, and ATR context.
Execution Band Width
Controls how narrow or broad the internal review band should be.
Failure Risk Strictness
Controls how quickly the script treats boundary pressure as elevated.
Freshness Decay
Controls how quickly the block loses freshness over time and repeated touches.
Visual Preset
Controls chart annotation density.
Panel and Label Font Size
Controls readability for the panel and chart labels.
🖥️ Interface & Visual Design
The visual design separates the chart into a clear hierarchy:
• Broad rejection block first
• Narrow execution band second
• Failure boundary third
• Current review label above or below the block
• Freshness and readiness context through labels and panel rows
The panel uses a single merged AGPro header row with a blue background. Theme, location, and font-size controls are included so the panel can fit different chart layouts.
🧪 Practical Usage Workflow
1. Read the panel state
Start with State, Readiness, Freshness, and Failure Risk.
2. Check the active rejection block
Identify whether the current block is bullish or bearish and whether the range is still relevant.
3. Review the execution band
If price is interacting with the inner band, review the broader context more closely.
4. Watch the failure boundary
If failure risk rises, the rejection-block idea may be weakening.
5. Confirm with broader context
Use market structure, liquidity, volatility, and independent analysis before forming any decision.
🔍 Interpretation Guidelines
Use the script as a structured review layer.
High readiness means the workflow is stronger than usual, not certain.
High failure risk means the block is under pressure, not automatically invalid for every trader.
Freshness is important because older blocks can lose relevance after repeated tests.
Execution-band interaction should be interpreted with broader price action, not in isolation.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not a signal service.
It is not an automated trading system.
It does not provide financial advice.
It does not guarantee outcomes.
It does not replace market context, risk management, or independent analysis.
⚠️ Limitations & Transparency
Rejection blocks are rule-based approximations of price-action behavior. They are not perfect market truths.
The script may behave differently across timeframes, symbols, liquidity conditions, and volatility regimes.
Pivot-based detection can appear later than the candle itself because the script waits for local structure confirmation.
Freshness, readiness, and failure risk are analytical scores. They should be interpreted as context, not certainty.
🧠 Market Context Notes
Rejection blocks tend to be more meaningful when they appear near visible structure, prior reaction areas, liquidity pools, failed breakout attempts, or clean retest conditions.
They tend to be weaker when the market is fragmented, low-volume, or moving through large news-driven candles.
The best use of the script is not to ask, "Will price move from here?"
The better question is:
"Is this rejection block still structured enough to deserve review?"
🧾 Use Case Examples
Example 1
A bullish rejection block forms after price sweeps below a recent structure area. Price later returns into the execution band while freshness remains high and failure risk stays low. The script marks this as a stronger review context.
Example 2
A bearish rejection block forms near a prior reaction area. Price repeatedly tests the block and freshness declines. Even if the zone remains visible, the panel may shift toward a weaker review state.
Example 3
Price crosses beyond the dashed failure boundary. The script raises failure-risk context so the user can reassess the block instead of treating it as unchanged.
🧱 System Philosophy
Rejection Block Execution Planner [AGPro Series] follows the AGPro approach of turning chart events into structured decision-support workflows.
The goal is not to create louder signals.
The goal is to create clearer context:
• What formed?
• Where is the review zone?
• Is it still fresh?
• Is failure pressure increasing?
• What should be reviewed next?
🔐 Non-Promise Statement
No script can know the future.
No zone guarantees a reaction.
No readiness score guarantees a result.
This tool is designed to support structured analysis, not certainty.
📉 Risk Disclosure
Trading involves risk, including the possible loss of capital.
This script is provided for educational and analytical purposes only.
It does not provide financial advice, investment advice, or guaranteed trading outcomes.
Users are responsible for their own decisions, risk management, and independent research.
📚 Educational Note
Use this script to study how rejection blocks behave after they form. The most valuable insight often comes from comparing fresh blocks, aging blocks, clean execution-band interactions, and failure-boundary pressure across different market conditions.
This update focuses on visual clarity, label hierarchy, and active rejection-block interpretation.
The core purpose of the script remains unchanged.
This release improves how the existing rejection-block workflow is presented, organized, and interpreted on the chart.
This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.
------------------------
What Changed
------------------------
* Historical label discipline was refined.
State labels now use a higher default score threshold and a longer cooldown window to reduce repeated labels while keeping meaningful rejection-block context visible.
* The active block badge was upgraded.
The block label now combines rejection side, active zone status, readiness, failure risk, freshness, and setup quality in one compact centered label.
* Failure boundary context is clearer.
The fail rail label now includes ATR distance so users can interpret the active boundary with better proportional context.
* Panel information was expanded.
The panel now includes Bars Active and Setup Quality, helping users evaluate the age and overall quality of the current rejection-block workflow.
* State label hierarchy was refined.
Readiness, execution review, stale watch, and failure-risk states now use more distinct visual treatment for faster chart scanning.
------------------------
Visual Improvements
------------------------
* Improved chart readability by reducing repeated historical state labels.
* Refined the active rejection-block label so the main workflow details are grouped in one centered badge.
* Adjusted historical label filtering to reduce overlap with candles.
* Kept the rejection block and execution band visually connected to the active workflow.
* Preserved the clean AGPro panel header and dark/light panel theme controls.
------------------------
Interface & Usability
------------------------
* Added Bars Active to show how long the current rejection block has been active.
* Added Setup Quality as a composite readability score based on readiness, freshness, structure quality, and failure risk.
* Improved active-label information density without changing the core analytical logic.
* Kept panel location, panel theme, panel font size, label font size, and panel visibility controls intact.
------------------------
Behavior Notes
------------------------
This update does not change the core rejection-block concept of the script.
The goal is to improve clarity and usability, not to introduce new predictive behavior.
Users should interpret outputs the same way as before, but with improved visual structure and clearer active-state context.
------------------------
Limitations Reminder
------------------------
The script remains a rule-based analytical tool.
Market conditions such as volatility, liquidity, timeframe differences, and repeated block touches may affect how states 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.
This update focuses on chart readability, label clarity, and presentation polish.
The core purpose of the script remains unchanged.
This release improves how the existing logic is presented, organized, and interpreted on the chart.
This script continues to function as an analytical and visualization tool.
It does not attempt to predict price direction or provide guaranteed outcomes.
------------------------
What Changed
------------------------
• Single on-chart decision card
The active status is now shown in one clean card that combines the rejection side, zone status, readiness, failure risk, freshness, setup quality, and the current next-step context.
• Removed redundant labels
Earlier versions showed several separate labels that repeated information already in the panel. These were consolidated to reduce visual noise.
• Repositioned the card
The decision card now sits in the clean forward area of the rejection-block band, so it no longer overlaps price candles.
• Separated the boundary label
The failure-boundary label now sits on its own marker along the failure line, clearly separated from the main card on every timeframe.
• Adaptive label text contrast
Label text now adjusts automatically for readability across all state colors, including lighter backgrounds.
• Internal cleanup
Removed unused code paths for a lighter, faster script.
------------------------
Visual Improvements
------------------------
• Improved chart readability by consolidating status into one card
• Reduced visual clutter and removed overlapping labels
• Refined visual hierarchy so the card and the failure boundary stand out clearly
• Adjusted positioning to avoid overlap with candles and between labels on all timeframes
------------------------
Interface & Usability
------------------------
• Clearer information flow between the panel and the on-chart card
• Improved label text contrast for easier reading on every state color
• Kept a balanced default annotation density for a clean, premium appearance
• Enhanced overall readability without changing core logic
------------------------
Behavior Notes
------------------------
This update does not change the core analytical logic of the script.
The goal is to improve clarity and usability, not to introduce new predictive behavior.
Rejection-block detection, freshness, execution band, scoring, and states behave the same as before, presented with improved visual structure.
------------------------
Limitations Reminder
------------------------
The script remains a rule-based analytical tool.
Market conditions such as volatility, liquidity, and timeframe differences may affect how labels and zones 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.
This update focuses on proof and decisiveness: adding a Hold Rate layer that shows
how often past rejection blocks actually carried price in the rejection direction,
and making the next-action readout speak in clear execution decisions.
The core purpose of the script remains unchanged. It still maps active rejection
blocks, narrower review bands, freshness decay, failure boundaries, readiness and
a next-action context.
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
------------------------
- Hold Rate proof layer
A new panel row reports the historical hold rate of the rejection blocks on the
chart: the share of past blocks after whose confirmation price traveled one
anchor-ATR in the rejection direction before the failure boundary broke, with the
sample size (n). Each block is registered once at its confirmation bar - the first
moment it is actually visible - and same-bar conflicts resolve conservatively as
failures, so the statistic is an honest record of how blocks on this chart
typically resolved. The on-chart block label also carries the hold rate once a
sample exists.
- Decision-language next action
The Next Action row and the action line on the block label now speak in execution
decisions - trade the rejection, prepare entry in band, abort / stand aside,
wait / new block - instead of generic review prompts.
- Clean numeric readouts
All scores now display as plain numbers in both the panel and the on-chart block
label. Decorative gauge characters were removed for a cleaner, more professional
read.
- Honest sampling
The Hold Rate row stays greyed until enough blocks have resolved to read it, so a
thin sample is never presented as a strong result.
------------------------
Visual Improvements
------------------------
- Improved panel and block-label readability with numeric-only score presentation.
- Reduced visual clutter while keeping the rejection block, execution band,
failure boundary and history-label limits unchanged.
- Refined visual hierarchy so the verdict, the scores, the proof and the next
action each read clearly at a glance.
------------------------
Interface & Usability
------------------------
- Enhanced overall user experience while keeping panel theme, location and font
size fully adjustable, with the panel shown by default.
- All detection, block-model, visual and panel settings remain available and
unchanged.
------------------------
Behavior Notes
------------------------
This update adds a hold tracking layer and rewords the next-action readout. The
rejection-block detection, band construction, freshness decay, scoring, states
and labels are unchanged.
The goal is to improve clarity, depth and usability, not to introduce predictive
behavior. The Hold Rate describes how past blocks resolved within the visible
history and is not a forecast. Small samples should be read with care.
------------------------
Limitations Reminder
------------------------
The script remains a rule-based analytical tool.
Hold rates vary with timeframe, instrument, block model and settings. A favorable
reading does not guarantee any individual outcome.
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.
This update focuses on confirmed-block integrity, execution-band sequencing, stable scoring, proof-layer completeness, and interface clarity.
The core purpose of the script remains unchanged.
This release improves how the existing rejection-block workflow is validated, tracked, 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
------------------------
• Confirmed rejection-block registration
New active blocks are now registered only after the pivot-confirmation bar is complete. An unfinished realtime candle can no longer temporarily replace the active rejection-block context.
• Authentic pre-block state
The planner now displays AWAITING BLOCK until a genuine confirmed rejection block exists in the loaded history. It no longer renders a synthetic block from fallback candle values.
• Corrected READY sequencing
READY now requires the active execution band to have been visited before a completed candle confirms away from the block. A distant close alone can no longer create a false READY state.
• Stable source-quality baseline
Average body and range references are captured from the original source-candle context. An older block’s structure score no longer drifts as later rolling averages change.
• Complete Hold Rate sampling
Confirmed rejection blocks are now tracked independently, including overlapping samples. Each sample resolves through one-ATR follow-through, stored-boundary failure, or timeout, with same-bar conflicts handled conservatively.
• Confirmed alert transitions
New-block and workflow state-shift alerts now use completed-bar confirmation.
• Neutral analytical review language
The final panel row is now Current Review, with context-focused wording instead of trade-instruction phrasing.
------------------------
Visual Improvements
------------------------
• Added a clean AWAITING BLOCK presentation when no confirmed source exists
• Corrected the final panel-row contrast in the Light theme
• Preserved centered block labels, the internal execution band, and the dashed failure rail
• Preserved the teal bullish, pink bearish, amber neutral, indigo execution-band, and red failure hierarchy
------------------------
Interface & Usability
------------------------
• Preserved the merged blue panel header containing only the script name
• Preserved adjustable panel location, panel theme, panel font size, and label font size
• Preserved Show Panel as enabled by default
• Preserved the existing Clean, Balanced, and Rich visual presets
------------------------
Behavior Notes
------------------------
This update does not change the rejection-candle qualification thresholds, block models, execution-band widths, failure boundary, freshness controls, score weights, projection controls, or core visual concept.
It corrects confirmation boundaries, execution-band lifecycle ownership, source-quality anchoring, Hold Rate sample completeness, and analytical wording. READY states and Hold Rate values may therefore differ from V1.4 where the earlier logic admitted unvisited-band confirmation or skipped overlapping samples.
Hold Rate remains descriptive evidence from resolved historical samples. It is not a forecast and should be interpreted cautiously when the sample size is small.
------------------------
Limitations Reminder
------------------------
The script remains a rule-based analytical tool.
Market conditions such as volatility, liquidity, gaps, instrument history, and timeframe differences may affect how rejection blocks, states, and hold-rate samples 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.
• Refreshed the publication and access routing information.
• Core rejection-block execution logic, panel behavior, inputs, alerts, visuals, and outputs remain unchanged.
This maintenance update focuses exclusively on active-label separation.
The core detection, scoring, evidence, panel, and alert logic remain unchanged.
------------------------
What Changed
------------------------
• Moved the Failure Edge label beyond the active projection boundary.
• Added timeframe-aware horizontal spacing between the active block summary and the Failure Edge label.
• Increased vertical clearance from the failure boundary so the final two labels remain visually separated.
------------------------
Behavior Notes
------------------------
This update does not change rejection-block detection, readiness, failure risk, setup quality, observed hold rate, confidence-floor calculations, or alert behavior.
It is a focused visual correction for the final projected labels.
------------------------
Risk Reminder
------------------------
This script is for educational and analytical purposes only.
It does not provide financial advice or guaranteed trading outcomes.
This update strengthens the visual ownership and first-glance hierarchy of the existing rejection-block execution workflow. The core detection, execution-band, freshness, failure-risk, readiness, Hold Rate, confidence-floor, and alert behavior remain unchanged.
• Centered the active rejection-block card on the complete projected block geometry for clearer zone ownership.
• Rebuilt the active card into a concise four-line hierarchy covering rejection side, workflow state, readiness, risk, freshness, setup quality, hold evidence, and current review.
• Connected the displaced FAIL EDGE badge to its exact failure boundary with lifecycle-safe horizontal and vertical guides.
• Made failure-badge spacing responsive to timeframe projection and the selected label font size.
• Reframed historical states as PRIOR BLOCK events so older READY, EXECUTION, FAILURE, and STALE labels cannot be mistaken for the current workflow.
• Positioned historical labels beyond a seven-bar candle cluster with font-size-aware ATR clearance.
• Converted the panel State value into a contrast-safe highlighted response cell for faster scanning.
• Preserved all five existing alert conditions and the complete analytical engine.
The script remains a rule-based analytical and visualization tool. It does not predict price direction, automate trading, provide financial advice, or guarantee outcomes.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact AGProLabs directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
tradingview.com/script/XJmX3p98-Trading-Suite-AGPro-Series/
🔷 Crypto Setup Planner - Multi-Symbol Planner
tradingview.com/script/LgVRo7Ql-Crypto-Setup-Planner-AGPro-Series/
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact AGProLabs directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
tradingview.com/script/XJmX3p98-Trading-Suite-AGPro-Series/
🔷 Crypto Setup Planner - Multi-Symbol Planner
tradingview.com/script/LgVRo7Ql-Crypto-Setup-Planner-AGPro-Series/