Risk Guard - Position Size & Risk CeilingWhat it does
Risk Guard sizes your position from the risk you are willing to take, and tells you immediately when that risk goes above the limit you set for yourself.
Most position size calculators stop at the arithmetic. This one adds the part that actually protects an account: a ceiling.
Why a ceiling
Many traders do not use a fixed risk per trade. They size up on strong setups and down on weak ones. That flexibility is fine, until one trade quietly goes far beyond what the account can absorb.
Risk Guard separates the two:
- Risk for THIS trade is what you are taking right now, and it can change every time.
- Your risk ceiling is your rule, and it does not change.
When the first goes above the second, the table switches to the alert colour and says so plainly.
How to use it
1. Add the indicator. It displays straight away, using the current price and one ATR as demonstration values, so you never face an empty table.
2. Open the settings and enter your own Entry and Stop in the Trade group. Add a Target if you want R:R.
3. Set your account size, the risk for this trade, and your ceiling.
4. Pick the sizing mode and the pip size that match your instrument.
Sizing modes
Lots: gold, forex, CFD. Set the contract size (XAUUSD standard is 100 oz per lot, forex standard is 100000).
Units: crypto and spot.
Whichever you pick, the position size is shown with its unit spelled out and the other unit in brackets, so it cannot be misread.
What it shows
Direction, account size, trade risk against your ceiling, amount at risk, stop distance in price and in pips, position size, R:R and gain at target.
Customisation
Every colour is configurable: header within limit, header when the ceiling is passed, table background, text, position size value, and the entry, stop and target lines. Text size, border width and table position can also be changed.
Notes
Pip size is a setting, not a guess: gold 0.1, forex majors 0.0001, JPY pairs 0.01, and 0 to hide pips on crypto.
The calculation is exact when the quote currency matches your account currency. On crosses where it does not, treat the result as an approximation.
This is a planning tool. It does not place orders and does not read your broker account.
Indicator

ATR Chandelier StopTrade Control Adaptive ATR Chandelier Stop
The Trade Control Adaptive ATR Chandelier Stop is a volatility based trailing stop designed for swing and position traders who want a more objective way to manage exits and protect gains.
Instead of applying the same fixed percentage stop to every stock, the indicator uses Average True Range, or ATR, to account for how much each symbol typically moves. More volatile stocks receive wider stop levels, while lower volatility stocks receive tighter stop levels.
How it works
For long positions, the trailing stop is calculated as:
Highest high over the selected lookback period minus ATR multiplied by the selected multiplier
With the default settings, the calculation is:
22 bar highest high minus 3 times the 14 bar ATR
This creates a stop that hangs below the stock’s recent high, which is why it is called a Chandelier stop.
As the stock makes new highs, the stop can move higher. During normal pullbacks, the stop generally does not move lower while the bullish trend remains intact.
When price closes below the trailing stop, the indicator changes to a bearish state and begins plotting the corresponding stop above price.
Default settings
ATR Length: 14
Price Lookback: 22
ATR Multiplier: 3.0
Automatic Volatility Adjustment: Off by default
These settings are intended as a balanced starting point for swing and position traders using the daily chart and holding trades for several weeks to several months.
Adaptive volatility option
The optional adaptive setting adjusts the ATR multiplier based on ATR as a percentage of the stock price.
When enabled, the indicator gives highly volatile stocks additional room and may tighten the stop for lower volatility stocks. The standard 3 ATR setting remains the default for traders who prefer a simpler and more consistent approach.
Best uses
The indicator is designed for:
• Swing trading
• Position trading
• Trend following
• Managing profitable trades
• Reducing emotional exit decisions
• Monitoring individual stocks or watchlists
It is generally most useful on the daily timeframe.
Alert condition
The script includes an alert condition for a confirmed daily close below the trailing stop.
Recommended PulseWire alert settings:
Condition: Daily Close Below ATR Stop
Interval: 1D
Trigger: Once per bar close
The alert is designed to trigger when the trend first changes from bullish to bearish. It does not repeatedly alert every day while price remains below the stop.
Important considerations
The Trade Control Adaptive ATR Chandelier Stop is a trade management tool, not a complete trading strategy.
Traders should also consider technical support and resistance, entry price, position size, maximum acceptable loss, earnings risk, gap risk, and overall market conditions.
A stock can gap below the plotted stop, particularly around earnings or major news. The indicator does not guarantee execution at the displayed price. Indicator

Fractal Memory Strategy [Jayadev Rana]Fractal Memory Strategy trades the same engine as the Fractal Memory Projection indicator: it looks for the historical episode most similar to current price action, and only takes trend flips that agree with how that episode played out. Exits scale out at three volatility-adaptive targets.
HOW IT DECIDES
An ATR trailing stop tracks the trend. When it flips, the last 30 closes are converted to normalized log returns and compared against past windows by mean squared distance. The bars that followed the best analog give a net direction; the flip is only traded when the analog direction agrees (the filter can be disabled). Orders are processed on bar close, so no lookahead is involved. For visual context the strategy also draws the 50-candle ghost projection beyond the last bar - it is display-only and never affects order logic.
ENTRIES AND EXITS
On a confirmed bullish flip with agreement the strategy closes any short and enters long; the mirror applies to shorts. One unit of risk R equals ATR times (1.2 plus the ATR percentile rank over 200 bars), so targets and stops widen in volatile regimes and tighten in quiet ones. Position exits: one third at 1R, one third at 2R, the remainder at 3R, with a stop at 1.5R (all adjustable). Direction can be restricted to long-only or short-only.
PROPERTIES USED IN THE PUBLISHED BACKTEST
10,000 initial capital, 10 percent of equity per trade, 0.01 percent commission per order, 2 ticks slippage, no pyramiding, orders on close. These are deliberately conservative; adjust them to match your own broker before drawing any conclusion.
PANEL
Match similarity, volatility regime, forecast direction, closed trade count and win rate.
NOTES
The analog projection is a statistical reference, not a prediction, and past behaviour does not guarantee anything about the future. Results vary by symbol and timeframe; test on your own market with realistic costs before considering any live use. This is an educational tool, not financial advice. Strategy

Risk & Levels CockpitRisk & Levels Cockpit
Risk & Levels Cockpit answers one question on any market and any timeframe: if I take this trade, where is my stop, what size should I trade, and what can I lose? It is a risk-and-levels tool, not a buy/sell signal — it does not predict direction, it bounds risk around a trade you have already decided to take.
HOW IT WORKS
Three components chain one-way:
Theil-Sen robust channel — fits a trend line as the median of all pairwise slopes over the lookback. Being a median, it cannot be tilted by a single spike or wick the way ordinary regression can, so the rails give you a stable structure to trade against.
Extreme Value Theory tail model (Peaks-Over-Threshold, Generalized Pareto) — estimates how far price can realistically move against you at a chosen tail quantile, replacing a guessed 2xATR stop with a distance grounded in the actual tail of the return distribution. The channel rail acts as a structural floor, so your stop is never tighter than the channel edge.
Fixed-fractional sizer — turns that stop into a position size: units = floor(risk-budget / (risk distance x point value)). When the stop is wider than your risk budget, size correctly floors to zero and the panel shows what one unit would cost and the capital that would make one unit equal your target risk, so a zero is a decision, not a dead end.
TWO SIZING BASES
Stop distance risks your fraction at the drawn stop. Expected Shortfall risks your fraction at the mean loss beyond the stop (McNeil-Frey POT form, from the same tail fit) — wider, so fewer units, so that gapping through your stop still respects your budget. The panel always shows both the at-stop and at-tail loss per unit, so gap risk is visible in either mode. An optional vol-target overlay (on by default) scales size to keep portfolio volatility steadier across regimes; the Size-mode row always shows the live multiplier.
WORKS ON ANY MARKET, ANY TIMEFRAME
No session, expiry, or clock anchors; every lookback is in bars and volatility annualization self-scales — identical behavior from 1-minute scalping to daily positional, on stocks, futures, forex, crypto, and indices worldwide. Set the currency symbol and point value (money per point per unit) to your instrument: stocks/crypto/spot = 1; index and futures = the contract multiplier (for example NIFTY 65, S&P E-mini 50, Nikkei 1000, DAX 25); forex = point value per lot; options = point value x delta.
A Scalp/Intraday, Positional, or Custom preset adjusts the tail horizon and quantile. Scalp/Intraday is the default (tighter stops); positional traders should switch to the Positional preset for wider, conservative stops.
ON THE CHART
A slope-colored robust trend line with a TREND pill and a channel band, plus solid, pill-labeled decision levels — red STOP, amber BREAK (invalidation), and green T1 and T2 TARGET, each showing price and R-multiple. The panel gives the full sizing and risk readout, including a daily-loss-budget line.
LIMITATIONS (read before use)
Not a signal and not investment advice. Stops and targets are model references, not guarantees — gaps and slippage can exceed them. The tail quantile is scaled to the holding horizon by square-root-of-time, a deliberate approximation chosen over overlapping h-bar fitting which violates independence. The daily-loss cap is a display aid; a single-chart indicator cannot track or enforce live fills. The vol-target overlay multiplies the fixed-fractional size and can nudge per-trade risk above the nominal percent in calm markets — set Size clamp max to 1.0 to only reduce size, or turn it off for a strict fixed-percent rule. Position sizing does not create an edge; it bounds risk.
CREDITS
Original implementation. Theil (1950) and Sen (1968) robust slope; Pickands-Balkema-de Haan / Peaks-Over-Threshold Generalized Pareto tail estimation and Expected Shortfall (McNeil-Frey); fixed-fractional position sizing (Tharp / Vince). Indicator

Luxy UT God Mode - UT-Bot Forecast, Signals, Zones and RiskLuxy UT God Mode turns the classic UT Bot ATR trailing-stop into a complete, self-contained trading cockpit: momentum-adaptive buy/sell signals, a forward-looking Trend Duration Forecast, auto support/resistance zones, a 0-100 Confidence Score, a built-in multi-currency Risk Calculator, and automatic Stop Loss / Take Profit levels - all on one overlay, all non-repainting.
Note: Every forecast, probability, and statistic in this tool is a calculation based on the chart's own historical behavior. They describe past patterns, not guaranteed future results.
WHAT MAKES THIS DIFFERENT
A normal UT Bot only tells you the trend flipped. Luxy UT God Mode answers the three questions a trader actually asks at the moment of a signal:
1. Should I trust this flip? - a Confidence Score (0-100) blends seven engines into one number.
2. How long might this trend run? - a Trend Duration Forecast projects the expected remaining life of the current trend, drawn as a fading strip with survival-probability milestones.
3. What do I risk and how big do I trade? - automatic Stop Loss, R-based Take Profits, and a position-size calculator in your own account currency.
Everything is layered so you can run it bare-bones (just clean signals) or switch on the full "God Mode" stack.
METHODOLOGY AND CREDITS
This indicator implements proven concepts using entirely original code.
- UT Bot ATR trailing logic - original concept by @QuantNomad . This implementation is a significant rework: it adds volume weighting, momentum-adaptive sensitivity, a composite multi-method stop loss, a full multi-filter confirmation stack, multi-timeframe confluence, and the statistical trend-duration engine described below.
Important: this is an educational analysis tool. It does not guarantee any trading result. Always do your own analysis and manage risk.
THE SEVEN ENGINES (and the Confidence Score that fuses them)
Each bar, the script scores how well the current setup aligns and sums it into a single 0-100 Confidence Score with a visual progress bar:
UT Bot direction - is price above/below the momentum-adaptive trailing stop
SuperTrend - direction plus a distance-from-line strength bonus
Market Structure - position inside the recent swing range and structure breaks
ADX Regime - is the market trending (signals allowed) or choppy (blocked)
Multi-Timeframe - does a higher timeframe agree with the signal direction
Volume - is conviction backed by above-average volume
RSI Divergence - is a recent divergence supporting or opposing the signal
Read it at a glance: 80+ = strong, 60+ = good, 40+ = weak, under 40 = very weak. Hover the Confidence cell for the full per-engine breakdown.
1. TREND DURATION FORECAST - the headline feature
When the trend flips, the script projects how many more bars the new trend may last, based on the chart's own past trends.
How it works:
Every completed trend's duration is recorded, kept separately for bullish and bearish trends.
On each new flip the script estimates the expected duration using an exponentially-weighted average and standard deviation (recent trends weighted more heavily).
The estimate is drawn as a fading gradient strip that projects forward from the flip, with a "Trend Analysis" label and survival-probability milestones at 25% / 50% / 75% / 90% / 100% of the projection.
The percentages are empirical - they show the share of past same-direction trends on THIS chart that actually lasted at least that long. Not a fixed textbook curve.
Three forecast modes:
Simple - median duration only. Clean and fast.
Standard - exponentially-weighted average plus spread (recommended default).
Advanced - Standard plus five adaptive multipliers: Structure (proximity to S/R), Asset Type (volatility profile), Flip Strength (volume + filters passed), Error Learning (self-correction from its own past misses), and Regime (trending vs choppy).
When history is thin, the forecast honestly falls back to a combined estimate and flags it, rather than showing false precision.
2. MOMENTUM-ADAPTIVE UT BOT CORE
The trailing stop is not a fixed ATR multiple. The effective sensitivity adapts each bar to:
Momentum - faster momentum widens the trail to stay in strong moves
Relative volume - conviction adjusts the distance
Asset type - auto-detected (crypto, forex, futures, index, fund, CFD, bond, stock) with a per-class multiplier, or set it manually
Volatility mode - Fixed, Dynamic, or Aggressive auto-adjustment to the current volatility regime
The result is a trailing engine that behaves differently on a calm blue-chip than on a volatile small-cap or crypto pair - without you re-tuning it.
3. ANTI-WHIPSAW AND SIGNAL FILTER STACK
Signals only fire when they survive the filters you enable, so you control the trade-off between frequency and quality:
ADX Regime - block signals in choppy, non-trending conditions
Cooldown and Confirmation - minimum bars between signals and N-bar direction confirmation
Swing - only trade aligned with recent swing structure
Full Candle - require the whole candle beyond the trailing line (no straddles)
Volume, RSI, Hull MA, SuperTrend - optional confirmation layers
High-Volatility and % Change - only trade meaningful moves
2-Bar Confirm - extra confirmation for volatile markets
Every active filter appears as a row in the table with a live pass/fail state, so you always know why a flip did or did not become a signal.
4. SUPPORT / RESISTANCE ZONES
The script clusters significant swing pivots into persistent price zones and draws only the two that matter right now: the nearest resistance above price and the nearest support below price. Each zone shows its price and touch count (e.g. "S 4.19 (3x)" = a support tested three times). A level that price has broken through drops off automatically, and an optional Zone Filter can block buys into resistance and sells into support. Pivot strength is adjustable so you can show only major levels.
5. AUTOMATIC STOP LOSS, TAKE PROFIT AND RISK CALCULATOR
On every signal the script draws a complete trade plan:
Stop Loss - choose from seven methods: ATR, % based, tick based, swing, scaled ATR, Smart Adaptive (auto-scales to volatility), or Safer (widest of several).
Take Profit - TP1 / TP1.5 / TP2 / TP3 as R multiples of the stop distance, with optional price and % labels, and a freeze-on-touch check mark for journaling.
Entry line - marks the signal price; all lines can auto-limit to 10 bars for a clean chart.
Risk Calculator - enter account size and risk (% or fixed amount) and it returns the position size in shares/contracts, in your own currency, with live FX conversion (USD, EUR, GBP, JPY, CAD, AUD, CHF) or a manual rate.
6. MULTI-TIMEFRAME CONFLUENCE AND RSI DIVERGENCE
The table shows the trend of up to seven higher timeframes (5m, 15m, 30m, 1H, 4H, D, W) via an EMA 9/21 cross, so you can see whether the bigger picture agrees before you act. An optional MTF filter blocks counter-trend signals. Separately, RSI divergence (regular bullish and bearish) is detected, labeled on the chart, and fed into the Confidence Score.
7. LIVE STATUS TABLE
A configurable dashboard (position and size adjustable) summarizes everything: asset type, Confidence Score, adaptive mode, current signal, win-rate / average-bars statistics, multi-timeframe row, divergence, forecast, position size, and one row per active filter - each with a detailed tooltip.
HOW TO USE IT - QUICK START
Step 1 - Add it and pick your sensitivity. Defaults suit intraday (5-15m). For scalping lower the Sensitivity/ATR; for swing raise them (see the Sensitivity tooltip for presets).
Step 2 - Read a signal. A Buy (aqua, below bar) or Sell (orange, above bar) appears only after the bar closes and all enabled filters pass. Check the Confidence Score and the Multi-TF row for context.
Step 3 - Use the trade plan. The Entry, Stop Loss and Take Profit lines draw automatically. Read the Position row for size. Use the Trend Duration Forecast strip as a realistic hold-time expectation - scale out near the median, reassess if price runs past the projection.
Step 4 - Set alerts. Use "Any alert() function call" to receive BUY/SELL and trend-flip alerts on bar close, or pick the specific "Momentum Buy/Sell Signal" conditions. All alerts fire on confirmed bars only.
TUNING FOR MORE OR FEWER SIGNALS
Too few signals: turn off MTF, then Full Candle, then lower the ADX threshold or the Anti-Whipsaw filter. Too many / choppy: raise the ADX threshold, enable Volume and Full Candle, increase Cooldown, or add 2-Bar Confirm. Every filter is independent and shown live in the table.
TECHNICAL NOTES
Pine Script v6, overlay, max bars back 5000.
No repaint: signals, lines, forecast and alerts are committed on bar close (barstate.isconfirmed); all higher-timeframe data uses lookahead_off.
Works on stocks, crypto, forex, futures and indices, on any timeframe.
Higher timeframes and longer history produce more reliable forecasts; a new symbol needs a number of completed trends before the duration model is meaningful.
LIMITATIONS
Trend-following by nature: signals arrive after a trend establishes, not at exact tops/bottoms.
Best in trending conditions; use the ADX regime and filters to avoid chop.
The duration forecast needs history to become meaningful and is a statistical estimate, never a guarantee.
DISCLAIMER
This script is an educational analysis tool, not financial advice. Trading stocks, crypto, forex and futures involves substantial risk of loss - you can lose all invested capital. Forecasts, probabilities and win-rate statistics are calculated from historical chart data and do not guarantee future performance. Test on paper first, and you are solely responsible for your own trading decisions.
Feedback and suggestions are welcome in the comments. Happy trading.
Indicator

