OPEN-SOURCE SCRIPT
Güncellendi

Stop Run Continuation Planner [AGPro Series]

1 252
Stop Run Continuation Planner [AGPro Series]


🧠 Core Idea

Did the stop run fuel continuation instead of reversal?


📌 Overview / What it does

Stop Run Continuation Planner [AGPro Series] is a chart-first liquidity continuation tool built around a specific post-sweep question: after price runs stops beyond a recent high or low, is the market reclaiming back inside for reversal, or accepting beyond the swept edge for continuation?

The script maps stop-run zones, continuation references, invalidation edges, target corridors, compact state labels, alerts, a 0-100 Continuation Score, and a Reversal Risk reading. It is designed to organize observable stop-run behavior into a structured planning workflow.

It does not predict future price, automate execution, or issue buy and sell commands. It is an analytical and visualization tool built for structured review.


🎯 Purpose & Design Philosophy

This script was built for the cases where a stop run does not turn into a reversal. Many liquidity tools focus on the sweep itself. This script focuses on what happens after the sweep.

The design supports a planner mindset: identify the stop run, measure continuation acceptance, locate invalidation, estimate target room, judge reversal risk, and decide what deserves attention next.


⚡ Why This Script Is Different

Most stop-run tools focus on reversal reclaim behavior, generic liquidity grabs, or broad SMC-style mapping.

This script does NOT treat every sweep as a reversal event.

Instead, it evaluates whether price is accepting beyond the swept edge with enough quality, target room, and controlled reversal risk to justify a continuation review.


⚙ Methodology

1. Context Detection
Recent high and low references are defined with a configurable lookback.

2. Reference Mapping
When price sweeps beyond a reference, the script maps the swept edge, continuation side, invalidation edge, and forward target corridor.

3. Reaction Evaluation
Continuation Score blends sweep depth, close acceptance, volume participation, trend-side support, and target room. Reversal Risk tracks rejection, weak acceptance, and context conflict.

4. Visual Output
Qualified states produce stop-run boxes, target corridors, compact labels, alerts, and a clean AG Pro panel.


🗺 How to Read the Chart

Zones = the active stop-run area between the swept reference and the sweep extreme.

Corridors = the forward review area used for target room assessment.

Labels = watch or continuation state markers.

Colors = teal for bullish continuation context, pink for bearish continuation context, and red for invalidation pressure.

Panel = Stop Run, Continuation Score, Reversal Risk, Target Room, and Action.


🚦 Signals & States

• Upper Run Watch → price swept a recent high, but continuation acceptance still needs confirmation.

• Lower Run Watch → price swept a recent low, but continuation acceptance still needs confirmation.

• Bull Continuation Ready → bullish post-sweep continuation quality is strong enough for review.

• Bear Continuation Ready → bearish post-sweep continuation quality is strong enough for review.

• Invalidation Review → price has moved through the active invalidation edge.

• Target Review → price is testing the active target corridor.

• Reversal Risk Elevated → rejection risk is growing and continuation quality is weakening.


🔔 Alerts Logic

Alerts trigger when bullish or bearish continuation reaches ready state, when a watch condition appears, when invalidation review is triggered, when price tests the target corridor, or when reversal risk becomes elevated.

Important: alerts are attention markers, not trade instructions.


🧩 Confluence Logic

When sweep depth, close acceptance, volume participation, trend support, and clean target room align, the continuation context becomes stronger.

When price closes back inside the swept edge or rejection grows, Reversal Risk rises and the continuation plan weakens.


📊 When to Use

• After price runs above recent highs or below recent lows

• During breakout continuation attempts after a liquidity sweep

• In trending or expanding markets

• When traders need risk, target, and next-action context after a fast sweep event


⚠️ When NOT to Use

• Extremely low-liquidity markets

• Very noisy micro-timeframes

• News-driven candles with abnormal spread or slippage

• Markets where volume data is unreliable

• Situations where the user expects automated entries or guaranteed outcomes


🎛️ Key Inputs

• Continuation Side → evaluates bullish events, bearish events, or both

• Sensitivity → changes how strict the continuation requirements are

• Stop-Run Reference Lookback → defines the sweep reference levels

• Confirmation Mode → changes how much confirmation is required

