OPEN-SOURCE SCRIPT
Updated

Price Rejection Readiness [AGPro Series]

785
Price Rejection Readiness [AGPro Series]

🧠 Core Idea

Is the current price rejection strong enough to deserve attention now?


📌 Overview / What it does

Price Rejection Readiness [AGPro Series] is a chart-first rejection planning tool built to evaluate whether a wick-based rejection is only noise, a watch condition, a confirmed context, or a failed attempt.

The script produces a 0-100 Readiness Score, a rejection pocket, wick-quality label, confirmation rail, invalidation rail, target review rail, controlled chart labels, and a compact AG Pro decision panel.

It does not predict price direction, automate execution, or mark every wick as important. Its role is to organize rejection context into a cleaner planning workflow.


🎯 Purpose & Design Philosophy

Many rejection tools stop at candle recognition. They mark long wicks, pin bars, or local reactions without showing whether the context is ready, waiting, confirmed, or failing.

This script was built for traders who want a decision-support layer around rejection behavior. It helps users evaluate validity, quality, confirmation, risk boundary, target room, and the next action from one clean visual structure.

The design philosophy is planning first. A rejection candle should not be treated as a conclusion by itself. It should be evaluated through structure, participation, follow-through, and risk context.


⚡ Why This Script Is Different

Most tools focus on detecting a wick or highlighting a candle pattern.

This script does NOT clone Rejection Block Quality, Pin Bar Quality Filter, Reaction Efficiency Meter, order-block tools, or generic support/resistance maps.

Instead, it asks whether the current rejection is ready to be monitored as a structured plan. It scores wick dominance, close location, local reference pressure, volume response, and follow-through, then maps a practical confirmation rail, invalidation rail, and target review area.


⚙️ Methodology

1. Context Detection
The script measures the current candle body, wick dominance, wick share, close location, volume response, and local reference pressure.

2. Reference Mapping
When a valid rejection forms, the script draws a candle-native rejection pocket from the wick extreme to the rejection body area. This is not a broad support/resistance zone.

3. Reaction Evaluation
The engine converts wick quality, close strength, reference pressure, volume behavior, and follow-through into a 0-100 Readiness Score.

4. Visual Output
Accepted plans create a rejection pocket, confirmation rail, invalidation rail, target review rail, event labels, and a compact AG Pro panel.


🗺️ How to Read the Chart

Rejection Pocket = the candle-native area where the rejection originated.

Confirmation Rail = the price boundary that must be respected or exceeded according to the selected confirmation mode.

Invalidation Rail = the price boundary beyond the wick where the rejection plan is no longer valid.

Target Review Rail = a projected review area based on the distance from active price to invalidation.

Labels = compact event markers for Ready, Confirmed, Failed Rejection, and Target Review.

Colors = teal for bullish rejection context, pink for bearish rejection context, indigo for confirmation, gold for target review, and red for invalidation.

Panel = shows Rejection Side, Readiness, Wick Quality, Confirmation, Invalid / Target, and Action.


🚦 Signals & States

• Scan → no active rejection plan exists.

• Watch → rejection quality meets the minimum threshold but still needs confirmation.

• Ready → rejection quality is strong enough to review risk and confirmation context.

• Confirmed → the active rejection plan confirmed according to the selected confirmation mode.

• Failed → price closed beyond the invalidation rail.

• Target Review → price reached the projected target review rail.


🔔 Alerts Logic

Bullish Rejection Ready triggers when a bullish rejection reaches the configured readiness threshold.

Bearish Rejection Ready triggers when a bearish rejection reaches the configured readiness threshold.

Rejection Confirmed triggers when the active rejection plan confirms according to the selected confirmation mode.

Rejection Failed triggers when the active plan closes beyond its invalidation rail.

Target Review Reached triggers when price reaches the projected target review rail.

Alerts are attention markers, not trade instructions.


🧩 Confluence Logic

The readiness score becomes stronger when wick dominance, close location, local reference pressure, volume response, and directional follow-through align.

No single component is treated as absolute. A visually strong wick can still receive a weaker score if close location, participation, or follow-through are poor.


📊 When to Use

• Price-action review after a visible wick rejection

• Pullback or reaction environments where rejection quality matters

• Breakout failure, continuation delay, or reversal-watch contexts

• Charts where traders need risk and confirmation boundaries, not just a candle marker


⚠️ When NOT to Use

• Extremely low-liquidity symbols

• Very noisy micro timeframes with poor candle quality

• News spikes where wick structure can be unstable

• Markets where volume data is missing or unreliable


🎛️ Key Inputs

• Sensitivity → controls how strict the rejection engine is.

• Reference Lookback → defines the local edge used for context.

• Minimum Readiness Score → filters weak rejection plans.