Triple Barrier Exit with Meta LabelingOverview
Most tools tell you when to enter. This one frames how a trade would be managed — and then keeps an honest record of how that framing actually resolved. It takes a primary entry signal (its own built-in breakout, or any external signal series you point it at), draws a volatility-scaled profit barrier, stop barrier and time barrier around it, watches which is touched first, and feeds every resolved outcome into a live track record. On top sits a meta-label gate: a small online model that learns, from those resolved outcomes, whether to take or skip the next signal.
It is a research and trade-framing study — not a strategy, not a signal service, and not a validated edge.
Why these parts are ONE tool (mashup rationale)
Each layer exists because the one before it leaves a question open:
The triple barrier. A raw entry signal has no definition of success. Profit / stop / time barriers, scaled by current volatility (ATR or an EWMA of returns), turn a signal into a labelled outcome: profit-hit, stop-hit, or timed-out. Widths are regime-asymmetric — the profit barrier widens in trend and tightens in chop — because a fixed frame misprices the same signal in different conditions.
The trend-scanning vertical. A fixed holding time is arbitrary. The time barrier is instead chosen from candidate horizons by the strongest |t-value| of a linear fit — the horizon over which price is actually trending most decisively.
The meta-label gate. Knowing outcomes isn't the same as acting on them. A small online logistic model, trained only on resolved outcomes, scores each new signal and says TAKE or SKIP. It stays disabled until enough trades have resolved, so it never acts on an untrained model.
The honesty layer. Overlapping trades are not independent samples — so wins are recency-decayed and reported with a Wilson 95% lower bound per regime, alongside a reliability table and a Brier score for the meta-gate itself. If the gate isn't calibrated, the panel says so.
Remove any layer and the tool either mislabels the trade, mistimes it, acts on an untested model, or reports a win-rate it hasn't earned.
How it works
A primary signal fires. If the meta-gate passes, the trade is framed: profit = entry ± (PT × regime multiplier × σ), stop = entry ∓ (SL × regime multiplier × σ), and a vertical barrier holdH bars ahead. The frame is drawn as a forward box that recolours green / red / grey on first touch. Same-bar ties resolve stop-first (the conservative assumption). MFE and MAE are tracked live on the open trade. On resolution, the outcome trains the meta-model and updates the per-regime statistics.
How to use it
Read the panel before you trust the frame.
Meta gate — whether the model would take or skip the current signal (stays "warming" until it has enough resolved samples).
Wilson 95% lower — the honest floor of the win-rate in the current regime. If it isn't above 50%, this framing has not demonstrated an edge here.
Meta Brier — below ~0.25 means the gate's probabilities are reasonably calibrated; above it, ignore the gate.
The most useful thing you can do with it: point it at your own entry signal via the external-source input, and see how your signal resolves under a disciplined exit frame. The suggested size is advisory arithmetic (risk ÷ stop distance), not a recommendation. Only one trade is managed at a time — this is a study of the framing, not a portfolio simulator. The dashboard has a Compact layout (default) and a Pro layout (adds the scanned horizon, Brier, reliability tiers, PT/SL/timeout counts, live MFE/MAE and suggested size).
Universal across markets
Entry source, σ source, barrier widths and horizons are all inputs, so it runs on any symbol and timeframe. It needs no volume. Defaults target intraday index futures.
Non-repainting
Entries are taken and outcomes resolved only on confirmed bars, and the meta-model is trained only on resolved outcomes — so no statistic reads its own future and nothing inflates intrabar. The live "next-trade frame" preview is a forward projection at the current bar only, by design.
Originality
The triple barrier, meta-labelling and trend-scanning are published research concepts, credited below. What's assembled here is the specific synthesis: the triple barrier used as a live exit/management frame rather than an offline training pipeline, regime-asymmetric barrier widths, an online meta-gate that trains itself on the chart in front of you, and an honesty panel that reports the Wilson lower bound, the reliability tiers and the gate's own Brier score. Clean-room implementation; no third-party code reused.
Concept credits
Triple-barrier labelling, meta-labelling, trend-scanning, and sample uniqueness / time-decay for non-IID overlapping outcomes — Marcos López de Prado (Advances in Financial Machine Learning). Here the triple barrier is used as an exit/management frame and a labelling substrate, not as a training pipeline.
Wilson score confidence interval — Edwin B. Wilson · Brier score — Glenn W. Brier
Average True Range — J. Welles Wilder · Efficiency Ratio — Perry Kaufman
Inverse-volatility position sizing — standard risk-management practice
Honest limits
Overlapping trades are not independent, which is exactly why wins are decayed and reported with a Wilson lower bound rather than a raw percentage — treat the win-rate as descriptive, not a probability of future results. The meta-model is a small online logistic fit on three features; it can be miscalibrated, which is why its Brier score is shown. All figures are in-sample, with no costs, slippage or spread. Nothing here predicts price.
Disclaimer
Research and educational tool only. Not financial advice, not a recommendation, and no guarantee of results. The position-size output is arithmetic, not advice. Trading carries risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability for any use. Indicator