• Minimum Continuation Score → sets the ready threshold

• Watch Score → controls earlier watch-state visibility

• Invalidation Edge Buffer → adjusts the wrong-side planning edge

• Target Corridor R Multiple → controls target-corridor projection

• Visual settings → control zones, labels, font size, panel location, and render limits


🖥️ Interface & Visual Design

The script is chart-first and decision-focused. The chart carries the zones, corridors, and labels. The panel provides a compact state summary without turning the script into a crowded dashboard.

The first panel row follows the AGPro standard: one merged blue header row containing only the script name.


🧪 Practical Usage Workflow

1. Read the panel state and Continuation Score.

2. Check whether price swept above a recent high or below a recent low.

3. Review whether price is accepting beyond the swept edge.

4. Compare Reversal Risk with the invalidation edge.

5. Review target room before treating continuation as stronger context.


🔍 Interpretation Guidelines

A high Continuation Score means the stop run is showing stronger continuation behavior under the script rules. It does not mean continuation must happen.

The invalidation edge and target corridor are planning references, not guaranteed levels.

The best use is to compare the planner state with broader market structure, liquidity, volatility, and personal risk process.


🚫 What This Script Is NOT

• Not a prediction engine

• Not financial advice

• Not auto trading

• Not guaranteed signals

• Not a generic support/resistance map

• Not an order-block or FVG scanner

• Not a stop-run reversal tool


⚠️ Limitations & Transparency

Stop-run behavior changes across symbols, sessions, and timeframes.

High volatility can widen risk and target references.

Low liquidity can distort sweep quality, volume response, and label timing.

No rule-based script can fully account for news, spread changes, slippage, or sudden liquidity shifts.


🧠 Market Context Notes

Stop runs often happen near visible highs, lows, session extremes, or recent structure.

A sweep becomes more useful for continuation planning when the market accepts beyond the swept edge instead of reclaiming back inside.


🧾 Use Case Examples

When price sweeps above a recent high, closes beyond the swept edge, and the Continuation Score improves, the planner may show bullish continuation readiness.

When price sweeps below a recent low and continues accepting below that edge, the planner may show bearish continuation readiness.

When price sweeps but closes back inside with stronger rejection, Reversal Risk can rise and the panel may shift to caution.


🧱 System Philosophy

AGProLabs tools are built around structured interpretation. The goal is not to add another raw signal. The goal is to turn market behavior into a cleaner review process with score, state, risk, target, and next action.


🔐 Non-Promise Statement

No indicator can remove uncertainty.

No score can guarantee continuation.

No zone, label, panel row, alert, or corridor should be interpreted as a guaranteed outcome.


📉 Risk Disclosure

Trading involves risk.

This script is provided for educational and analytical use only.

It does not provide financial advice or guaranteed trading outcomes.

Users remain responsible for their own analysis, risk management, and execution.
Sürüm Notları
UPDATE NOTES - VERSION 1.10

This update focuses on a small label-clarity hotfix after visual review.

The core purpose of the script remains unchanged.
This release improves how the existing stop-run continuation zones, target corridors, labels, and panel states are presented 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
------------------------

* Refined scanning panel text
The panel no longer repeats “Scanning | Scanning” when no active stop-run context is present.

* Expanded continuation label wording
The chart label now uses “CONTINUE” instead of the shorter “CONT” abbreviation for clearer first-glance interpretation.

* Improved sparse watch label spacing
Watch labels are offset slightly farther from price to reduce stacking on lower-timeframe screenshots.

* Preserved V1.8 badge rendering
RUN and ROOM remain separate centered badges instead of embedded box text.

* Preserved V1.8 interface controls
Adaptive HTF Projection, Zone Badge Anchor, Slate theme, and Huge font options remain unchanged.

* Kept core logic unchanged
The stop-run continuation model, scoring, alerts, and event storage behavior were not changed.


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

* Improved label clarity by avoiding an abbreviation that could be misunderstood.

* Reduced visual pressure from watch labels on 15m and 1h layouts.

* Preserved the visual hierarchy between stop-run zones, target corridors, guide lines, labels, and the panel.

* Preserved the original public-release identity while tightening screenshot polish.


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