• Confirmation Mode → controls how strict the confirmation rail behavior must be.

• Invalidation Buffer ATR → places the risk rail beyond normal candle noise.

• Target Review Multiple → projects the target review rail from risk distance.

• Visual settings → control pockets, rails, labels, object count, label size, panel visibility, panel location, theme, and panel font size.


🖥️ Interface & Visual Design

The interface is built around a compact AG Pro panel and a chart-first planning layer.

The pocket, rails, and labels are intentionally direct: they show where the rejection originated, where confirmation is evaluated, where the plan fails, and where review becomes relevant.

The design avoids crowded signal dumping and keeps the chart readable while still providing enough visible labels for publication-quality context.


🧪 Practical Usage Workflow

1. Read the panel to identify the active rejection side and readiness score.

2. Check the rejection pocket to see where the wick response originated.

3. Compare price behavior against the confirmation rail.

4. Use the invalidation rail and target review rail as planning context.

5. Interpret the next-action state instead of treating the label as a command.


🔍 Interpretation Guidelines

A high readiness score means the rejection has stronger structural qualities, not certainty.

A confirmed rejection means price respected the selected confirmation rule, not that future direction is guaranteed.

A failed rejection means the active plan lost its defined risk boundary and should be reviewed as invalidated context.

Target Review means the projected review area was reached and the context should be reassessed.


🚫 What This Script Is NOT

• Not a prediction engine

• Not financial advice

• Not auto trading

• Not guaranteed signals

• Not an order-block or rejection-block detector

• Not a generic support/resistance map


⚠️ Limitations & Transparency

Rejection quality can vary across symbols, timeframes, volatility regimes, and volume conditions.

The local reference component is designed for context, not complete market-structure mapping.

The target rail is a review boundary, not a promised destination.

The script is rule-based and reactive. It organizes information after conditions appear on the chart.


🧠 Market Context Notes

Wick rejection can be more meaningful when it appears near a local edge, forms with clear close behavior, and receives follow-through.

It can be weaker when the candle is isolated, the close location is poor, or the market is moving through unstable volatility.

Use the tool as a structured context layer inside a broader trading plan.


🧾 Use Case Examples

When price forms a lower-wick rejection near a recent local low and closes strongly above the body area, the planner may create a bullish readiness state with a visible pocket and confirmation rail.

When price forms an upper-wick rejection near a recent local high but later closes beyond the invalidation rail, the planner marks the setup as failed instead of keeping the rejection narrative active.


🧱 System Philosophy

AGPro tools are designed to turn raw chart events into structured interpretation.

This script follows that philosophy by transforming rejection candles into a readiness workflow: score, state, risk, confirmation, target review, and next action.


🔐 Non-Promise Statement

No script can remove uncertainty from markets.

This tool highlights rule-based rejection context and leaves final interpretation to the user.


📉 Risk Disclosure

Trading involves risk.

This script is for educational and analytical use only.

It does not provide financial advice, investment advice, or guaranteed trading outcomes.

Users are responsible for their own decisions, risk management, and market interpretation.


📚 Educational Note

Use Price Rejection Readiness as a structured reading layer for rejection behavior, not as a standalone decision system.
Release Notes
🔧 UPDATE NOTES - V1.2

This update focuses on readability, light-chart compatibility, label clarity, and premium visual structure.

The core purpose of the script remains unchanged.
This release improves how the existing rejection-readiness 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
------------------------

• Reworked pocket tags into contrast-safe centered badge labels.
The rejection pocket label is now shown inside a colored label box instead of relying on naked chart text.

• Improved light-background compatibility.
Chart labels no longer depend on white text floating directly on the chart, improving readability across dark and light chart themes.

• Refined one-line event label wording.
Readiness, confirmation, failure, and target-review labels now use shorter text for a cleaner screenshot-ready layout.

• Increased default visual activity without making the chart noisy.
The visible object cap was raised slightly, while cooldown spacing remains controlled for a more premium density.

• Preserved the original rejection-readiness engine.
The scoring model, confirmation behavior, invalidation rail, and target-review logic remain aligned with the previous version.


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

• Improved chart readability by converting pocket text into a colored centered badge.

• Reduced light-chart visibility issues by removing unsupported naked text behavior.

• Refined visual hierarchy so rejection pockets, readiness labels, and confirmation states are easier to separate.

• Adjusted default density so the chart feels active without becoming cluttered.


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

• Kept all chart labels connected to the Label Font Size input.

• Kept the panel font controlled by the Panel Font Size input.

• Kept panel visibility enabled by default for clearer public presentation.

• Improved default label text for faster first-glance interpretation.


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

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

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

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


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

The script remains a rule-based analytical tool.

Market conditions such as volatility, liquidity, and timeframe differences may affect how signals 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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.