Adaptive Consensus Trail Structure, Regime & SelfAdaptive Consensus Trail — Structure, Regime & Self-Test
A trailing stop that sits on the agreement of several structural references, adapts to the market regime, and forward-tests its own signals so the numbers it shows are measured, not asserted.
What it is
Most trailing stops follow one idea — an ATR band, a SuperTrend, a moving average. This one places the stop where a small committee of independent structural references agree, reads how confident that agreement is, widens or tightens itself according to the market regime, and then continuously audits its own flips and reports the edge it actually produced on your data.
The committee has five members, each locating support/resistance from a different lens:
Anchored VWAP band — fair value for the session/week/month
Session / naked volume Point-of-Control — the price the most volume traded at, carried forward until revisited
Fair-Value-Gap midpoint — unfilled imbalance
Swing pivot — structural memory
Order-flow absorption — where aggressive buying/selling was absorbed (via Bulk Volume Classification)
Why these parts belong in one script (mashup justification)
Each reference alone whipsaws on an index, and each is right in different conditions. They are combined because they correct one another, and the entire value of the script is in that interaction — not in any single line:
A reliability layer scores every reference's historical respect rate with a Wilson lower bound, so a reference that keeps getting ignored loses its vote instead of dragging the stop around.
A consensus layer keeps only the densest agreeing cluster of references, so the stop sits on genuine agreement rather than on an average nobody respects, and far-apart references never force a permanent "no signal."
A regime layer (efficiency ratio + ADX + band-width + a volatility-cluster read + a Hurst persistence estimate) widens the band and tightens the flip confirmation in chop — this is what removes the whipsaw.
A self-test layer forward-scores every flip and recalibrates the confidence number so it means what it says.
Split apart, these are five overlays that each mislead in a range. Wired together, they are one self-correcting, self-auditing trail. That is the reason for combining them.
How it works (six layers)
References are computed on the bar close.
Reliability — rolling-capped respect counts per reference give a Wilson lower-bound "trust." POC is a magnet, so it is judged by forward reaction (did price reject away before breaking through?), not a same-bar close, which keeps its trust honest.
Consensus — the densest agreeing cluster within an ATR band becomes the trail's target; the envelope and confidence are measured on that cluster only.
Adaptive backbone — an efficiency-ratio / regime-adaptive band (Adaptive, Chandelier, or Blend) that widens in chop.
The trail — high confidence pulls the stop toward structure (floored a minimum ATR off price); low confidence rides the wide band, so it flips less in noise.
Self-test — every flip is forward-resolved by triple-barrier first-touch against an unconditional base rate, split by strength tier and by regime, with a walk-forward in-sample→out-of-sample check, a runs test of independence, a Brier score, and a confidence recalibration.
How to use it
Read the top banner for the one-line bias — BULLISH / BEARISH / WAIT — and the READ legend for what to do. The coloured line is your stop: support in an uptrend, resistance in a downtrend. BUY / SELL labels print only on confirmed, sufficiently-confident, higher-timeframe-aligned flips.
The dashboard gives detail top-down: each reference's level and trust, the consensus, raw → calibrated confidence, regime (with Hurst and ADX), the higher-timeframe invalidation stop, and a FULL / HALF / STAND-ASIDE suggestion.
Before sizing, open the Self-Test panel and read the Edge column (hit% − base%), not the raw hit-rate. A ★ means the edge's confidence interval clears the base rate. Prefer signals where the walk-forward change isn't badly negative and the runs test isn't "streaky." Being honest about it: on many indices this tool shows real edge in range and volatile regimes on higher timeframes and little-to-none on very low timeframes or once a trend is already confirmed — the panel makes that transparent so you can pick your spots.
Works on any market
Set the Price source, and for symbols with no native volume set a Borrow-volume proxy (e.g. a futures contract). The panel theme adapts to your chart background automatically. Backbone: Adaptive / Chandelier / Blend. Absorption: order-flow (BVC) or simple. An optional intrabar resolution builds a finer volume profile where available.
Originality
The committee-of-references design, the cluster-not-average consensus, the reliability weighting that lets references lose their vote, the forward-reaction POC respect test, and the confidence self-calibration are the author's own work. The underlying techniques are standard and fully credited below.
Non-repaint
References, regime, consensus and the trail all evaluate on the close of the bar; the live bar is provisional and settles on close. Self-test events are logged and resolved only on confirmed bars and resolve on bars after their trigger at fixed barriers, so hit / base / edge use no look-ahead. The higher-timeframe stop uses a lookahead-off request.
Concept credits
Wilson score interval (E. B. Wilson); efficiency ratio (P. Kaufman); ADX / DMI / ATR / volatility-stop lineage (J. W. Wilder); anchored VWAP (industry standard); volume profile / value area / point-of-control — Market Profile (J. P. Steidlmayer, developed by J. F. Dalton); triple-barrier first-touch labelling (M. López de Prado); runs test of randomness (A. Wald & J. Wolfowitz); rescaled-range / Hurst exponent (H. E. Hurst); Brier score (G. W. Brier); Bulk Volume Classification / VPIN (D. Easley, M. López de Prado & M. O'Hara); reliability-bin (isotonic-style) calibration is standard forecasting practice.
Limitations & disclaimer
"Absorption" is a volume proxy — base data has no true tick order flow, so the buy/sell split is estimated from bar moves, not measured. Confidence is context, not a promise of profit. The self-test is descriptive of past behaviour on the loaded symbol (fixed barriers, no costs or slippage) — a study aid, not a backtest and not a guarantee. A measured edge is what flips did historically here, not a forecast.
This script is for research and education only. It is not financial advice, not a recommendation to buy or sell, and not a guarantee of any outcome. Trading carries risk of loss; your decisions are your own. Test on your own data and use independent risk management before relying on it. Indicator

Adaptive Structural Trail Order Flow, Imbalance & RegimeAdaptive Structural Trail — Order Flow, Imbalance & Regime
What it is
Adaptive Structural Trail is a single, self-contained market-structure framework that re-clocks the chart by participation instead of time, marks the imbalances that real activity leaves behind, lets order flow decide which of those levels still matter, asks a regime filter whether trending behaviour can be trusted right now, and trails the strongest surviving level as an adaptive stop — all summarised in a plain-language dashboard that tells you, at a glance, whether the picture says ride, wait, or stand aside.
It is designed to be market-agnostic: every raw input (price, volume, and the volatility-index reference) is user-selectable, so the same logic runs on index futures, equities, FX, crypto or commodities without touching the code. Defaults are set for NIFTY index futures; change the volatility symbol and (if needed) the volume source for other instruments.
Why the components are combined (this is one tool, not a bundle)
Each layer measures a different facet of one process — activity creating structure, structure decaying or being defended, and a regime deciding whether to act. They are not independent indicators stacked for visual effect; remove any one and the others lose their meaning:
Delta clock (the substrate). A virtual bar closes only when cumulative signed volume becomes statistically significant (σ × a multiplier). Every downstream reading is therefore spaced by participation, not by the clock — a quiet 10 minutes and a violent 10 seconds are treated differently, which is the whole point.
Imbalance / fair-value-gap detection runs on those virtual bars, so a level is recorded only where genuine activity gapped price, not on arbitrary time bars.
Order-flow lifecycle (charge → decay → breaker/dead). When price returns to a level, delta adjudicates the outcome: absorbed-and-defended levels are reborn as breakers; levels that are surged through are killed. Flow decides what structure survives.
Regime gate (efficiency ratio + volatility burst). This routes everything. The trail is shown and signals arm only where trend behaviour is statistically credible; in range/transition/high-volatility states the tool deliberately stands aside.
Confidence fusion. Structure strength, cumulative-delta slope and flow toxicity (VPIN) are blended into one confidence number, which the dashboard converts into a plain instruction.
That coupling — a volume-significance clock feeding imbalance detection whose survival is adjudicated by order flow and gated by regime, fused into a single trailing level and a decision read-out — is the original contribution here.
How to use it
Add it to any liquid instrument. It is built for intraday timeframes (1–15 min is the sweet spot on index futures).
Read the dashboard top-down: the ACTION banner is the headline (e.g. LONG · ride the trail, RANGE · stand aside). Below it: bias + confidence, market state, the actual trail-stop price, order flow, flow toxicity, volatility context, and a plain "what to do" line.
Treat the coloured trail as a structure-based stop while the market state is a trend; when the state leaves trend, the trail disappears by design.
The imbalance zones show where unfilled activity sits; fresh, tapped and breaker levels are colour-coded (see the on-chart legend).
Edge-calibration panel (bottom-right): for transparency it scores past signals against a regime-matched base rate and reports EDGE = Hit − Base with a 95% confidence interval. Read the Edge column, not the raw hit-rate. This is descriptive of the past on your symbol — not a backtest and not a forward guarantee.
Key-info panel (top-left): instrument, timeframe, the live data source (see honesty note), threshold, ATR and level counts.
Honest note on data (please read)
PulseWire exposes no true tick-by-tick aggressor delta and cannot build custom bars, so delta here is a proxy: signed intrabar volume taken from the finest lower timeframe your data plan returns — 1-second where available, otherwise 1-minute — falling back to bar-shape when no lower-timeframe data exists. The live source is shown as "Delta source" in the Key-info panel, so you always know which mode is active. Non-repaint: the delta clock advances and structure/regime/signals resolve only on confirmed bars; the trail line itself updates within the forming bar as a current estimate.
Originality
The novelty is the synthesis and coupling, not any single classical block. A participation clock is used to gate imbalance detection; order flow is used to adjudicate level survival; regime is used to route the entire read; and the whole thing collapses into one trailing level plus a decision dashboard and a self-calibration panel. Every raw input is user-selectable so the framework generalises across markets.
Concept credits
This tool synthesises well-established, publicly documented ideas; credit to their originators:
Information / volume-driven bars & VPIN flow toxicity — Marcos López de Prado; Easley, López de Prado & O'Hara.
Efficiency Ratio (trend vs. noise) — Perry J. Kaufman.
Trade-side classification (tick rule) — Lee & Ready.
Market impact & absorption (square-root law) — Almgren; Tóth & Bouchaud.
Wilson score interval (small-sample proportion CI) — E. B. Wilson.
Imbalance / fair-value-gap and trailing-stop concepts are long-standing, widely used market-structure ideas. The synthesis and the Pine implementation are the author's own.
Exported outputs (for use in other scripts)
Available via input.source() in any other indicator, with clean generic names: Bias Score (signed conviction, ±10), Trail Stop, Trail Direction, Regime State, Confidence, Leading Strength, CVD Slope, Flow Toxicity, Cumulative Delta, Volatility ROC, Volatility Bias.
Disclaimer
For research and education only. This is an analytical tool — not financial advice, not a signal service, and not a guarantee of future results. No indicator has an inherent edge; validate with your own testing, apply realistic costs, and manage risk. You are solely responsible for your trading decisions. Indicator

ATR Trailing Stop ProTitle:
ATR Trailing Stop Pro — Long & Short | Close/Wick Filter | Alerts | Risk %
Description:
A fully-featured ATR-based trailing stop anchored to a specific entry date and price — built for traders who want to manage an open position with a clean, rules-based stop rather than a signal generator.
Unlike generic ATR stop indicators that run on every bar from the beginning of the chart, this one starts exactly where your trade did.
Features
🔴 Long & Short — trails upward for longs, downward for shorts
📅 Entry date & price — set your exact entry point; leave price at 0 to use the day's close automatically
📊 ATR-based trailing — stop only ever moves in your favour, never against you
🕯️ Close vs wick stop-out — choose whether a close below the stop triggers it, or any wick (reduces false exits on volatile assets like BTC/crypto)
🏷️ Chart labels — marks your entry price and stop-out point directly on the chart
📋 Info table — live overlay showing entry price, current stop level, risk % from entry, and trade direction
🔔 Built-in alert — set it once and get notified when your stop is hit without watching the chart
How to use
Add the indicator to a daily chart
Open settings and enter your entry year, month, day
Enter your entry price or leave at 0 to use that day's close
Select Long or Short
Adjust the ATR multiplier to suit your risk tolerance (higher = wider stop, less noise)
Toggle Close mode on if you want to avoid getting stopped out by intraday wicks
Set an alert on the indicator for hands-off monitoring
Works on any asset — stocks, crypto, forex, commodities. Designed and tested on Bitcoin daily. For best results use on the 1D timeframe. Indicator

Indicator

Kinetic Trailing Stop & Targets [ChartPrime]🔶 OVERVIEW
Risk management is the backbone of successful trading, but static trailing stops often fail to account for the "momentum" of a move. The Kinetic Trailing Stop & Targets is an adaptive volatility-based system designed to breathe with the market.
Unlike standard ATR trailing stops that move at a fixed distance, this indicator uses a "kinetic" engine. It calculates the relationship between price momentum and current volatility to determine how aggressively the stop should follow price. When momentum is high, the stop "tightens" to protect profits; during quiet periods, it expands to avoid being "stopped out" by minor noise.
🔶 THE KINETIC ENGINE: HOW IT WORKS
The indicator relies on a multi-layered calculation to determine the stop-loss placement:
Dynamic Volatility Ratio: The tool tracks the current ATR relative to its 50-bar high. This creates a "Volatility Ratio" that dictates the width of the buffer.
Momentum-Responsive Stepping: The stop doesn't just trail; it "steps." If the price makes a significant move (measured by a Momentum Score), the stop reacts kinetically, jumping closer to price to lock in gains.
The Guard Distance: To prevent the stop from becoming too tight and causing "premature exits," a minimum Guard Distance is maintained, ensuring price always has a statistically significant "air gap" to fluctuate within.
🔶 AUTOMATED TARGET MILESTONES
A standout feature of this tool is the Target Level System . The moment a trend flips (indicated by the diamond shapes), the indicator marks that price as the "Trend Origin."
Fixed Percentage Scaling: The indicator projects horizontal milestones (e.g., +2%, +4%, +6%) from the origin point.
Historical Milestone Logging: When price hits a target, a dashed line and label are permanently fixed to the chart, allowing you to see exactly where profit-taking opportunities occurred.
Active Target Tracking: The dashboard displays the next upcoming target and exactly what percentage "distance" remains until it is hit.
🔶 VISUAL FEATURES
Trend-Colored Candles: The entire chart's aesthetic shifts based on the trend. Bullish trends are painted in teal/green, while bearish trends shift to pink/red.
Flip Diamonds: High-visibility markers appear the moment a trend reversal is confirmed, signaling a shift in the stop-loss orientation.
Dynamic Cloud Fill: A gradient fill between the price and the stop line provides a visual representation of the "risk zone."
🔶 INDICATOR SETTINGS
ATR Smoothing Length: Adjusts the lookback for volatility. Longer lengths result in a smoother, slower-moving stop.
Sensitivity: Controls the "Kinetic" response. Higher sensitivity makes the stop jump more aggressively during momentum spikes.
Band Multiplier & Guard Distance: These two settings define the "outer" and "inner" limits of your stop-loss width.
Level Spacing (%): Set the distance between your target milestones (e.g., set to 1.0 for every 1% move).
🔶 TRADING UTILITY
Trend Following: Use the Kinetic Stop to ride long-term trends without getting shaken out by volatility spikes.
Scaling Out: Use the automated Target Levels as objective signals to scale out of a position (e.g., close 25% of the trade at each milestone).
Volatility Filter: By observing the distance between the price and the stop, you can visualize "volatility expansion"—if the gap is widening, the market is becoming more chaotic.
🔶 CONCLUSION
The Kinetic Trailing Stop & Targets is a professional-grade risk management suite. By combining momentum-aware trailing logic with fixed percentage targets, it provides traders with a clear, objective roadmap for both staying in a trade and knowing exactly when to exit. Indicator

Stop Cluster Magnet Map [AGPro Series]Stop Cluster Magnet Map
🧠 Core Idea
Where are clustered stops likely sitting, and is price being pulled toward them or rejecting after a sweep?
📌 Overview / What it does
Stop Cluster Magnet Map is a rule-based liquidity and market-structure visualization tool designed to identify repeated swing-high and swing-low areas where stop orders may cluster.
The script maps upper and lower stop-cluster zones, grades their quality, tracks magnet pressure, and highlights potential sweep or rejection behavior after price interacts with those zones.
It does not predict future price direction, automate trades, or claim that any stop cluster must be taken. It only visualizes structural conditions that may deserve attention.
🎯 Purpose & Design Philosophy
This script was built to solve a common chart-reading problem: traders often talk about liquidity above highs or below lows, but many tools do not clearly separate clustered stop areas from random swing points.
The design goal is to make stop-cluster context visible at a glance without turning the chart into a noisy signal machine.
It helps traders who study price action, liquidity sweeps, equal highs, equal lows, stop hunts, and structural reaction zones.
⚡ Why This Script Is Different
Most tools mark every swing high or swing low as if each level has the same importance.
This script does NOT treat every pivot as meaningful liquidity.
Instead, it looks for repeated nearby swing points, builds a mapped stop-cluster zone, grades the cluster, tracks magnet pressure, and separates sweep behavior from simple proximity.
⚙️ Methodology
1. Context Detection
The script detects confirmed swing highs and swing lows using a configurable pivot length.
2. Reference Mapping
Nearby repeated swing highs are grouped into an upper stop cluster, while nearby repeated swing lows are grouped into a lower stop cluster.
3. Reaction Evaluation
The script evaluates distance, recency, number of touches, sweep events, and post-sweep close behavior.
4. Visual Output
The active stop-cluster zones, magnet rail, right-side tags, event labels, and decision panel are displayed using a clean AGPro visual hierarchy.
🗺️ How to Read the Chart
Zones represent areas where repeated highs or lows have created potential clustered stops.
Labels identify important events such as upper stops, lower stops, magnet pressure, and sweep behavior.
Colors follow the AGPro visual language: teal for lower-side or recovery-oriented context, pink for upper-side or risk-oriented context, yellow for neutral attention, and indigo for magnet reference.
The panel summarizes the current magnet state, score, upper/lower cluster quality, cluster prices, sweep risk, next context, and active timeframe.
🚦 Signals & States
• UPPER STOPS → repeated swing highs have formed a valid upper stop cluster
• LOWER STOPS → repeated swing lows have formed a valid lower stop cluster
• UPSIDE MAGNET → price is near a higher-quality upper stop cluster
• DOWNSIDE MAGNET → price is near a higher-quality lower stop cluster
• UPPER SWEEP → price moved above the upper cluster and closed back inside
• LOWER SWEEP → price moved below the lower cluster and closed back inside
• BALANCED CLUSTERS → both upper and lower clusters are active, with no dominant side
🔔 Alerts Logic
Alerts can trigger when a new upper or lower stop cluster becomes valid, when price sweeps a stop cluster and closes back inside, or when the dominant magnet side changes.
These alerts are attention markers only. They are not buy or sell signals.
🧩 Confluence Logic (Optional)
The context becomes stronger when a valid stop cluster has multiple touches, remains recent, price approaches the cluster, and sweep behavior appears with a close back inside the mapped zone.
Cluster quality plus proximity plus reaction behavior creates a stronger read than any single condition alone.
📊 When to Use
• Around equal highs or equal lows
• During range-bound markets where stop pools may form
• Before or after liquidity sweeps
• When price is approaching a visible cluster of prior swing points
• When evaluating whether a move is targeting external liquidity
⚠️ When NOT to Use
• In extremely illiquid markets
• During chaotic news-driven candles
• When price history is too short to build reliable clusters
• When the chart is dominated by random spikes rather than readable structure
• As a standalone entry or exit system
🎛️ Key Inputs
• Swing Pivot Length → controls how swing highs and lows are confirmed
• Cluster Validity Lookback → controls how long a cluster remains relevant
• Minimum Cluster Touches → controls how many nearby pivots are needed
• Cluster Width ATR → controls how wide each stop-cluster grouping can be
• Magnet Nearness ATR → controls how sensitive magnet proximity becomes
• Visual settings → control zones, labels, right-side tags, panel, and font sizes
🖥️ Interface & Visual Design
The interface is designed for fast chart reading.
The panel gives the current decision context. Zones show where clustered stops may sit. Labels mark key events. Right-side tags keep current levels readable without forcing the trader to inspect every candle.
The layout is intentionally clean, premium, and structured for public-chart screenshots.
🧪 Practical Usage Workflow
1. Read the panel to identify the current magnet state.
2. Check whether the upper or lower stop-cluster zone is active.
3. Watch how price behaves near the mapped cluster.
4. Evaluate whether a sweep closes back inside or continues beyond the zone.
5. Use broader market context before making any decision.
🔍 Interpretation Guidelines
A strong stop cluster does not mean price must move there.
A sweep does not automatically mean reversal.
The best interpretation comes from combining cluster quality, distance, market structure, volume behavior, volatility, and the trader's own higher-timeframe context.
🚫 What This Script Is NOT
This script is not a prediction engine.
It is not financial advice.
It is not an automated trading system.
It does not provide guaranteed signals.
It does not know where actual broker stop orders are placed.
⚠️ Limitations & Transparency
The script estimates stop-cluster areas using visible chart structure only.
Different timeframes may show different clusters.
High volatility can expand zones and change quality scores quickly.
Market conditions can shift, and a previously important cluster may lose relevance over time.
🧠 Market Context Notes (Optional)
Stop clusters often matter because repeated highs and lows can become obvious reference points.
When many traders see the same level, price may react around that area, sweep it, reject from it, or continue through it.
This script is designed to make that structural pressure easier to observe.
🧾 Use Case Examples (Optional)
When price approaches an upper stop cluster with a high quality score, the trader can monitor whether the market sweeps above it and closes back inside.
When lower stops cluster beneath a range, the trader can watch whether price is being pulled toward downside liquidity or rejecting before reaching it.
🧱 System Philosophy (Advanced)
The AGPro approach focuses on structured decision support, not hype.
This script turns repeated swing references into a readable liquidity map so traders can evaluate context instead of reacting to isolated candles.
🔐 Non-Promise Statement
No script can guarantee outcomes.
Stop-cluster mapping is a contextual tool, not certainty.
📉 Risk Disclosure
Trading involves risk.
Users are fully responsible for their own analysis, risk management, and trading decisions.
This script is provided for educational and analytical purposes only and does not constitute financial advice.
📚 Educational Note (Optional)
Use this tool to study how repeated highs, repeated lows, sweeps, and reactions appear across different timeframes.
The goal is to improve market observation, not to replace disciplined analysis. Indicator

Stop Run Reversal Planner [AGPro Series]Stop Run Reversal Planner
🧠 Core Idea
Did a stop run create a confirmed reversal context with clear risk, target room, and next-action guidance?
📌 Overview / What it does
Stop Run Reversal Planner is a chart-first stop-run reversal planning tool built to evaluate wick sweeps around recent range extremes.
The script detects when price runs beyond a prior high or low, checks whether price closes back through the swept reference, evaluates confirmation candle quality, scores volume response, measures target room, and converts the context into a 0-100 reversal readiness score.
It produces stop-run wick zones, confirmation labels, reclaim rails, invalidation guides, reversal target bands, alerts, and a clean AGPro planning panel. It does not predict price direction, automate execution, or claim that every stop run must reverse.
🎯 Purpose & Design Philosophy
This script was built for traders who want structure after a fast liquidity run instead of another simple sweep marker.
Stop-run candles can look dramatic, but not every sweep deserves the same attention. Some sweeps reclaim cleanly, confirm with stronger candle behavior, and leave usable target room. Others are only noise, continuation, or incomplete rejection.
The design supports a planning workflow: identify the stop run, wait for confirmation, read the readiness score, check invalidation, review target room, and decide whether the context deserves attention.
⚡ Why This Script Is Different
Most stop-hunt tools focus on mapping sweep zones or marking that liquidity was taken.
This script does NOT try to clone a stop-hunt map, liquidity grab detector, liquidity sweep engine, order block map, or broad SMC dashboard.
Instead, it focuses on the post-stop-run reversal decision. The key question is not only "was a stop run printed?" The key question is "did that stop run turn into a confirmed reversal plan with acceptable reclaim quality, invalidation logic, and target room?"
⚙️ Methodology
1. Context Detection
The script tracks recent range highs and lows, then checks whether price runs beyond one side with a meaningful wick sweep.
2. Reference Mapping
The swept reference becomes the reclaim rail. The sweep extreme becomes the invalidation guide. The opposite side of the reference range, or an ATR fallback, becomes the target-room guide.
3. Reaction Evaluation
The scoring model evaluates wick sweep quality, close-back-inside behavior, confirmation candle quality, relative volume response, trend-turn context, and available target room.
4. Visual Output
Qualified contexts are displayed through stop-run wick zones, confirmation labels, reclaim rails, invalidation lines, target bands, alerts, and a compact AGPro panel.
🗺️ How to Read the Chart
Zones = the stop-run wick zone between the swept reference and the sweep extreme.
Labels = stop-run watch, confirmed reversal, invalidation, and target-band review markers.
Colors = teal highlights bullish reversal contexts, pink highlights bearish reversal contexts, amber marks watch states, and indigo marks target-room areas.
Panel = the panel summarizes Stop Run, Confirmation, Reclaim Quality, Invalidation, and Action.
🚦 Signals & States
• Bull Stop Run Watch → price swept below the recent low and may need confirmation.
• Bear Stop Run Watch → price swept above the recent high and may need confirmation.
• Bull Reversal Confirmed → downside stop run reclaimed with enough confirmation quality and target room.
• Bear Reversal Confirmed → upside stop run rejected with enough confirmation quality and target room.
• Reversal Invalidated → price crossed the active invalidation guide.
• Target Band Review → price reached the active reversal target band.
🔔 Alerts Logic
Alerts trigger when a bull or bear stop-run watch appears, when a bull or bear reversal confirmation becomes active, when invalidation is crossed, or when the target band is reached.
Alerts are attention markers. They are not trade instructions, entry signals, exit signals, or automation commands.
🧩 Confluence Logic
The reversal context becomes stronger when multiple factors align:
Stop-run wick + close back inside + strong confirmation candle + supportive volume response + usable target room + cleaner trend-turn behavior.
When only one or two factors appear, the script keeps the context in watch mode or ignores it completely.
📊 When to Use
• After fast wick sweeps beyond recent highs or lows
• Around failed breakout or failed breakdown attempts
• In range-edge reversal review workflows
• When price reclaims a swept level and needs structured confirmation
• When a trader wants risk, target, and action context instead of only a sweep marker
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy micro-timeframes
• News candles with abnormal gaps
• Strong one-way trend conditions where stop runs may continue rather than reverse
• Situations where the user wants an automatic buy or sell signal
🎛️ Key Inputs
• Stop-Run Reference Lookback → controls the recent high / low range used for sweep detection.
• Sensitivity → changes how selective wick-sweep detection should be.
• Confirmation Mode → controls how strict the post-sweep confirmation candle must be.
• Minimum Reversal Score → sets the 0-100 score required before a confirmed plan is drawn.
• Confirmation Window Bars → defines how long a stop run can wait for confirmation.
• Target Room ATR Fallback → creates a practical target guide when the opposite range side is not useful.
• Invalidation Buffer ATR → places the invalidation guide beyond the sweep extreme.
• Visual settings → control zones, rails, target bands, labels, panel location, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built to stay chart-first.
The panel gives the decision summary. The stop-run zone shows where the sweep happened. The reclaim rail shows the level price had to recover. The invalidation line marks the level that would weaken the reversal context. The target band gives a structured review area without making a promise.
The layout is intentionally compact, readable, and publication-friendly.
🧪 Practical Usage Workflow
1. Read the panel to identify the current Stop Run and Confirmation state.
2. Check whether the chart shows a stop-run wick zone and reclaim rail.
3. Review the Reclaim Quality score and confirmation label.
4. Compare the current price with invalidation and target-band guides.
5. Interpret the context with broader market structure, liquidity, and volatility conditions.
🔍 Interpretation Guidelines
A stop-run watch means price has swept a recent edge, but the reversal plan is not yet confirmed.
A confirmed reversal state means the script found stronger reclaim, candle, volume, and target-room conditions.
An invalidation marker means the active context weakened according to the script rules.
A target-band review marker means price reached a planned review area, not that the move must stop there.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not an auto trading system
• Not a guaranteed signal tool
• Not a stop-hunt zone map
• Not a liquidity grab detector
• Not an order block or FVG map
• Not a generic SMC dashboard
⚠️ Limitations & Transparency
Stop-run behavior changes across symbols, sessions, and timeframes.
Some stop runs continue instead of reversing. Some reclaim attempts fail after confirmation. Some symbols have weak or unreliable volume data, which can affect the score model.
The script provides structured context, not certainty.
🧠 Market Context Notes
Stop-run reversal behavior often appears near visible range edges, prior swing highs, prior swing lows, and failed breakout areas.
The strongest contexts usually combine a meaningful sweep, clean reclaim, strong confirmation candle, usable room, and a clear invalidation guide.
🧾 Use Case Examples
When price runs below a recent low, leaves a strong lower wick, closes back above the swept reference, and confirms with stronger follow-through, the script may classify the context as a bullish stop-run reversal plan.
When price runs above a recent high, rejects the move, closes back below the swept reference, and confirms with stronger downside behavior, the script may classify the context as a bearish stop-run reversal plan.
🧱 System Philosophy
Stop Run Reversal Planner follows the AGPro decision-engine approach: the goal is not to add another signal to the chart, but to organize the decision around validity, score, risk, target room, and next action.
🔐 Non-Promise Statement
No script can guarantee a reversal, outcome, or market reaction.
This script provides rule-based analytical context only.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own decisions, execution, risk management, and interpretation.
This script does not provide financial advice.
📚 Educational Note
Use the output as a structured review layer. The best readings usually come from combining the planner state with broader market structure, timeframe context, liquidity conditions, and personal risk rules.
Indicator

Stop Run Continuation Planner [AGPro Series]Stop Run Continuation Planner
🧠 Core Idea
Did the stop run fuel continuation instead of reversal?
📌 Overview / What it does
Stop Run Continuation Planner 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.
Indicator

Liquidity Reclaim Planner [AGPro Series]Liquidity Reclaim Planner
🧠 Core Idea
After a liquidity event, is the reclaim strong enough to matter, or is the move still fragile?
📌 Overview / What it does
Liquidity Reclaim Planner is a chart-first liquidity planning tool designed to evaluate what happens after price sweeps a recent swing liquidity reference.
Instead of treating every liquidity sweep as a finished signal, the script starts a structured reclaim workflow. It maps the liquidity event, the reclaim pocket, the failure line, the target-room corridor, a 0-100 reclaim score, failure risk, and a clear next-action state.
The script does not predict price direction, automate execution, or claim that a reclaim will continue. It organizes post-event liquidity context so traders can review whether the reclaim has enough quality, timing, participation, and room to deserve attention.
🎯 Purpose & Design Philosophy
This script was built for traders who want more than another sweep marker.
Many liquidity tools identify where a stop run, wick raid, or sweep happened. That is useful, but the harder question comes after the event: did price reclaim the level cleanly, is the failure point clear, and is there enough structure room for the idea to remain practical?
Liquidity Reclaim Planner supports a decision-engine mindset. It helps users move from raw event detection toward structured review: event, reclaim, failure risk, target room, and next action.
⚡ Why This Script Is Different
Most tools focus on detecting liquidity sweeps, equal highs, equal lows, or stop-hunt style wick events.
This script does NOT try to become a broad liquidity sweep scanner, an EQH/EQL engine, an order block map, a structural breakout reclaim planner, or a generic support/resistance zone tool.
Instead, it focuses on the post-event reclaim decision. It asks whether the sweep was reclaimed with enough depth balance, close strength, timing, volume response, and structural room to become a useful planning context.
⚙️ Methodology
1. Context Detection
The engine tracks confirmed swing highs and swing lows as active buy-side and sell-side liquidity references.
2. Reference Mapping
When price moves through a fresh liquidity reference by an ATR-normalized amount, the script registers a liquidity event and starts a reclaim plan.
3. Reaction Evaluation
The reclaim score evaluates sweep depth, reclaim close strength, time to reclaim, relative volume response, and room to the next structure reference.
4. Visual Output
The script draws the reclaim pocket, failure line, target-room corridor, event labels, sparse context labels, and the AG Pro decision panel.
🗺️ How to Read the Chart
Zones = the reclaim pocket between the swept liquidity level and the event extreme, plus an optional target-room corridor toward the next structural reference.
Labels = liquidity event, reclaim ready, room thin, failure line, and sparse context states.
Colors = bullish reclaim planning uses AGPro teal, bearish reclaim planning uses AGPro pink, neutral review uses gold, and risk/failure context uses red.
Panel = the panel shows Liquidity Event, Reclaim Score, Failure Risk, Room, and Action.
🚦 Signals & States
• Sell-side Event → price swept a recent swing low and a bullish reclaim plan is being evaluated.
• Buy-side Event → price swept a recent swing high and a bearish reclaim plan is being evaluated.
• Reclaim Watch → price has not yet reclaimed strongly enough, but context is active.
• Planner Ready → reclaim score and target room are strong enough for structured review.
• Risk Review → reclaim exists, but the quality profile is not yet clean.
• Room Thin → reclaim exists, but the next structural room is limited.
• Failure Hit → price crossed the active failure line and the reclaim plan needs reassessment.
🔔 Alerts Logic
Alerts trigger when a sell-side or buy-side liquidity event appears, when a reclaim becomes ready, when the planner reaches Planner Ready state, when target room becomes thin, or when the failure line is crossed.
Alerts are attention markers. They are not trade instructions, entry commands, or automated strategy signals.
🧩 Confluence Logic
The strongest context usually appears when sweep depth is balanced, reclaim happens quickly, the reclaim close is decisive, relative volume supports the reaction, and the target-room corridor is not compressed.
When these elements align, the reclaim score improves and the panel action becomes more useful for structured review.
📊 When to Use
• Liquidity-driven markets where swing highs and swing lows are actively swept.
• Intraday or swing charts where reclaim behavior after stop runs matters.
• 4H charts when the trader wants a balanced view between visible liquidity events and readable planning zones.
• Post-sweep review workflows.
• Situations where the trader needs a clear failure line and room assessment.
⚠️ When NOT to Use
• Extremely low-liquidity symbols where swing references are unreliable.
• Highly chaotic news candles where reclaim behavior is distorted by abnormal volatility.
• Very compressed chop where every small swing becomes noise.
• Markets where volume data is missing or not meaningful, unless volume weighting is interpreted carefully.
🎛️ Key Inputs
• Liquidity Pivot Strength → controls how swing liquidity references are confirmed.
• Max Liquidity Level Age → controls how long a swing reference remains eligible.
• Sensitivity → adjusts how selective liquidity event and reclaim thresholds are.
• Timely Reclaim Window → defines how many bars after the event can still count as timely reclaim.
• Planner Ready Score → controls the 0-100 score threshold for the main ready state.
• Minimum Target Room ATR → controls how much structure room is required before room is considered acceptable.
• Visual settings → control reclaim pockets, failure lines, target-room corridors, labels, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is built around a clean AG Pro panel and compact chart visuals.
The first panel row is a merged blue AGPro header. The remaining rows show the active liquidity event, reclaim score, failure risk, target room, and next action.
The chart uses a limited number of zones and labels so the active plan is visible without turning the chart into a crowded liquidity map.
🧪 Practical Usage Workflow
1. Read the panel to identify whether a liquidity event is active.
2. Check the reclaim pocket to understand the swept level and event extreme.
3. Review the reclaim score and failure risk.
4. Check the target-room corridor before assigning importance to the reclaim.
5. Use the Action row to decide whether the context deserves review, waiting, or rejection.
🔍 Interpretation Guidelines
Think in terms of quality, not certainty.
A reclaim with a high score, clean timing, strong close, and enough room is more useful than a late reclaim into nearby structure.
A low score does not mean price cannot move. It means the script's reclaim-planning conditions are not well aligned.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not a complete liquidity or smart-money framework.
• Not an order block, FVG, or generic support/resistance map.
⚠️ Limitations & Transparency
Swing references are confirmed after the selected pivot strength, so the script uses confirmed structure rather than instantly known future pivots.
Different timeframes, symbols, volatility regimes, and liquidity conditions can change how reclaim behavior appears.
Relative volume can add context, but volume response does not guarantee continuation or reversal.
Target-room corridors are structural planning references, not forecasts.
🧠 Market Context Notes
Liquidity events often matter most when they occur around visible swing references that many traders can identify.
The reclaim phase is where the decision quality changes. A fast reclaim can show rejection, while a slow or weak reclaim can indicate fragile context.
The failure line exists so the user can see where the active reclaim idea becomes structurally weaker according to the script's own rules.
🧾 Use Case Examples
When price sweeps a recent swing low, quickly closes back above the level, and the target-room corridor is open, the planner may shift from Reclaim Watch to Planner Ready.
When price reclaims late or reclaims directly into nearby structure, the panel may show Risk Review or Room Thin.
When price crosses the active failure line after reclaim, the script marks Failure Hit so the context can be reassessed.
🧱 System Philosophy
Liquidity Reclaim Planner follows the AGPro Series approach: clear structure, rule-based scoring, readable visuals, and decision support without outcome promises.
The script is designed to help traders review the quality of a setup context, not to replace judgment or risk planning.
🔐 Non-Promise Statement
No script can provide certainty.
No reclaim score guarantees continuation, reversal, or profit.
The output should be interpreted as structured analytical context.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, risk controls, and market interpretation.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use this tool to study how liquidity events evolve after the sweep: whether price reclaims, where the failure line sits, how much room remains, and whether the context is strong enough to deserve further review.
Indicator

Volatility Stop Run Planner [AGPro Series]Volatility Stop Run Planner
🧠 Core Idea
Is the current volatility spike a stop-run review context, or is it behaving more like real expansion?
📌 Overview / What it does
Volatility Stop Run Planner is a chart-first volatility risk and execution-readiness tool designed to evaluate sharp ATR expansion around recent range edges.
The script studies wick expansion, ATR load, close recovery, range-edge penetration, reclaim quality, and early follow-through. It then converts qualified events into a 0-100 planner score, a clear next-action state, reclaim guides, invalidation guides, target-room references, stop-run review zones, expansion review zones, and a clean AGPro planning panel.
It does not predict where price must go next. It does not automate entries or exits. It is built to organize volatile stop-run and expansion contexts so traders can evaluate the event with more structure.
🎯 Purpose & Design Philosophy
This script was built for traders who need a practical decision framework during fast volatility spikes.
Many charts look most confusing exactly when volatility expands: wicks stretch, stops may be triggered, range edges are breached, and the candle can either reclaim or continue. This planner fills that gap by asking whether the spike is showing stop-run characteristics, real expansion behavior, or a cooldown state that still needs confirmation.
The design supports a planning mindset: identify the event, evaluate quality, locate the reclaim level, define invalidation context, estimate target room, and decide what deserves attention next.
⚡ Why This Script Is Different
Most stop-run tools focus on liquidity sweeps, stop-hunt zones, or level raids.
This script does NOT try to become another liquidity grab detector, stop-hunt map, order block map, or generic sweep marker.
Instead, it focuses on the volatility event itself. It evaluates whether a spike around a recent range edge is recovering, rejecting, expanding, or entering a cooldown window. The core output is not a buy or sell signal. It is a planner state that helps the user decide whether the current volatility context deserves review, patience, or no action.
⚙️ Methodology
1. Context Detection
The script measures ATR load, candle range relative to ATR, wick dominance, body efficiency, and recent range-edge interaction.
2. Reference Mapping
It maps the recent high / low reference range, the reclaim level, the spike extreme, the invalidation guide, and the target-room reference.
3. Reaction Evaluation
The model scores stop-run risk, reclaim quality, volatility load, range-edge penetration, and expansion quality. These components are blended into a 0-100 planner score.
4. Visual Output
Qualified events are displayed through stop-run review zones, expansion review zones, reclaim lines, active risk / target guides, optional volatility cooldown boxes, premium labels, alerts, and a compact AGPro panel.
🗺️ How to Read the Chart
Zones = stop-run or expansion review areas created around qualified volatility spike events.
Labels = compact event markers showing the detected context, planner score, score tier, and next-action state.
Colors = bullish reclaim contexts use AGPro teal, bearish reclaim contexts use AGPro pink, and expansion / neutral review contexts use controlled accent tones.
Panel = the panel summarizes Spike State, Planner Score, Stop-Run Risk, Reclaim Quality, Risk / Target, Volatility Load, and Action.
🚦 Signals & States
• Bull Stop-Run → downside spike below the recent range edge followed by reclaim-quality behavior.
• Bear Stop-Run → upside spike above the recent range edge followed by rejection-quality behavior.
• Expansion Up → volatility spike closes cleanly above the recent range edge with stronger body efficiency.
• Expansion Down → volatility spike closes cleanly below the recent range edge with stronger body efficiency.
• Spike Watch → volatility is elevated, but the candle has not yet produced enough reclaim or expansion evidence.
• Normal Load → no qualified volatility event is currently detected.
🔔 Alerts Logic
Alerts trigger when the planner detects a qualified Bull Stop-Run Review, Bear Stop-Run Review, Expansion Up Review, Expansion Down Review, or Spike Watch context.
These alerts are attention markers. They are not trade instructions, entry signals, exit signals, or automated strategy commands.
🧩 Confluence Logic
The strongest planner states appear when multiple conditions align:
ATR spike + wick expansion + range-edge penetration + reclaim quality + clean risk / target context.
When the spike reclaims the reference level with strong wick rejection, the stop-run review context becomes stronger. When the candle closes beyond the range edge with strong body efficiency, the expansion review context becomes stronger.
📊 When to Use
• Around sudden volatility spikes
• Near recent range highs or lows
• During breakout or breakdown attempts
• After large wick candles that need structured interpretation
• When deciding whether a fast move deserves review, patience, or no action
⚠️ When NOT to Use
• Extremely low-liquidity symbols
• Very noisy micro-timeframes
• News-driven candles with abnormal gaps
• Markets where ATR is distorted by isolated historical spikes
• Situations where the user expects a simple signal-only entry tool
🎛️ Key Inputs
• Sensitivity → controls how selective the spike and stop-run planner should be.
• Reference Lookback → defines the recent range edge used for spike evaluation.
• ATR Length → normalizes volatility, invalidation, target room, and label spacing.
• Minimum Planner Score → sets the score required before events are drawn.
• Confirmation Mode → controls how strict reclaim or expansion confirmation should be.
• Cooldown Bars → defines the post-spike visual review window.
• Visual settings → control zones, labels, guides, panel theme, panel location, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The panel provides the decision summary. The chart zones show where the volatility event happened. The reclaim line identifies the reference level. The risk / target guides frame the active review context without turning the script into a trade command system.
The visual hierarchy is intentionally compact, premium, and readable.
🧪 Practical Usage Workflow
1. Read the panel to identify the current Spike State and Planner Score.
2. Check whether the chart is showing a stop-run review, expansion review, or spike watch context.
3. Compare the reclaim line with the candle close and wick behavior.
4. Review the invalidation and target-room guides.
5. Interpret the event within broader market structure and volatility conditions.
🔍 Interpretation Guidelines
A high stop-run risk score means the spike has stronger rejection and reclaim characteristics.
A high expansion score means the spike is behaving more like continuation through the range edge.
A cooldown window means the event needs follow-through review rather than immediate interpretation.
No single score should be read in isolation. The strongest use case is to combine the planner state with structure, liquidity, trend, and timeframe context.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not an auto trading system
• Not a guaranteed signal tool
• Not a liquidity grab detector
• Not a stop-hunt zone map
• Not an order block or FVG map
⚠️ Limitations & Transparency
Volatility behavior changes across symbols, sessions, and timeframes.
ATR can expand sharply during news, low-liquidity gaps, or abnormal market conditions.
Some stop-run-looking candles can still continue in the same direction. Some expansion-looking candles can fail quickly. The script provides structured context, not certainty.
🧠 Market Context Notes
Stop-run behavior often appears when price briefly trades through visible reference areas and then reclaims them.
Expansion behavior often appears when price accepts beyond the reference with stronger body efficiency and less rejection.
The planner is designed to help users separate these contexts with a consistent rule-based framework.
🧾 Use Case Examples
When price spikes below a recent low, leaves a large lower wick, and closes back above the reference, the script may classify the event as a Bull Stop-Run Review.
When price expands above a recent high with a strong body close and limited upper rejection, the script may classify the event as Expansion Up.
When volatility spikes but reclaim or expansion evidence is incomplete, the script may show Spike Watch or keep the event in cooldown.
🧱 System Philosophy
Volatility Stop Run Planner follows the AGPro Series decision-engine approach:
Context first.
Risk before reaction.
Reclaim before assumption.
Expansion quality before excitement.
Attention markers instead of promises.
🔐 Non-Promise Statement
No indicator can remove uncertainty.
No state, score, label, alert, line, or zone should be interpreted as guaranteed market direction.
📉 Risk Disclosure
Trading involves risk.
Users remain responsible for their own analysis, risk management, and decisions.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The script is designed to make volatile candles easier to review by separating stop-run behavior, expansion behavior, and cooldown context into a clean visual planning workflow.
Indicator

ATR Precision Stop Loss | BocchiTheTrader ATR Precision Stop Loss | BocchiTheTrader
Precision Risk Management for Professional Traders
The BocchiTheTrader | ATR Precision SL is a high-performance volatility tracking tool designed to protect capital and optimize exit points. Unlike basic stop-loss scripts that only look at closing prices, this indicator utilizes the extremes of market action to provide a "safety buffer" that respects price volatility.
How It Works & The Methodology
The indicator calculates market noise using the Average True Range (ATR). To provide the most "optimal" stop-loss level, it anchors its calculations to the High and Low of each candle rather than the Close. This ensures that the stop loss stays outside the reach of common price spikes and liquidity hunts (wicks).
The Formula
The mathematical model behind the indicator is as follows:
For Long Positions: Long_SL = Low - (ATR_{length} \times Multiplier)$
For Short Positions: Short_SL = High + (ATR_{length} \times Multiplier)$
By subtracting the volatility from the Low (in longs) and adding it to the High (in shorts), the script creates a dynamic zone that adapts to the current market expansion or contraction.
Key Features
Wick-Aware Protection: Uses High/Low anchors to prevent premature stop-outs caused by market noise.
Triple Direction Logic: Switch between Long, Short, or Long + Short modes to visualize both sides of the market volatility simultaneously.
ATR Precision Stop Loss | BocchiTheTrader
Profesyonel Yatırımcılar İçin Hassas Risk Yönetimi
BocchiTheTrader | ATR Precision SL, sermayeyi korumak ve çıkış noktalarını optimize etmek için tasarlanmış yüksek performanslı bir volatilite takip aracıdır. Sadece kapanış fiyatlarına odaklanan standart stop-loss araçlarının aksine, bu gösterge piyasa hareketlerinin uç noktalarını kullanarak fiyat oynaklığına saygı duyan bir "güvenlik tamponu" oluşturur.
Nasıl Çalışır ve Metodoloji
Gösterge, piyasa gürültüsünü Average True Range (ATR) kullanarak hesaplar. "En uygun" stop-loss seviyesini belirlemek için hesaplamalarını Kapanış (Close) yerine her mumun En Yüksek (High) ve En Düşük (Low) değerlerine sabitler. Bu, stop seviyenizin fiyat iğnelerinden (fitillerden) ve likidite avlarından korunmasını sağlar.
Kullanılan Formül
Göstergenin arkasındaki matematiksel model şöyledir:
Long Pozisyonlar İçin: Long_SL = Low - (ATR_{length} \times Multiplier)$
Short Pozisyonlar İçin: Short_SL = High + (ATR_{length} \times Multiplier)$
Volatiliteyi Düşük seviyeden çıkararak (long) veya Yüksek seviyeye ekleyerek (short), script piyasadaki genişleme veya daralmaya uyum sağlayan dinamik bir koruma bölgesi yaratır.
Öne Çıkan Özellikler
İğne Korumalı Yapı: Piyasa gürültüsünün neden olduğu erken stop-out durumlarını önlemek için High/Low referanslarını kullanır.
Üç Yönlü Mantık: Piyasa volatilitesinin her iki tarafını aynı anda görmek için Long, Short veya Long + Short modları arasında geçiş yapın.
BocchiTheTrader
Indicator

Trailing Stop Quality [AGPro Series]Trailing Stop Quality
🧠 Core Idea
Is the current trailing reference defending the move cleanly, or is it creating noise that deserves a risk review?
📌 Overview / What it does
Trailing Stop Quality is a trade-management planner built for traders who want more context around active trailing stops, defense rails, and risk-shift conditions.
The script compares a swing defense rail with a volatility defense rail, evaluates trend-defense quality, measures pullback depth, checks volatility expansion, and converts the result into a 0-100 trailing stop quality score.
It produces trail rails, a centered risk-shift zone, a target-room guide, compact state labels, alerts, and a clean AGPro panel. It does not predict price direction, automate trading, or tell users what to buy or sell.
🎯 Purpose & Design Philosophy
Many trailing stop tools show a stop line, but they do not explain whether the current trail is structurally clean, too close to noise, too loose, or in conflict with another management reference.
This script was built to fill that gap.
It helps traders who already have a move in progress and want to evaluate whether the active trail is still defending the move with enough quality to keep monitoring.
The design philosophy is simple: manage context before reacting to the line.
⚡ Why This Script Is Different
Most tools focus on plotting a trailing stop line, flipping side, or marking stop transitions.
This script does NOT clone a Chandelier Exit flip-zone tool, does not act as a stop-loss optimizer, and does not print direct trade commands.
Instead, it scores the quality of the current trail using swing defense, volatility defense, trend slope, pullback depth, volatility expansion, and rail conflict. The result is a management-readiness layer, not another raw stop signal.
⚙️ Methodology
1. Context Detection
The script reads the active management side automatically or lets the user force long-side or short-side evaluation.
2. Reference Mapping
It maps two trail references: a swing defense rail and a volatility defense rail. The tighter reference becomes the active defense rail.
3. Reaction Evaluation
It scores whether the active trail is balanced, too near, too loose, conflicted, or already broken.
4. Visual Output
It displays the active defense rail, swing rail, volatility rail, risk-shift zone, target guide, compact labels, alerts, and AGPro panel state.
🗺️ How to Read the Chart
Zones = the risk-shift zone shows the gap between the swing defense rail and volatility defense rail. Its centered label summarizes the active conflict or quiet state.
Labels = labels mark TRAIL HOLDS, RISK SHIFT, MONITOR, NOISE, ROOM LIMITED, or DEFENSE LOST contexts.
Colors = green highlights clean defense, pink highlights lost defense, amber highlights risk review, and indigo highlights monitor context.
Panel = the panel summarizes Trail Quality, Stop Distance, Trend Defense, Risk Shift, and Action.
🚦 Signals & States
• TRAIL HOLDS → the active trail is defending cleanly with enough score and no major risk-shift conflict.
• RISK SHIFT → price is close to the active rail or swing and volatility rails disagree enough to deserve review.
• MONITOR → trail quality is acceptable but not strong enough for a clean defense state.
• NOISE → the current trail reference is low quality or too unstable.
• ROOM LIMITED → forward room is limited relative to the active trail risk.
• DEFENSE LOST → price crossed the active defense rail and the current trail context should be reviewed.
🔔 Alerts Logic
Alerts trigger when the script detects a clean trail-hold state, risk-shift state, monitor state, noisy trail state, defense-loss event, or limited target-room condition.
Alerts are attention markers only.
They are not trade instructions and should be interpreted within broader market context.
🧩 Confluence Logic
The strongest context appears when swing defense and volatility defense are aligned, the active trail distance is balanced, trend slope supports the management side, pullback depth is controlled, and volatility is expanding without becoming chaotic.
When those conditions align, the 0-100 trail quality score improves.
📊 When to Use
• During active trend-following management
• After a move has already started and trailing references matter
• When comparing swing-based trail behavior with volatility-based defense
• During pullbacks where the trail may be too close to price
• When evaluating whether a move still has reasonable room before the next structure edge
⚠️ When NOT to Use
• Very low-liquidity symbols with erratic wick behavior
• Extremely noisy chop where no stable management side exists
• Event-driven spikes where volatility changes too quickly
• Charts where the user wants entry signals instead of trail-quality context
🎛️ Key Inputs
• Management Side → controls Auto, Long Management, or Short Management mode.
• Swing Trail Lookback → controls the structural defense rail.
• Volatility Rail Multiple → controls the ATR-based volatility defense rail.
• Sensitivity → adjusts how strict the trail-quality scoring model is.
• Minimum Clean Score → defines when the trail can qualify as a clean defense state.
• Target Guide R Multiple → sets the forward planning reference used for target-room context.
• Visual settings → control rails, risk-shift zone, target guide, labels, panel location, panel theme, and font sizes.
🖥️ Interface & Visual Design
The interface is intentionally chart-first.
The rails show the actual management references, the zone shows swing-versus-volatility conflict, and the panel gives a fast decision read without turning the script into a crowded dashboard.
The AGPro panel uses a single merged blue header row and keeps the key state visible at a glance.
🧪 Practical Usage Workflow
1. Read the panel Trail Quality state.
2. Check whether the active defense rail is still below price in long management or above price in short management.
3. Review the risk-shift zone to see whether swing and volatility references agree.
4. Check whether the target guide still has reasonable forward room.
5. Use the label state as an attention marker, then confirm with broader structure and market context.
🔍 Interpretation Guidelines
Think of the output as trail-quality context, not a trade signal.
A high score means the active trail is better aligned with structure, volatility, trend defense, and pullback depth.
A low score means the current trailing reference may be too noisy, too close, too loose, or already losing defensive value.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a Chandelier Exit clone
• Not a stop-loss optimizer
• Not a buy or sell signal tool
⚠️ Limitations & Transparency
Trailing stop quality can change quickly when volatility expands, contracts, or when price moves into noisy pullback conditions.
Different timeframes may produce different trail rails and score behavior.
Fast markets, low liquidity, and abnormal wick behavior can reduce the usefulness of any rule-based trail-quality model.
🧠 Market Context Notes
Trail quality is not only about distance from price.
It also depends on whether structure is still defending the move, whether volatility is stable enough to support the rail, and whether the next target area leaves enough room relative to current trail risk.
🧾 Use Case Examples
When price trends higher and both swing defense and volatility defense remain below price with a strong score, the script may mark TRAIL HOLDS.
When price compresses toward the active trail or swing and volatility rails separate too much, the script may mark RISK SHIFT.
When price crosses the active defense rail, the script may mark DEFENSE LOST so the user can review the management context.
🧱 System Philosophy
Trailing Stop Quality belongs to the AGPro planner-style family: tools designed to help traders evaluate context before decisions, rather than simply adding another signal to the chart.
🔐 Non-Promise Statement
No output from this script guarantees a result.
No score represents certainty.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, and risk management.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The goal is to make trailing stop context easier to inspect by separating clean defense, risk shift, noisy trails, limited room, and lost defense states.
Indicator

Stop Distance Quality [AGPro Series]Stop Distance Quality
🧠 Core Idea
Is the invalidation distance structurally reasonable, or is it too tight, too wide, or too exposed to noise?
📌 Overview / What it does
Stop Distance Quality is a chart-first risk planning tool built to evaluate stop-distance quality before a setup is treated as clean.
The script studies the active invalidation rail, ATR-normalized stop distance, swing structure fit, wick risk, volatility context, and available target room. It converts those components into a 0-100 risk-quality score and a clear next-action state.
It produces a stop-fit band, an invalidation rail, an ideal-fit guide, compact chart labels, alerts, and a clean AGPro planning panel. It does not select the best stop method, size positions, predict price direction, or automate trade decisions.
🎯 Purpose & Design Philosophy
This script was built to fill a specific planning gap: many tools show where a stop could be placed, but fewer tools ask whether that stop distance is structurally usable.
It helps traders who already have a setup idea and want to evaluate whether the invalidation distance is balanced enough to keep watching.
The design supports disciplined planning: measure the risk first, then decide whether the setup deserves attention.
⚡ Why This Script Is Different
Most tools focus on plotting stop-loss levels, comparing stop-loss methods, or attaching stops to entry signals.
This script does NOT act as a stop-loss optimizer, position-size calculator, target ladder, or directional signal tool.
Instead, it answers one practical planning question: is the current stop distance too tight, too wide, or reasonably aligned with structure and volatility?
⚙️ Methodology
1. Context Detection
The script selects long or short evaluation context using either manual side selection or automatic trend and range-location reading.
2. Reference Mapping
It maps one active swing-based invalidation rail and builds a stop-fit band using minimum, ideal, and maximum ATR-normalized distance boundaries.
3. Reaction Evaluation
It scores stop distance, swing structure fit, wick risk, volatility context, and target room.
4. Visual Output
It displays the stop-fit band, invalidation rail, ideal-fit guide, chart labels, alerts, and AGPro panel state.
🗺️ How to Read the Chart
Zones = the stop-fit band shows the acceptable ATR-normalized area where the active invalidation distance is considered more balanced.
Labels = labels mark FIT, WATCH, TOO TIGHT, TOO WIDE, NO ROOM, or invalidation-check contexts.
Colors = AGPro green highlights balanced fit, pink highlights wide-risk pressure, amber highlights caution, and indigo highlights active watch context.
Panel = the panel summarizes Stop Distance, ATR Context, Structure Fit, Risk Quality, and Action.
🚦 Signals & States
• FIT → stop distance is structurally reasonable enough for active review.
• WATCH → risk quality is improving but not strong enough for FIT.
• TOO TIGHT → invalidation distance is too close relative to ATR and may be vulnerable to normal noise.
• TOO WIDE → invalidation distance is too large relative to the current chart context.
• NO ROOM → target room is not clean enough for the current risk distance.
• WEAK FIT → the current context does not meet the minimum quality threshold.
🔔 Alerts Logic
Alerts trigger when the script enters FIT, WATCH, TOO TIGHT, TOO WIDE, or NO ROOM state.
An additional alert can trigger when price crosses the prior invalidation rail.
Alerts are attention markers only. They are not trade instructions.
🧩 Confluence Logic
The strongest context appears when stop distance sits near the ideal ATR band, swing structure is clear, wick noise is controlled, volatility is readable, and target room remains open.
When several of these conditions align, the risk-quality score improves.
📊 When to Use
• Before evaluating a risk-defined setup
• During pullbacks where invalidation placement matters
• Around breakout retests where stops can be too tight or too wide
• In structured trending or range-extension environments
⚠️ When NOT to Use
• Very low-liquidity symbols with erratic wicks
• Extremely noisy markets where ATR changes too quickly
• News-driven candles or abnormal event spikes
• Charts where no clear swing invalidation exists
🎛️ Key Inputs
• Evaluation Side → controls Auto, Long Context, or Short Context scoring.
• ATR Length → normalizes stop distance, wick risk, target room, and visual offsets.
• Invalidation Lookback → controls the swing rail used as the active invalidation reference.
• Minimum / Ideal / Maximum Stop ATR → define the stop-fit band.
• FIT / WATCH Thresholds → control how selective the planner is.
• Visual settings → control band visibility, guide lines, labels, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is intentionally narrow and readable.
The chart focuses on one main visual object: the stop-fit band. The panel uses a single merged AGPro header row and keeps the essential risk-quality information visible without turning the script into a dashboard-heavy tool.
Labels are compact, offset from candles, and controlled with cooldown and maximum-visible settings.
🧪 Practical Usage Workflow
1. Read the panel risk-quality state.
2. Check whether the invalidation rail sits inside, below, or beyond the stop-fit band.
3. Review whether the label says FIT, WATCH, TOO TIGHT, TOO WIDE, or NO ROOM.
4. Confirm structure and volatility context before treating the setup as meaningful.
🔍 Interpretation Guidelines
Think of the output as a risk-quality filter, not a trade signal.
A FIT state means the distance is more balanced relative to ATR and structure. It does not mean price must move favorably.
A TOO TIGHT or TOO WIDE state means the risk reference may need more context, more buffer, or a cleaner setup.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a stop-loss optimizer
• Not a position-sizing calculator
⚠️ Limitations & Transparency
Stop-distance quality can change as volatility expands or contracts.
Different timeframes may produce different invalidation rails and ATR readings.
Fast markets, low liquidity, and abnormal wick behavior can reduce the usefulness of any rule-based distance model.
🧠 Market Context Notes
Risk quality is not only about where a stop sits. It also depends on whether volatility is readable, whether the swing reference is meaningful, and whether there is enough room before nearby obstruction.
This script keeps those factors visible without adding unrelated signal logic.
🧾 Use Case Examples
When price pulls back in a trend and the invalidation rail sits inside the stop-fit band, the setup can move into review mode.
When the stop distance is below the minimum ATR boundary, the script may mark TOO TIGHT and suggest waiting for more buffer.
When stop distance is large but target room is limited, the script may mark NO ROOM or TOO WIDE.
🧱 System Philosophy
Stop Distance Quality belongs to the AGPro planner-style family: tools that help traders evaluate context before decisions, rather than simply printing another signal.
🔐 Non-Promise Statement
No output from this script guarantees a result.
No score represents certainty.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions, position sizing, and risk management.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
The goal is to make risk distance easier to inspect and compare across changing volatility conditions.
Indicator

Time Stop Planner [AGPro Series]Time Stop Planner
🧠 Core Idea
Has a setup spent too much time without enough progress?
📌 Overview / What it does
Time Stop Planner is a chart-first trade management overlay designed to evaluate the lifecycle of a triggered setup after price breaks from a prior structure. Instead of showing another generic signal, it asks whether the setup is actually making enough progress before the time window starts working against it.
The script builds a forward lifecycle box, maps a trigger reference, an invalidation rail, and a progress target reference, then scores the active setup from 0 to 100 using elapsed bars, distance traveled, follow-through quality, volatility decay, and invalidation proximity.
It does not predict future price movement, automate trade decisions, or promise that a setup will continue. Its purpose is to turn time, progress, and risk context into a cleaner visual decision framework.
🎯 Purpose & Design Philosophy
This script was built for traders who already have a setup idea but need a cleaner way to judge whether that setup is still alive, losing quality, or becoming stale.
Many tools focus on entries or targets. Time Stop Planner focuses on the often-overlooked middle stage: what happens after a setup activates but before the outcome is clear. It supports a disciplined review process by showing whether progress is keeping pace with elapsed time.
The design philosophy is simple: a setup should not remain interesting forever just because it once looked valid. The chart should make lifecycle quality visible.
⚡ Why This Script Is Different
Most tools focus on trigger signals, stop levels, or target projections.
This script does NOT behave like a generic timer dashboard, a stop-loss optimizer, a full position planner, or a profit-target ladder.
Instead, it connects time directly to progress quality. A setup is evaluated through a visible lifecycle window, a progress score, time-risk pressure, invalidation context, and a clear next-action state.
⚙️ Methodology
1. Context Detection
The script detects a directional setup lifecycle when price breaks beyond a prior structure boundary with sufficient candle body strength, close location quality, and optional trend support.
2. Reference Mapping
After activation, the script maps the trigger reference, invalidation rail, and ATR-based progress target reference. These levels create the lifecycle framework used for progress and risk evaluation.
3. Reaction Evaluation
The engine measures elapsed bars, directional travel, close-based follow-through, volatility behavior, and distance from invalidation. These components are converted into a 0-100 quality score and a separate time-risk reading.
4. Visual Output
The chart displays a lifecycle box, rails, checkpoint labels, state labels, and a compact AGPro panel. The active box text is centered inside the lifecycle area for clean chart reading.
🗺️ How to Read the Chart
Zones = the lifecycle box shows the active time window in which the setup should show reasonable progress.
Rails = the trigger reference, progress target reference, and invalidation rail define the active setup map.
Labels = setup, checkpoint, continue, time-risk, expired, and invalidated labels mark important lifecycle events.
Colors = green/teal suggests constructive progress, amber suggests time-risk or expiry pressure, pink suggests invalidation or failed lifecycle context, and indigo marks neutral active structure.
Panel = the panel summarizes Bars Active, Progress Score, Time Risk, Invalidation, and Action.
🚦 Signals & States
• New Time Stop Lifecycle → a new setup lifecycle window has been detected.
• Continue Review → progress and quality are strong enough to keep the lifecycle under constructive review.
• Time Risk → elapsed time is high relative to progress, so the setup deserves closer review.
• Lifecycle Expired → the active lifecycle reached its time boundary without enough progress.
• Lifecycle Invalidated → price closed beyond the invalidation rail.
🔔 Alerts Logic
The script includes alerts for:
• New Time Stop Lifecycle
• Continue Review State
• Time Risk State
• Lifecycle Expired
• Lifecycle Invalidated
These alerts are attention markers. They are not trade instructions, automated orders, or guaranteed outcome signals.
🧩 Confluence Logic
The strongest lifecycle context appears when structure break quality, candle body strength, close location, trend support, progress travel, and invalidation distance align.
When progress improves while time-risk stays low, the active lifecycle becomes more constructive. When elapsed bars increase while progress remains weak, the setup becomes more vulnerable to time-stop review.
📊 When to Use
• After a clean structure break
• During breakout follow-through review
• During trend continuation management
• When a setup is active but progress is unclear
• When you want a rule-based way to identify stale setups
⚠️ When NOT to Use
• Extremely low-liquidity symbols
• Very noisy markets with repeated false breaks
• News-driven spikes where ATR behavior becomes distorted
• Markets where structure boundaries are not meaningful
• As a standalone entry or exit system
🎛️ Key Inputs
• Sensitivity → controls how strict the setup activation logic is.
• Structure Lookback → defines the prior boundary used for lifecycle activation.
• Lifecycle Window Bars → sets how long a setup can remain active before time-risk becomes dominant.
• Minimum Progress % → defines how much progress is expected before expiry pressure matters.
• Progress Target ATR → sets the ATR-based progress reference.
• Invalidation Buffer ATR → controls the distance of the invalidation rail.
• Label Font Size and Panel Font Size → control visual readability.
• Panel Location and Panel Theme → customize the AGPro summary panel.
🖥️ Interface & Visual Design
The interface is built around a clean chart-first workflow. The lifecycle box is the primary visual object, and its centered text summarizes the active state without requiring extra dashboard interpretation.
The panel is compact and uses the AGPro standard first row: one merged blue header row containing only the panel title. The remaining rows focus on time, progress, risk, invalidation, and the next review state.
Labels are limited by cooldown and max-visible controls so the chart remains informative without becoming crowded.
🧪 Practical Usage Workflow
1. Read the panel to identify the current lifecycle state.
2. Check the lifecycle box and rails to understand the active structure.
3. Compare Bars Active with Progress Score.
4. Watch whether Time Risk rises before meaningful progress appears.
5. Use invalidation context to decide whether the setup is still structurally relevant.
🔍 Interpretation Guidelines
A high score does not mean price must continue. It means the active lifecycle is progressing well under the script's rules.
A high time-risk reading does not mean price must reverse. It means time is becoming less favorable relative to progress.
An expired lifecycle does not judge the broader market. It only says the active setup window did not produce enough progress within the configured time boundary.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a stop-loss optimizer
• Not a full position planner
• Not a profit-target promise tool
⚠️ Limitations & Transparency
The script uses rule-based structure detection and ATR-based references, so results can vary across symbols, sessions, and timeframes.
Confirmed lifecycle states depend on the selected lookback, sensitivity, ATR settings, and volatility conditions.
During sideways chop, repeated structure breaks may produce lifecycles that expire quickly. During extreme volatility, time and progress readings may change rapidly.
🧠 Market Context Notes
Time is part of risk. A setup that does not progress can become less useful even if it has not technically invalidated.
This script is designed to make that time component visible without turning it into a direct trade command.
🧾 Use Case Examples
When price breaks above a prior structure and the lifecycle box appears, the trader can watch whether progress develops before the time window matures.
When progress remains weak and the Time Risk state appears, the trader can reassess whether the original setup idea still deserves attention.
When price closes beyond the invalidation rail, the lifecycle is marked invalidated and the context resets.
🧱 System Philosophy
Time Stop Planner belongs to the AGPro decision-engine style: it does not simply show data. It organizes setup validity, progress quality, risk context, and next-action state into one readable workflow.
🔐 Non-Promise Statement
This script does not provide certainty.
It does not guarantee continuation, reversal, profit, or protection from loss.
📉 Risk Disclosure
Trading involves risk.
All outputs from this script are educational and analytical only.
Users remain responsible for their own decisions, risk management, and market interpretation.
This script does not provide financial advice.
📚 Educational Note
Use the script as a structured way to study time, progress, and invalidation behavior after a setup activates. The value is in consistent interpretation, not in treating any state as a command.
Indicator

Parabolic SAR Flip Quality [AGPro Series]Parabolic SAR Flip Quality
🧠 Core Idea
Is this Parabolic SAR flip strong enough to plan around, or is it just another noisy stop-and-reverse signal?
📌 Overview / What it does
Parabolic SAR Flip Quality is a planner-style Parabolic SAR overlay built to evaluate PSAR flip conditions as trade-decision context, not as simple directional signals.
The script keeps the classic Parabolic SAR dot trail visible, then adds a professional quality model that measures flip strength, trend alignment, SAR distance, candle efficiency, volatility expansion, and prior-leg maturity. The result is a clear 0-100 readiness score that helps traders judge whether the current PSAR flip environment is valid, weak, developing, or blocked.
It produces qualified flip labels, SAR dots, a SAR-native protection band, and a compact AGPro panel showing Flip Side, SAR Distance, Trend Filter, and Quality Score. It does not automate trades, predict future price, or tell users what to buy or sell. It organizes PSAR flip context into a cleaner decision framework.
🎯 Purpose & Design Philosophy
Most Parabolic SAR tools show where the SAR dots are and where the stop-and-reverse event happened. That is useful, but it often leaves the trader with the harder question: is this flip actually good enough to act on, monitor, or ignore?
This script was built to fill that gap. It turns a classic indicator into a structured decision engine by asking whether the flip has enough distance, trend support, expansion, and maturity behind it.
The design supports traders who want cleaner execution readiness, not more noise. It is built for chart readers who want to evaluate setup quality, risk area, invalidation context, and next-action state before making their own decision.
⚡ Why This Script Is Different
Most tools focus on printing every Parabolic SAR flip as if all flips have similar meaning.
This script does NOT treat a dot-side change as a complete setup. It also does not turn PSAR into a generic signal board or a generic support/resistance zone map.
Instead, it evaluates the flip as a planning event. The script scores the quality of the transition, checks whether trend conditions support the new side, measures how far price is from the SAR reference, and projects a SAR Protection Band that represents the stop-defense area created by the qualified flip.
The difference is the decision layer:
• Is the flip valid?
• How strong is it?
• Where is the SAR-based invalidation area?
• Is the trend filter helping or blocking the setup?
• What is the current read now?
⚙️ Methodology
1. Context Detection
The script detects whether price is currently operating on the bullish or bearish side of the Parabolic SAR. It also tracks raw SAR flips and measures how mature the prior SAR leg was before the transition.
2. Reference Mapping
The active SAR value becomes the primary reference point. Distance from SAR is normalized by ATR so the read adapts across symbols and timeframes.
3. Reaction Evaluation
Each flip is evaluated through a multi-factor quality model:
• SAR distance versus ATR
• EMA trend alignment
• EMA slope direction
• DMI directional agreement
• ADX trend strength
• Candle body efficiency
• Range expansion
• Prior-leg maturity
These conditions are combined into a 0-100 Quality Score.
4. Visual Output
When a flip passes the quality threshold, trend filter, SAR distance requirement, confirmation setting, and cooldown control, the script promotes it into a qualified chart label. It can also draw a SAR Protection Band around the flip's SAR reference for forward context.
🗺️ How to Read the Chart
SAR dots show the classic Parabolic SAR trail. Bullish dots appear below price, and bearish dots appear above price.
Qualified flip labels mark PSAR flips that passed the quality and trend conditions. The label includes the flip side and the quality score, allowing quick comparison between stronger and weaker transitions.
The SAR Protection Band represents the PSAR-based stop-defense area created after a qualified flip. It is not a generic support/resistance zone. It is a SAR-native invalidation and planning reference.
Colors follow the AGPro visual language:
• Teal = bullish side or bullish qualified flip
• Pink = bearish side or bearish qualified flip
• Gold = neutral, blocked, or caution state
• Indigo = trend backbone reference
The panel summarizes the active read:
• Flip Side
• SAR Distance
• Trend Filter
• Quality Score
🚦 Signals & States
• Bullish Flip → A qualified PSAR transition to the bullish side.
• Bearish Flip → A qualified PSAR transition to the bearish side.
• Trend Filter PASS → The broader trend filter agrees with the current SAR side.
• Trend Filter BLOCKED → The SAR side is active, but the broader trend filter does not fully support it.
• High Quality Score → The flip has stronger alignment across distance, trend, expansion, efficiency, and maturity.
• WAIT Grade → The current condition does not meet the preferred readiness profile.
These are analytical states, not trade instructions.
🔔 Alerts Logic
Alerts trigger only when a qualified bullish or bearish PSAR flip is confirmed by the script's quality rules.
• Qualified Bullish PSAR Flip → A bullish SAR flip passed the trend filter, quality threshold, SAR distance threshold, cooldown rule, and confirmation setting.
• Qualified Bearish PSAR Flip → A bearish SAR flip passed the trend filter, quality threshold, SAR distance threshold, cooldown rule, and confirmation setting.
Alerts are attention markers. They are not automated trading instructions and do not guarantee future movement.
🧩 Confluence Logic
The strongest context appears when several conditions align at the same time:
• PSAR flips to a new side
• Price has enough ATR-normalized distance from SAR
• EMA trend direction supports the flip
• DMI confirms directional pressure
• ADX shows enough trend strength
• Candle structure shows real expansion
• The previous SAR leg was mature enough
When these elements align, the flip becomes more useful as a planning reference.
📊 When to Use
This script is best suited for:
• Trending markets where SAR transitions can develop into continuation phases
• Swing-trading review on higher timeframes
• Crypto, forex, stocks, indices, and commodities with enough liquidity
• PSAR users who want a readiness score instead of raw dot flips
• Traders who want a cleaner invalidation reference around qualified SAR flips
• Multi-timeframe analysis where the user wants to compare flip quality across chart periods
⚠️ When NOT to Use
This script is less useful in:
• Very low-liquidity markets
• Extremely noisy sideways chop
• News-driven spikes where ATR and structure can distort quickly
• Ultra-low timeframes with unstable spread or poor execution quality
• Markets where price repeatedly flips around the SAR without trend expansion
In these conditions, raw PSAR flips and quality labels can become less reliable as planning references.
🎛️ Key Inputs
• SAR Start → Controls the initial Parabolic SAR acceleration factor.
• SAR Increment → Controls how quickly the SAR acceleration increases as the trend develops.
• SAR Maximum → Controls the maximum SAR acceleration level.
• Trend EMA Length → Defines the trend backbone used by the filter.
• DMI Length and ADX Smoothing → Control directional pressure and trend-strength measurement.
• Minimum ADX → Sets the required trend-strength floor.
• Minimum Quality Score → Defines how selective qualified flip labels should be.
• Minimum SAR Distance ATR → Blocks cramped flips that occur too close to the SAR reference.
• Prior Leg Maturity Bars → Requires the prior SAR leg to have enough development before a flip receives full maturity credit.
• Flip Cooldown Bars → Controls label density and keeps the chart readable.
• SAR Protection Band settings → Control the width, forward projection, and maximum active bands.
• Panel and Label Font Size → Adjust visual readability, with Normal as the default.
• Panel Location and Theme → Control the AGPro panel placement and appearance.
🖥️ Interface & Visual Design
The interface is designed to be premium, compact, and decision-focused.
The chart keeps the classic PSAR dots as the main visual anchor. Qualified labels appear only when the flip passes the selected filters. The SAR Protection Band is transparent and restrained so it adds planning context without overwhelming candles.
The AGPro panel uses a single merged blue header row with the script name, followed by a clean four-row readout. Its purpose is to summarize the current decision state without turning the chart into a dashboard-heavy layout.
🧪 Practical Usage Workflow
1. Read the panel.
Check the active Flip Side, SAR Distance, Trend Filter, and Quality Score.
2. Check the latest qualified label.
Compare the quality score with the minimum threshold and with prior labels on the chart.
3. Review the SAR Protection Band.
Use the band as a SAR-native planning reference for where the qualified flip should remain structurally defended.
4. Confirm broader context.
Compare the flip with trend direction, volatility, market structure, and timeframe behavior.
5. Decide independently.
Use the output as structured context, not as an automatic trade command.
🔍 Interpretation Guidelines
A strong read usually has a qualified flip label, a passing trend filter, enough SAR distance, and a higher quality grade.
A weaker read may show an active SAR side but a blocked trend filter or a low score. This means the SAR state exists, but the planning context is not strong enough under the script's model.
The SAR Protection Band should be interpreted as a stop-defense and invalidation reference. If price respects it, the flip context remains cleaner. If price violates it, the qualified flip has lost part of its structural value.
The best use of the script is comparison: compare current flip quality against previous flips, across timeframes, and across market conditions.
🚫 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 guarantee profitable signals.
It does not replace independent analysis, position sizing, risk management, or broader market context.
⚠️ Limitations & Transparency
Parabolic SAR is a trend-following concept, so it can struggle in choppy or directionless markets.
Quality scoring improves structure, but it cannot remove all false transitions. Timeframe selection, volatility regime, liquidity, and market session can affect how signals appear and how useful the SAR Protection Band becomes.
The script is rule-based and transparent. It reads current and historical chart data according to the selected inputs. It does not know future price behavior.
🧠 Market Context Notes
PSAR flips tend to become more meaningful when they occur with volatility expansion, directional pressure, and enough distance from the SAR reference.
In compressed markets, the dots may switch sides more frequently and the score may change quickly. In stronger trends, the SAR dots often create cleaner trailing structure, and qualified flips can become more useful as planning events.
The best interpretation comes from combining the panel state, SAR distance, label quality, protection band behavior, and the broader market environment.
🧾 Use Case Examples
When price flips bullish, the trend filter passes, SAR distance expands above the minimum threshold, and the quality score is high, the user can treat that area as a cleaner bullish planning context.
When price flips bearish but the trend filter is blocked, the script communicates caution. The SAR side changed, but the broader read is not aligned.
When price returns to the SAR Protection Band after a qualified flip, the user can monitor whether the band is respected or violated as part of the invalidation read.
🧱 System Philosophy
The purpose of this script is not to add another signal to the chart.
The purpose is to turn a classic indicator into a decision-support framework:
• Setup validity
• Quality strength
• Trend agreement
• Risk reference
• Invalidation context
• Current action state
This is the AGPro direction: tools that help traders make better decisions, not tools that simply decorate the chart with more signals.
🔐 Non-Promise Statement
No indicator can provide certainty.
This script does not promise future outcomes, guaranteed performance, or risk-free execution.
Its role is to organize Parabolic SAR flip context into a clearer analytical structure.
📉 Risk Disclosure
Trading involves risk, and market conditions can change quickly.
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 analysis, decisions, risk management, and trading results.
📚 Educational Note
Parabolic SAR is one of the most recognized stop-and-reverse indicators because it makes trend state visually simple. This script keeps that visual simplicity while adding a quality and planning layer so users can study which flips deserve more attention and which ones should remain secondary context. Indicator

Chandelier Exit Flip Zones [AGPro Series]Chandelier Exit Flip Zones
Chandelier Exit Flip Zones is a premium ATR trailing-stop and exit-state engine built for traders who want more than a simple stop line on the chart.
The script takes the classic Chandelier Exit concept and turns it into a structured decision layer:
Chandelier trail -> trail-side flip -> flip quality -> continuation state -> exit-pressure awareness
The result is a clean public-free tool for reading trend continuation, trailing-stop pressure, and Chandelier flip transitions without turning the chart into a crowded signal board.
📌 Why This Script Exists
Chandelier Exit is one of the most practical and searched trailing-stop concepts because it connects trend direction with volatility. Many traders use it to trail positions, judge when momentum is still holding, or identify when price is starting to lose distance from its active stop area.
Most Chandelier tools stop at the line.
This script adds the missing context:
- Which side of the Chandelier trail is active?
- How far is price from the trail in ATR terms?
- Was the latest trail flip strong or weak?
- Is the market still in continuation mode?
- Is price compressing back into an exit-watch area?
- Did the transition create a clean forward flip zone?
That extra layer is what makes the script more useful than a standard ATR trailing-stop overlay.
⚡ What Makes It Different From Standard Chandelier Exit Indicators
Most public Chandelier Exit indicators are visually simple. They usually plot a long stop, a short stop, and sometimes a basic flip marker.
Chandelier Exit Flip Zones is built around a stronger reading model.
It evaluates each trail flip through a quality score that combines:
- Trail-break strength
- EMA trend agreement
- Range expansion
- Candle close location
- Optional volume participation
This means the script does not treat every flip equally. A weak flip inside chop is not presented with the same weight as a cleaner transition with better structure, stronger expansion, and better directional agreement.
The script also uses quality-filtered Flip Zones. These boxes are not generic support and resistance areas. They are drawn around the Chandelier transition area where price breaks the previous trail and establishes a new active side. The purpose is to mark the actual trail-flip area, not to fill the chart with unrelated levels.
🧭 How It Is Different From Other AGProLabs Scripts
This script was intentionally kept in a narrow Chandelier Exit lane so it does not overlap with other AGProLabs public releases.
It is not a SuperTrend script. SuperTrend logic is built around a different volatility-band mechanism, while this tool is built around Chandelier high/low structure anchors and ATR trail distance.
It is not an ATR compression or ATR breakout script. Those concepts focus on volatility contraction, breakout pressure, or expansion behavior. This script focuses on the active trailing-stop side, distance from the Chandelier trail, and exit-state awareness.
It is not a generic trend dashboard. The panel is compact and centered on trail side, ATR multiple, distance, flip quality, and continuation or exit-watch state.
It is not a support/resistance zone engine. The only zones are concept-native Flip Zones created from qualified Chandelier trail transitions.
This keeps the script differentiated, practical, and publication-safe inside the AGPro Series catalog.
✅ Core Features
- Chandelier Exit trail based on ATR distance and recent structure anchors
- Long-side and short-side trail state
- Bullish and bearish trail-flip detection
- Flip quality score from 0 to 100
- Prime, qualified, and developing flip classifications
- ATR distance from the active trail
- Percentage distance from the active trail
- Continuation, control, and exit-watch state logic
- Quality-filtered forward Flip Zones
- Optional exit-watch labels, disabled by default for a cleaner public view
- Label cooldown and maximum label controls
- Maximum visible zone control
- Adjustable label font size
- Adjustable panel font size
- Adjustable panel location
- Dark, light, and auto panel theme options
- AGPro-style panel with a single merged blue header row
- Alerts for bullish flips, bearish flips, prime flips, and exit-watch conditions
📊 Panel Readout
The panel is designed to give a fast read without visual overload:
Trail Side
Shows whether the active Chandelier trail is currently long-side or short-side.
ATR Multiple
Shows the volatility multiple used by the current trail.
Distance
Shows how far price is from the active trail in both ATR and percentage terms.
Flip Quality
Displays the most recent flip score and classification.
State
Classifies the current condition as continuation, control, or exit watch.
🎯 How To Read It
A strong Chandelier flip means price has crossed the prior active trail with enough quality to deserve attention. The score helps separate cleaner transitions from weaker flips in noisy conditions.
A continuation state means price has moved far enough from the active trail and still has trend agreement behind it. This is the cleaner trend-following condition.
A control state means price is on one side of the trail, but the continuation profile is not yet strong enough to classify as a high-conviction continuation read.
An exit-watch state means price has compressed back toward the active Chandelier trail. This does not make the script a prediction tool. It simply highlights that the active trend has less distance from its trailing-stop structure and deserves closer attention.
💎 Why Traders May Like It
The script is useful because it keeps the original simplicity of Chandelier Exit while adding the context traders usually have to judge manually.
It can help users read:
- Trend-following continuation quality
- ATR trailing-stop distance
- Trail-side transitions
- Cleaner Chandelier flip zones
- Exit-pressure areas near the active trail
- Strong versus weak flip behavior
The default view is intentionally restrained. Exit-watch labels are available, but disabled by default so the first chart impression stays cleaner. Flip labels and zones are also filtered by score so the chart does not get flooded during sideways periods.
🛠 Suggested Use Cases
- Trend-following exit management
- Swing-trading trail awareness
- Crypto trend continuation tracking
- Forex and index trailing-stop context
- Stock trend-state monitoring
- Identifying stronger Chandelier trail transitions
- Monitoring when price compresses back toward the active trail
⚙️ Recommended Default Style
The defaults are tuned for a public-free premium view:
- ATR Length: 22
- Structure Lookback: 22
- ATR Multiple: 3.0
- Flip Zones: enabled
- Minimum Zone Score: 50
- Minimum Flip Label Score: 45
- Exit Labels: disabled by default
- Label Font Size: Normal
- Panel Font Size: Normal
- Panel Theme: Dark
These settings keep the tool immediately usable while preserving a clean chart presentation.
🔹 In One Sentence
Chandelier Exit Flip Zones turns a classic ATR trailing stop into a cleaner Chandelier trail, flip-quality, continuation-state, and exit-pressure map built for serious chart reading without unnecessary clutter. Indicator

SuperTrend Flip Zones [AGPro Series]# SuperTrend Flip Zones
🔷 OVERVIEW
SuperTrend Flip Zones is a trend-following overlay designed for traders who appreciate the clarity of SuperTrend, but want a more selective and more structured version of it on the chart.
Traditional SuperTrend tools are popular because they are simple: the line flips, the color changes, and the chart immediately prints a directional signal. That simplicity is useful, but it also creates a familiar weakness. In many market conditions, raw SuperTrend flips can appear too early, too close to noise, or without enough expansion to show that a genuine directional transition is taking hold.
This script was built to solve that exact problem.
Instead of treating every SuperTrend direction change as equally meaningful, SuperTrend Flip Zones evaluates the quality of the flip itself. Only qualified flips are promoted into visible BUY / SELL events, and each accepted signal creates a forward-projecting support or resistance zone built around the new SuperTrend structure.
The result is not just another SuperTrend clone with different colors. It is a more selective, more chart-aware framework that helps traders judge whether a flip is worth paying attention to, and where the new trend should continue to defend itself after that flip occurs.
🔷 WHAT MAKES THIS DIFFERENT
The biggest difference is that this script does not stop at the flip.
Most SuperTrend indicators on the platform focus on one task only:
detect the directional switch and mark it immediately.
SuperTrend Flip Zones takes a broader view. It asks two additional questions:
1. Was the flip strong enough to deserve attention?
2. After the flip, where is the live structural zone that the new trend is expected to protect?
That design choice creates a very different chart experience.
Instead of receiving every mechanical transition equally, the user sees a filtered signal environment. Weak flips can be ignored, while stronger flips remain visible and are reinforced by an ATR-based zone that extends forward. This makes the tool useful not only at the exact moment of the flip, but also in the bars that follow, when traders are deciding whether the move is still being respected.
It also creates clear separation from other AGProLabs tools in the same family.
This is not a pullback-quality script.
It is not focused on grading retracements inside an already established trend.
It is focused on the transition point itself, and on the acceptance zone created by that transition.
🔷 CORE LOGIC
The script is built around a custom SuperTrend engine using the selected ATR model, source, and multiplier.
When the direction flips, the script does not blindly trust the event. The flip is scored through a multi-factor quality model that examines:
- candle body efficiency,
- range expansion relative to ATR,
- price separation from the active SuperTrend line,
- alignment with a trend EMA,
- maturity of the prior trend leg before the reversal occurred.
Only flips that meet the minimum quality threshold are accepted.
Once a bullish or bearish flip qualifies:
- a BUY or SELL signal is printed,
- the signal can be promoted to BUY+ or SELL+ when the score is stronger,
- a rectangular support or resistance zone is created around the new SuperTrend level,
- that zone is extended forward to provide ongoing structure.
This makes the indicator useful both as a signal filter and as a post-signal map.
🔷 WHY THE ZONES MATTER
A standard SuperTrend line tells you where the trailing stop or directional boundary currently sits.
This script adds another layer by converting qualified flips into live zones. Those zones are important because they help visualize where the market should continue to accept price if the new directional phase is healthy.
In bullish conditions, the zone behaves like a dynamic support belt around the fresh SuperTrend structure.
In bearish conditions, the zone behaves like a dynamic resistance belt.
If price continues to respect that zone, the flip remains structurally valid.
If price loses the zone, the chart communicates that the new directional state is weakening or failing.
This produces a more practical read than a line alone, especially for traders who do not always enter on the exact signal bar and instead evaluate continuation quality after the move begins.
🔷 VISUAL DESIGN
The script is designed to look polished and organized without overloading the chart.
Visual elements include:
- bullish and bearish SuperTrend line states,
- restrained BUY / SELL labels,
- right-extending flip zones,
- soft trend cloud for directional context,
- compact AGPro panel with merged header row,
- configurable panel placement,
- dark and light theme support,
- adjustable label and panel text sizing.
The goal is to keep the chart premium and readable rather than dense and noisy.
🔷 HOW TO USE IT
SuperTrend Flip Zones is most useful for traders who want a higher-quality directional read rather than every raw SuperTrend crossover.
A typical workflow is:
- use the line and cloud to identify the active directional state,
- wait for a qualified BUY or SELL rather than reacting to every raw flip,
- monitor the projected zone as a live support or resistance area,
- observe whether price continues to defend that zone or loses it.
This makes the script suitable for discretionary trend-following, continuation analysis, and cleaner overlay-based chart reading.
🔷 BEST FIT
This tool is especially useful for:
- traders who already use SuperTrend but want cleaner signal selection,
- traders who prefer support / resistance style context after the flip,
- users who want a premium visual overlay without excessive label density,
- trend traders who want a more selective buy sell workflow.
🔷 TRANSPARENCY
This is an analytical indicator, not a trading strategy.
Like all trend-following tools, it can become less effective in highly compressed or directionless market conditions. The filtering logic is designed to reduce weak transitions, but it does not replace chart context, timeframe awareness, or risk management.
All logic is based on confirmed bar data inside the script framework. The purpose is to organize price action more clearly, not to guarantee future market behavior. Indicator