* Optimized panel theme selection for dark, slate, and light chart layouts.

* Improved label sizing flexibility for high-resolution publication screenshots.

* Added better badge-placement control for crowded stop-run structures.

* Enhanced overall user experience without changing the core continuation model.


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

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

Sweep detection, continuation scoring, reversal-risk scoring, target-room logic, invalidation review, target review, labels, panel rows, and alerts remain conceptually unchanged.

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


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

The script remains a rule-based analytical tool.

Market conditions such as volatility, liquidity, timeframe differences, and volume quality may affect how stop-run continuation 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.
Sürüm Notları
🔧 UPDATE NOTES - v1.12

This update focuses on readability and trust: a real target-reach rate, sharper
label contrast, and badges that no longer overlap each other or the guide lines.

The core purpose of the script remains unchanged.
This release improves how the existing stop-run continuation logic is presented
and interpreted, and adds a transparent, sample-based target-reach rate on top of
the same detection.

This script continues to function as an analytical and planning tool.
It does not attempt to predict price direction or provide guaranteed outcomes.


------------------------
What Changed
------------------------

• Target-Reach Rate (real, sample-based)
The panel now reports how often a READY continuation actually reached its target
corridor before its invalidation edge was broken, measured over a forward window.
Cases that resolve neither way inside the window are left uncounted, never scored
as a failure, so the rate stays honest. A building state is shown until enough
samples accumulate.

• Sharper Label Contrast
Badge text color is now chosen by luminance, so light, amber, pink, and indigo
badges use dark text while teal, red, and slate badges use light text. This fixes
cases where some badges previously rendered with low-contrast text and looked
faded or hard to read.

• Badges Always On Top
RUN, ROOM, CONTINUE, WATCH, and REVIEW badges are now drawn after the zones,
corridors, and guide lines, so the trigger, invalidation, and target lines no
longer cut across the badge text.

• No More Stacked Labels
CONTINUE, WATCH, and REVIEW labels are now placed in clear vertical lanes above
or below the candles and are automatically nudged apart. They also keep clear of
the centered RUN and ROOM badges, so nearby labels no longer overlap each other
or the zone and corridor badges on any timeframe.

• Decision-Oriented Panel
The panel now reads as a decision flow: Stop Run, Continuation Score, Reversal
Risk, Target Room, Target Reach rate, and Action.


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

• Improved chart readability by adjusting label contrast and spacing.

• Reduced visual clutter so the active state, score, and action stand out at a
glance.

• Refined visual hierarchy so zones, corridors, guide lines, and badges are
easier to separate.

• Adjusted positioning of badges to avoid overlap with each other and with the
guide lines.


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

• Optimized panel layout for a clearer flow from sweep to action.

• Improved label and badge readability for better chart interaction.

• Adjusted default spacing for a more balanced appearance.

• Enhanced overall user experience without changing the core logic.


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

This update does not change the core analytical logic of how sweeps,
continuation scores, reversal risk, and invalidation are computed.

The goal is to improve clarity, context, and usability. The target-reach rate is
a descriptive statistic derived from the same READY continuations and the
script's own target and invalidation references.

Users should interpret outputs the same way as before, now with added context
about historical target-reach behavior.


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

The script remains a rule-based analytical tool.

Market conditions such as volatility, liquidity, and timeframe differences may
affect how sweeps appear and how continuation resolves.

The target-reach rate is a backward-looking, sample-based statistic computed on
the current symbol and timeframe. It describes past behavior and is not a
forecast. 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.

The invalidation edge and target corridor are planning references, not stop or
target recommendations. Users remain responsible for their own decisions.
Sürüm Notları
Version 1.15 - Invalidation Lane Clearance

This update refined the active-plan badge spacing while preserving the stop-run continuation engine, V1.14 visual-slot filtering, alerts, and Target Reach methodology.

• Added an extra 0.35 ATR outward offset to the Invalid badge lane, moving bullish invalidation badges lower and bearish invalidation badges higher.

• Preserved the exact invalidation price through the existing owned connector, so the badge gains visual clearance without changing its analytical rail.

• Kept Trigger and Target badge positions unchanged, limiting the revision to the reported Invalid/Trigger spacing issue.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.