Liquidity Pool Detector [EXCAVO]Equal High/Low Cluster Detection with Sweep Identification and Period Reference Levels
The Liquidity Pool Detector identifies where resting orders accumulate near swing
levels by detecting equal highs and equal lows using swing pivot analysis with ATR-based
tolerance. When price wicks through a cluster level and closes back inside, the indicator
marks a sweep - the moment orders at that level were filled and price reversed direction.
This is not a basic pivot-high/low indicator. The cluster-merging logic groups nearby
pivots into unified levels with touch counts, and the sweep filter distinguishes between
a genuine zone test and a breakout continuation.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW TO USE
Step 1 → Add the indicator to the price chart. Red solid lines appear above
price (equal highs clusters) and blue solid lines appear below price
(equal lows clusters). Previous day and week H/L reference levels
appear as slightly thicker dotted lines.
Step 2 → Watch for sweep markers. "Highs Swept" appears on a bar where price
wicked above an equal-highs cluster and closed back below it. "Lows
Swept" appears below a bar where price wicked below equal lows and
closed above. These bars indicate price tested and reversed from a cluster level.
Step 3 → Read the touch count on each cluster label. "Highs ×3" means three
swing highs formed at approximately the same level - a stronger cluster
with a stronger level formed by more historical touches.
Step 4 → Check the dashboard. Dist to High and Dist to Low show how many ATR
units separate current price from the nearest cluster above and below.
Values below 1.0 ATR highlight in orange - price is close to a level.
Nearest High and Nearest Low show the exact price of those levels.
Step 5 → Set up sweep alerts to receive notifications on bar close when a
cluster level is tested and rejected. Use JSON Alerts for bot integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW IT CALCULATES
◆ Swing Pivot Detection
The indicator uses ta.pivothigh() and ta.pivotlow() with a configurable Swing Length
(default 3). A pivot high is confirmed when the bar's high is the highest point among
the surrounding N bars on each side - requiring N bars to the left and N bars to the
right, so detection occurs N bars after the actual pivot forms. This lag ensures the
pivot is fully confirmed and the value never changes after the bar closes. Lower Swing
Length values (2-3) suit intraday timeframes; higher values (5) suit daily charts.
◆ Cluster Merging (ATR Tolerance)
When a new confirmed pivot is detected, the indicator compares it against all existing
clusters of the same type. If the distance between the new pivot and an existing cluster
level is within the Equal Tolerance threshold (default 0.5 x ATR), the pivots are merged:
the cluster level is updated to the weighted average of all touches, and the touch count
increments. If no nearby cluster exists and the cluster limit has not been reached, a new
cluster is created at that price level. This approach prevents visual noise from minor
price variations between otherwise equal levels.
◆ Sweep Detection
On each confirmed bar close, every active cluster is checked against two conditions.
For equal-highs clusters: if the bar's high exceeded the cluster level AND the close is
below the cluster level, a sweep is registered - price moved through the zone of resting
orders and reversed. For equal-lows clusters: if the bar's low was below the cluster level
AND the close is above it, a sweep is registered. A close through the level without
reversal (close >= highs cluster, or close <= lows cluster) is treated as a breakout:
the cluster is invalidated and removed without a sweep marker.
◆ Period Reference Levels
Previous Day High/Low and Previous Week High/Low are fetched using request.security()
with a confirmed-bar offset (high / low with barmerge.lookahead_on). These levels
are included in the Nearest High and Nearest Low dashboard calculations alongside the
detected equal-high/low clusters.
◆ Non-Repainting Design
All cluster additions, sweep detections, and invalidations are gated on
barstate.isconfirmed. No cluster is created and no sweep marker is placed until the bar
closes. Pivot detection uses a right-bar offset that confirms the pivot on a fully closed
bar. No value changes after a bar is confirmed.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ WHAT MAKES IT DIFFERENT
◆ ATR-Based Cluster Tolerance
Most equal-high/low detectors use a fixed pip or percentage threshold that fails across
different instruments and timeframes. Using ATR as the tolerance baseline means the same
settings work on BTCUSD hourly (high ATR) and EURUSD daily (low ATR) without manual
recalibration. The tolerance adapts to current market conditions automatically.
◆ Cluster Merging with Touch Count
Instead of drawing a separate line for every swing pivot, nearby pivots are merged into a
single cluster with an incrementing touch count. A cluster labeled "Highs ×3" represents
three independent swing highs at the same level - a significantly stronger zone than a
single untested level. The line and label update in place as new touches are added.
◆ Sweep vs Breakout Distinction
The indicator explicitly separates sweep bars (wick through, close back inside) from
breakout bars (close through the level). A sweep generates a "Highs Swept" or "Lows
Swept" marker and an alert. A breakout silently removes the cluster. This distinction
matters: sweeps are potential reversal setups; breakouts confirm continuation.
◆ Period Levels as Part of the Analysis
Previous Day and Week H/L are integrated into the same framework as the equal-high/low
clusters. They appear in the Nearest High/Low dashboard calculation and use the same color
scheme as cluster lines, making them immediately readable alongside the dynamically
detected clusters.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ DASHBOARD
Compact panel showing current conditions:
Dist to High - distance from current price to nearest cluster above, in ATR units; turns orange below 1.0 ATR
Dist to Low - distance from current price to nearest cluster below, in ATR units; turns orange below 1.0 ATR
Nearest High - exact price of the closest active cluster or period level above
Nearest Low - exact price of the closest active cluster or period level below
Last Sweep - most recent sweep type: Highs Swept, Lows Swept, or - (none)
Swing - active swing length parameter
Legend table (bottom left) explains cluster lines, period levels, and sweep markers.
Both panels toggle in Dashboard settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ SETTINGS
Detection
Swing Length - 3 bars (pivot confirmation window left and right; use 2-3 for intraday, 5 for daily)
Equal Tolerance (x ATR) - 0.5 (cluster merge radius as ATR multiple)
Max Clusters - 10 (maximum active clusters tracked per direction)
Max Display Distance (x ATR) - 5.0 (clusters beyond this ATR distance from price are hidden; detection continues)
Period Levels
Show Prev Day H/L - ON (previous day high and low reference lines)
Show Prev Week H/L - ON (previous week high and low reference lines)
Visualization
Bull Color - default blue (equal-lows clusters and lows-swept markers)
Bear Color - default red (equal-highs clusters and highs-swept markers)
Sweep Color - default orange (sweep marker labels)
Show Sweep Markers - ON (labeled markers on sweep bars)
Background Highlight - OFF (subtle tint when price is within one ATR of nearest cluster)
Alerts
JSON Alerts - OFF (enable for bot integration)
Dashboard
Dashboard Position - Top Right
Show Dashboard - ON
Show Legend - ON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ ALERTS
Highs Swept - price wicked above equal-highs cluster and closed below on bar close
Lows Swept - price wicked below equal-lows cluster and closed above on bar close
Any Sweep - any cluster level tested and rejected on bar close
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best regards,
EXCAVO
Disclaimer
Trading involves significant risk. This indicator is a technical analysis tool
and does not constitute financial advice, investment recommendations, or a
guarantee of future results. Past indicator behavior does not guarantee future
performance. Always use proper risk management and your own judgment.
Indicator

Range Breakdown Readiness [AGPro Series]Range Breakdown Readiness
🧠 Core Idea
Is the range breakdown valid, early, or likely to fail?
📌 Overview / What it does
Range Breakdown Readiness is a support-side breakdown planning tool built to evaluate whether price is actually accepting below a mature range or only probing below support and returning.
The script maps a prior range, tracks the support-side breakdown, draws a breakdown acceptance band, projects a target-room corridor, marks reclaim risk, and summarizes the setup through a 0-100 Breakdown Score.
It does not predict price direction, automate decisions, or turn every low into a tradeable support level. It is a rule-based chart-reading and planning framework.
🎯 Purpose & Design Philosophy
Many breakdown tools only mark the moment price moves below a level. That is usually not enough.
This script was built for traders who want to review breakdown quality before reacting. It focuses on acceptance, failure risk, target room, and the next planning action rather than printing generic bearish signals.
The mindset is simple: a breakdown should be reviewed as a structured decision context, not as a one-bar event.
⚡ Why This Script Is Different
Most tools focus on break markers, support/resistance lines, or broad breakout confirmation.
This script does NOT clone Consolidation Breakout Quality, Range Escape Planner, Compression Breakout Readiness, or a generic S/R zone map.
Instead, it stays narrow: it evaluates the support-side breakdown of a mature range and asks whether the break has enough acceptance to deserve review, or whether reclaim/failure risk is still too high.
⚙️ Methodology
1. Context Detection
The script maps the prior range high and range support edge, then checks whether the structure is mature enough to evaluate.
2. Reference Mapping
It uses the support edge as the breakdown reference, then draws a range box, acceptance band, reclaim rail, and target-room corridor.
3. Reaction Evaluation
The score combines range age, close below support, candle close quality, volume support, retest rejection, and target room.
4. Visual Output
The chart receives clean planning zones, compact labels, guide lines, alerts, and a premium AGPro panel with state, score, acceptance, risk, and action.
🗺️ How to Read the Chart
Zones = the mapped range, the breakdown acceptance band, and the target-room corridor.
Labels = support watch, breakdown, breakdown ready, retest rejection, follow-through, reclaim risk, and failure risk states.
Colors = teal and indigo for constructive planning context, pink for active breakdown pressure, amber for caution and failure-risk review.
Panel = the planning summary: Range State, Breakdown Score, Acceptance, Failure Risk, and Action.
🚦 Signals & States
• Support Watch → price is near the support side of a mature range.
• New Range Breakdown → price closed below the mapped support edge.
• Breakdown Ready → score and failure-risk context support a stronger breakdown review.
• Retest Rejection → price revisited the broken support area and rejected from the acceptance band.
• Failure Risk Review → acceptance is weak or reclaim pressure increased.
• Breakdown Reclaim → price moved back above the reclaim rail and the active review is invalidated.
• Target Corridor Reached → price reached the projected target-room area.
🔔 Alerts Logic
Alerts trigger when the script detects support watch, a new breakdown, breakdown ready state, retest rejection, failure-risk review, follow-through, reclaim, or target-corridor contact.
Alerts are attention markers. They are not trade instructions.
🧩 Confluence Logic
The breakdown context becomes stronger when range maturity, close distance below support, bearish close quality, relative volume, retest rejection, and target room align.
The context weakens when the move stays too close to support, forms a large lower wick, lacks volume support, or reclaims back above the support rail.
📊 When to Use
• Mature ranges that begin to test the lower boundary.
• Breakdown review after a support-side close outside the range.
• Markets where target room below the range matters.
• Charts where a trader wants failure-risk context before reacting.
⚠️ When NOT to Use
• Extremely illiquid symbols.
• Very noisy micro timeframes with unreliable range structure.
• News spikes where ATR and volume become distorted.
• Markets that gap through the entire range before a readable review forms.
🎛️ Key Inputs
• Range Lookback → controls the range reference window.
• Minimum Range Age → controls how mature the range must be before readiness improves.
• Minimum Close Below Support ATR → controls the required close distance below support.
• Acceptance Band ATR → controls the width of the breakdown acceptance band.
• Reclaim Buffer ATR → controls the invalidation rail above support.
• Target Corridor Range Multiple → controls the projected target-room corridor.
• Label and Panel Font Size → controls publication readability.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first. The range box, acceptance band, and target corridor provide the main visual structure.
The panel stays compact and decision-oriented, with one merged blue AGPro header row and five planner rows.
Labels are limited, offset away from candles, and controlled by cooldown and max-visible settings to preserve a premium chart view.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Check whether the range is mature or only building.
3. Review the support-side acceptance band after a close below support.
4. Compare Breakdown Score with Failure Risk.
5. Watch the reclaim rail and target-room corridor as context references.
🔍 Interpretation Guidelines
Think in terms of quality and failure risk.
A low score does not mean price cannot continue. It means the current breakdown context is not yet clean.
A high score does not mean certainty. It means the script sees stronger alignment between range maturity, acceptance, volume, candle quality, retest behavior, and target room.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not a generic support/resistance scanner.
• Not an Order Block, Fair Value Gap, BOS/CHOCH, or broad SMC map.
⚠️ Limitations & Transparency
Range quality can change by timeframe.
High volatility can make reclaim and target-room references move quickly.
Low liquidity can reduce the usefulness of volume support.
The script is rule-based and should be interpreted within broader market context.
🧠 Market Context Notes
Breakdowns are often most useful when the prior range is mature, the support edge is clear, and price has enough room below the range to develop.
Weak breakdowns often appear as a quick pierce below support followed by a reclaim back inside the range.
This script focuses on that difference.
🧾 Use Case Examples
When price closes below range support with strong close quality, elevated relative volume, and a clean target corridor, the panel may move toward Breakdown Ready.
When price pierces below support but closes back near or above the edge, the script may show Failure Risk or Reclaim Review.
🧱 System Philosophy
AGPro planning tools are built to reduce chart ambiguity. The goal is not to add another signal, but to organize the decision context around structure, risk, acceptance, and next action.
🔐 Non-Promise Statement
No script can provide certainty.
No score should be interpreted as a guaranteed outcome.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own decisions.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use the script as an educational planning layer to study breakdown quality, reclaim risk, and target-room context across different symbols and timeframes.
Indicator

Ask Dr. Alex AIAsk Dr. Alex AI — Interactive Chart Intelligence for PulseWire
Ask Dr. Alex AI is an interactive chart intelligence indicator built to help traders understand what the chart is saying before making a decision. Instead of only printing a simple buy or sell label, Ask Dr. Alex AI lets the user select a question from a built-in menu and then reveals the specific chart evidence behind the answer.
This indicator is designed as a guided market assistant for traders who want clearer context around support, resistance, patterns, momentum, trend pressure, forecast bias, and trade planning.
What Makes Ask Dr. Alex AI Different
Most indicators only show signals.
Ask Dr. Alex AI answers questions.
Users can select from guided questions such as:
Is this safe to trade right now?
Am I buying from support, selling from resistance, or chasing price?
What pattern is active?
What does the next candle / 10C forecast suggest?
What is the entry, stop loss, and take-profit plan?
ALL — Show Everything
Deep Scan Mode
When a question is selected, the indicator highlights the relevant chart areas and summarizes what it sees using the Dr. Alex AI answer panel.
Core Features
Interactive Question Menu
Choose a question and the indicator reveals only the relevant chart evidence.
Dr. Alex AI Answer Panel
Provides a plain-English summary of the current market condition.
Deep Scan Mode
Unlocks deeper diagnostic checks such as:
Trend Strength
MTF Agreement
Support Bounce Check
Resistance Rejection
Pattern Quality
Forecast Conflict
Ribbon Conflict
Entry Quality
Risk / Reward
Invalidation Point
Fakeout Risk
Wilson Tangent
Full Diagnostic
Support / Resistance Intelligence
Displays major support and resistance zones, higher-timeframe levels, and whether price is reacting from a meaningful area.
Pattern Awareness
Detects and explains major active patterns such as doji at support, hammer at support, double bottom, engulfing candles, marubozu candles, breakout retests, traps, and continuation patterns.
Respect Support Bounce Mode
When price touches major support and a bullish rejection pattern appears, the system can shift from hard bearish continuation into Support Bounce Watch / Bull Watch instead of blindly forecasting into support.
Next-Candle Bias Ribbon
A five-state visual ribbon helps summarize the projected next-candle condition:
Green = Bullish
Blue = Bull Watch
Gray = Neutral
Orange = Bear Watch
Red = Bearish
10-Candle Forecast View
Shows a forward projection path based on confidence, pattern context, support/resistance, trend pressure, and active sentiment.
Trade Plan Panel
When a setup is active, the indicator can display:
Entry range
Stop loss
TP1
TP2
Risk/reward model
Setup status
Confidence and Rank Engine
Uses a multi-factor scoring system to compare bullish and bearish pressure across trend, momentum, structure, volatility, MTF alignment, candle behavior, and ribbon state.
Machine-Learning-Inspired Scoring Logic
Ask Dr. Alex AI uses adaptive, weighted, machine-learning-inspired decision logic to evaluate chart conditions and adjust the way it interprets support bounces, forecast conflicts, momentum shifts, and pattern quality. It is designed to behave like an intelligent diagnostic layer, not just a static signal generator.
How to Use
Add the indicator to your chart.
Choose a question from the Ask Dr. Alex AI menu.
Review the highlighted chart evidence.
Read the Dr. Alex AI answer panel.
Use Deep Scan Mode when you want a more detailed diagnostic breakdown.
Use ALL — Show Everything when you want the full visual system displayed at once.
Best Use Case
Ask Dr. Alex AI is best used as a decision-support and educational chart assistant. It is built to help traders slow down, identify context, avoid chasing price, respect support/resistance, and understand why a setup is active, weak, conflicted, or invalidated.
It is especially useful for traders who want the chart to answer questions such as:
“Is this actually a trade, or am I forcing it?”
“Is price bouncing from support or breaking down?”
“Why is the forecast bullish if the trend is bearish?”
“Why is the signal waiting?”
“What must happen before this setup becomes valid?”
Important Disclaimer
Ask Dr. Alex AI is for educational and informational purposes only. It does not guarantee profits, predict the future with certainty, or replace personal judgment, risk management, or professional financial advice. Trading involves risk, and users are responsible for their own trading decisions.
Indicator

Indicator

Luxy BOSS MODE - Support & ResistanceBOSS MODE S/R is a comprehensive Support & Resistance system that detects, scores, and learns from every zone reaction — then automatically generates trade plans with entry, stop, target, and position size.
Unlike traditional S/R indicators that simply draw lines, BOSS MODE combines 6 detection engines , an adaptive scoring algorithm , a real-time momentum classifier powered by the Luxy Energy Index, and a Trade Plan Generator that calculates exact risk parameters based on your account.
── WHAT MAKES IT DIFFERENT ──
1. Adaptive Weight Scoring
Every zone is scored 0-100 based on 7 factors: volume at touch, higher-timeframe origin, confluence with other zones, freshness, touch count, regime alignment, and historical performance. After 20+ observed zone outcomes (first bounce or first break per zone), the system adjusts its scoring weights based on which factors correlated with bounces vs breaks on that specific chart and asset.
2. LEI-Powered Momentum Classifier
Uses the Luxy Energy Index (Extension + Velocity + Volume exhaustion model) to classify each approaching zone as likely BOUNCE or BREAK . LEI ≥ 70 = exhausted move arriving at zone = bounce expected. LEI ≤ 30 = energized move = break risk.
3. Trade Plan Generator
For qualifying setups (Grade A/B zone, regime-aligned, R:R above your minimum), the indicator auto-calculates:
Entry — just beyond zone boundary
Stop Loss — opposite side of zone + ATR buffer
Target — nearest zone in trade direction
Position Size — based on your account size and risk %
R:R ratio — only shows when above your minimum
4. Per-Zone Intelligence
Every zone tracks its own history: how many times it bounced vs broke, average bounce distance in ATR units, and hold rate. Labels show this inline: ⬆ SUPPORT 📐 82 5/7 +0.4ᴬ = score 82, held 5 of 7 tests, avg distance from zone mid at touch: 0.4 ATR.
── 6 DETECTION ENGINES ──
📐 Swing Pivots — Classical swing highs/lows on current, Daily, and Weekly timeframes
🧱 Order Blocks — Last candle before a strong impulsive move, confirmed by volume
📊 Volume POC — Highest-volume price cluster over lookback period
💨 Fair Value Gaps — 3-candle imbalances where price left unfilled ranges
💧 Liquidity Pools — Equal high/low clusters where stops accumulate
⚓ Anchored VWAP — Auto-anchors on gap+volume events (earnings, catalysts)
All 6 sources feed into the same unified zone object, allowing true confluence scoring across methodologies.
── REGIME-AWARE SCORING ──
The market regime (STRONG_BULL / WEAK_BULL / RANGE / WEAK_BEAR / STRONG_BEAR / SQUEEZE) drives the scoring bias. In a bullish regime, support zones receive a significant score bonus while resistance zones score lower — reflecting the statistical reality that zones aligned with the trend hold more reliably.
Regime is calculated from ADX + Bollinger Band Width + EMA slope, giving 5 states plus a Squeeze override when volatility compresses to the bottom 10% of the last 100 bars.
── VISUAL SYSTEM ──
Zones are rendered with a 4-layer heat-map system:
Atmospheric halo — fades beyond zone boundaries, scales with score
Main fill — neon color: cyan family for support, red/orange for resistance, intensity proportional to score
Hot core strip — brighter inner band at zone midpoint
Entry line — solid bright stripe at the price-contact edge (top for support, bottom for resistance)
Grade-A pulse ring — glowing outline when a high-conviction zone is within 1.5 ATR of price
Score bar — vertical progress bar to the right of each zone, height = score 0-100
Simple View : A separate layer draws just two clear boxes — nearest SUPPORT (green) and nearest RESISTANCE (red) — with text centered inside. Designed for traders who want instant visual clarity without analyzing all zones.
── TRADE PLAN GENERATOR ──
Configure in the 💰 Trade Plan settings group:
Account Size ($) — your total trading capital
Risk per Trade (%) — standard is 1.0% per trade
Min R:R to Show — only displays setups where the calculated reward exceeds this multiple of risk
When a qualifying setup is found, three dashed lines appear on the chart (blue = entry, red = stop, green = target) with a summary label showing direction, prices, share count, and R:R ratio. The Dashboard shows it in the 💰 Active Setup row. An alert fires with the full trade plan.
Important: The Trade Plan Generator identifies setups based on zone proximity and regime alignment. All trade decisions remain entirely the responsibility of the user. Past zone reactions do not guarantee future performance. Always apply your own analysis and risk management.
── DASHBOARD (14 rows) ──
The information panel shows in real-time:
Market Regime with color coding
Asset Class / Session (PRE/RTH/AH for stocks)
Active zones breakdown (0A/1B/3C format)
Nearest Resistance price, grade, ATR distance
Nearest Support price, grade, ATR distance
ATR% Rank (volatility context)
Active Warning (8 types, color-coded by severity)
Anchored VWAP value and anchor reason
Squeeze detector
Zone Hit Rate (historical bounce %)
Active Detection Sources
Scenario suggestion
Adaptive Weights status
Active Trade Plan (Entry / Stop / Target / Shares / R:R)
Every cell has a detailed tooltip explaining what the value means and how to use it.
── MULTI-ASSET SUPPORT ──
The asset engine auto-detects chart type and adjusts accordingly:
Stocks — ATR-based zones, session-aware (PRE/RTH/AH)
Stocks under $1 — percent-based zone widths (ATR is unreliable for extreme low-price securities)
Crypto — 24/7, percent bands, no session breaks
Forex — pip-based zone widths
Indices — volume-agnostic fallback
Futures — rollover-aware
── SETTINGS OVERVIEW ──
🎯 Trading Mode — Scalp / Intraday / Swing (affects zone widths and sensitivity)
🧭 Regime Classifier — ADX, BB, and EMA periods
🎯 Zone Detection — Toggle each of the 6 engines independently
📐 Swing Pivots — Left/right lookback bars and zone width
🧱 Order Blocks — Lookback period, minimum move %, volume threshold
📊 Volume POC — Lookback bars and histogram bins
💨 Fair Value Gaps — Minimum gap size %
💧 Liquidity Pools — Lookback and touch tolerance %
⚓ Anchored VWAP — Auto-anchor thresholds and manual catalyst date
⚖️ Scoring — Individual weight controls for all 7 scoring factors
🌍 Asset-Class Adaptation — Override or force Sub-$5 mode
🚨 Warnings — Toggle each of 8 warning types with ATR distance control
🎨 Visual Settings — Top-N zones, adaptive hide, transparency, Simple View toggle
📊 Dashboard — Position, size, show/hide
💰 Trade Plan — Account size, risk %, minimum R:R
🔔 Alerts — Standard or structured JSON for webhook automation
── ALERTS ──
8 alert types:
Any Warning (catch-all)
Sweep Imminent
Regime Shift near Grade-A zone
Trap Suspected (low-volume false breakout)
Zone Approach
Squeeze Detected
Trade Plan — LONG Setup
Trade Plan — SHORT Setup
Enable Structured JSON Alerts to receive webhook-ready payloads with full zone data, regime, warning type, and trade plan details.
── EXTERNAL LIBRARY ──
This script imports Luxy Energy Index (LEI) by OrenLuxy for the momentum classifier. LEI measures move exhaustion using Extension from VWAP, Velocity (5-bar rate of change), and Volume as a modifier.
── IMPORTANT NOTES ──
This indicator is for educational and analytical purposes only . It does not constitute financial advice.
Past zone performance (hit rate, average bounce) does not guarantee future results.
The Trade Plan Generator calculates position sizes mathematically based on user inputs — always verify sizing with your broker before placing orders.
Adaptive weights require 20+ observed bounce/break events to activate. On new charts, base weights are used.
The LEI library requires separate import — the indicator will prompt if not accessible.
── CREDITS ──
Luxy Energy Index (LEI) — OrenLuxy. Exhaustion methodology drawing on academic research by Campbell-Grossman-Wang (1993) on volume-return relationships, ATR normalization by J. Welles Wilder Jr., and standard VWAP methodology.
S/R concepts inspired by VSA (Volume Spread Analysis), SMC (Smart Money Concepts), and classical pivot point theory.
Past performance does not predict future results. This tool is for informational purposes only and does not constitute investment advice. Trading involves substantial risk of loss.
Indicator

Structure Retest Planner [AGPro Series]Structure Retest Planner
🧠 Core Idea
Is the active structure retest being accepted, rejected, or invalidated?
📌 Overview / What it does
Structure Retest Planner is a structure-based trade planning overlay designed to help traders evaluate how price behaves when it returns to an important swing-derived structure rail.
The script maps the active support-side or resistance-side rail, draws a focused retest box around that rail, scores the retest from 0-100, and projects practical invalidation and target guides. The goal is to organize the retest decision process: structure state, score, acceptance, invalidation, and next action.
It does not predict the next move, does not automate trading, and does not turn every swing point into a generic support/resistance signal. It is a decision-support planner for reading acceptance and rejection around a live structure retest.
🎯 Purpose & Design Philosophy
This script was built for traders who use price structure but need a cleaner way to judge whether a retest deserves attention.
Most structure tools identify levels, breaks, or swing labels. Structure Retest Planner focuses on the next decision after a rail is present: is price responding cleanly enough, is invalidation nearby, and what should be reviewed next?
The design supports a planning mindset rather than a signal-chasing mindset. It is meant to make the chart easier to interpret while keeping the trader responsible for context and risk.
⚡ Why This Script Is Different
Most tools focus on plotting structure breaks, BOS / CHoCH labels, or broad support and resistance zones.
This script does NOT clone a BOS / CHoCH detector and does NOT duplicate a first-break retest grader.
Instead, it treats the active structure rail as a planning reference and evaluates acceptance, rejection, volatility fit, trend agreement, invalidation distance, and next-action state in one workflow.
⚙️ Methodology
1. Context Detection
The script confirms swing-derived structure rails using pivot logic and identifies whether the active planning side is support retest, resistance retest, or automatic nearest-rail context.
2. Reference Mapping
It draws a retest box around the active rail, plus an invalidation shelf and target guide. These are planning references, not guaranteed outcomes.
3. Reaction Evaluation
The 0-100 score combines level origin quality, retest response, close location, volatility fit, and trend agreement.
4. Visual Output
The script shows a centered retest-box label, compact event labels, rail/invalidation/target guides, alerts, and a premium AG Pro panel.
🗺️ How to Read the Chart
Zones = the active retest box around the selected structure rail.
Labels = watch, accepted, rejected, invalidated, or risk-review states with optional score and grade.
Colors = teal for support-side acceptance, pink for resistance-side or rejection pressure, yellow for review states, and indigo for planning context.
Panel = structure state, retest score, acceptance state, invalidation shelf, and next action.
🚦 Signals & States
• Retest Watch → price is close enough to the active rail and the score is improving.
• Accepted → price tested the rail and closed constructively on the expected side.
• Ready → acceptance is active and the score reached the ready threshold.
• Rejected → price tested the rail but did not show clean acceptance.
• Invalidated → price closed beyond the invalidation shelf.
• Risk Review → retest behavior exists, but volatility is too hot for clean reading.
🔔 Alerts Logic
Alerts trigger when the script detects a new watch state, accepted retest, high-quality retest review, rejected retest, or invalidation shelf break.
Alerts are attention markers. They are not trade instructions and should always be interpreted with broader market context.
🧩 Confluence Logic
The score improves when the active rail has a cleaner structural origin, price reacts near the rail, the close lands on the expected side, volatility is not overheated, and trend context agrees with the retest side.
When these factors align, the retest context becomes easier to review. When they conflict, the panel shifts toward waiting, context confirmation, risk review, or reset.
📊 When to Use
• Pullbacks toward confirmed swing structure
• Trend continuation retests
• Resistance retests after bearish structure pressure
• Support retests after bullish structure pressure
• Markets where structure rails are visible and not excessively noisy
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy sideways markets
• News-driven volatility spikes
• Markets where pivot structure is too compressed to provide useful rails
• Any situation where the user expects automated entry or exit instructions
🎛️ Key Inputs
• Retest Side → selects Auto, Support Retest, or Resistance Retest.
• Structure Pivot Length → controls how structure rails are confirmed.
• Sensitivity → changes retest-box width and activation behavior.
• Retest Ready Score → sets the minimum score for stronger review states.
• Invalidation Shelf ATR → adjusts the planning invalidation reference.
• Target Guide R Multiple → projects the forward target guide from planning risk.
• Label and Panel Font Size → controls visual readability.
• Panel Location and Theme → adjusts interface placement and style.
🖥️ Interface & Visual Design
The panel is built as a compact planning dashboard with one merged blue AG Pro header row and five decision rows.
The chart visuals are intentionally restrained: one active retest box, centered box text, structure rail, invalidation shelf, target guide, and controlled labels.
The design goal is to make the active retest decision readable without turning the chart into a dense support/resistance map.
🧪 Practical Usage Workflow
1. Read the panel to identify the active structure state.
2. Check whether price is approaching or testing the retest box.
3. Review the retest score and acceptance state.
4. Compare the invalidation shelf and target guide.
5. Use your own broader context before making any decision.
🔍 Interpretation Guidelines
A higher score means the retest is cleaner within the script's rule set. It does not mean price must continue.
Acceptance means the bar closed constructively relative to the rail. Rejection means the rail is not holding cleanly. Invalidation means the planning reference has been crossed and the setup should be reviewed again.
Use the script to organize thinking, not to outsource judgment.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a BOS / CHoCH auto detector
• Not a generic support/resistance zone map
⚠️ Limitations & Transparency
The script uses pivot-based structure, so rails appear only after pivots are confirmed.
Timeframe choice, volatility, liquidity, and symbol behavior can materially change how retests appear.
Fast markets may pass through a rail before the retest can be evaluated cleanly. Sideways markets may create repeated low-quality tests.
🧠 Market Context Notes
Structure retests are easier to interpret when liquidity, trend context, and volatility are aligned.
A clean rail is not enough on its own. The reaction, close location, invalidation distance, and broader environment all matter.
🧾 Use Case Examples
When price returns to a prior support rail and closes back above it with a strong lower wick, the planner may shift from watch to accepted if the score is high enough.
When price tests resistance but closes back below the rail with volatility under control, the planner may mark a cleaner resistance-side review state.
When price closes beyond the invalidation shelf, the planner marks the context as invalidated and the plan should be reset.
🧱 System Philosophy
Structure Retest Planner is part of the AGPro Series decision-engine direction: tools should help traders answer what is valid, how strong it is, where risk is, and what should be reviewed next.
🔐 Non-Promise Statement
No signal from this script guarantees continuation, reversal, or profit.
The output is a structured analytical read, not certainty.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, risk management, and decisions.
This script does not provide financial advice and does not guarantee trading outcomes.
📚 Educational Note
Use the planner to study how structure retests behave across symbols and timeframes, especially how acceptance, rejection, volatility, and invalidation interact.
Indicator

Adaptive Support and Resistance Zones [BigBeluga]🔵 OVERVIEW
Adaptive Support and Resistance Zones is a high-performance technical analysis tool designed to identify, manage, and visualize key supply and demand areas. Unlike static pivot indicators that clutter the chart with every minor high and low, this script employs volatility-adjusted logic (ATR) to ensure only the most significant structural levels are maintained.
The indicator treats support and resistance not as thin lines, but as dynamic zones , accounting for market "noise" and providing a clearer picture of where institutional interest actually lies.
🔵 CONCEPT
Volatility-Aware Detection — Uses ATR-based filtering to qualify pivot points. A level is only created if the price rejection is strong enough relative to current market volatility.
Smart Level Merging — Automatically consolidates levels that are too close to one another, preventing "line spaghetti" and identifying high-confluence zones.
Dynamic Zone Rendering — Visualizes S/R as shaded boxes. The width of these zones adapts to market volatility, providing a realistic representation of supply and demand.
Real-Time Breakout Tracking — Monitors price action in real-time to detect when a level is definitively breached, switching its status from "Active" to "Broken."
Automatic Pruning — Cleans the chart by removing levels that have exceeded a maximum age, ensuring your focus remains on current market structure.
🔵 HOW IT WORKS (IN-DEPTH)
1️⃣ Advanced Swing Detection
The indicator scans for Pivot Highs and Lows based on a user-defined Pivot Length.
The Strength Filter: It applies a "Min ATR Strength" check. For a pivot to be valid, the distance between the pivot point and its immediate neighbors must exceed a mathematical threshold of volatility. This filters out "fake" pivots during low-volume consolidation.
2️⃣ Adaptive Level Management
Merge Logic: Before a new level is drawn, the script checks if an existing level already exists within the "Merge Threshold." If it does, the indicator skips the new level, effectively treating the existing zone as the dominant area of interest.
Active vs. Broken: Levels remain "Active" as solid lines/zones as long as price respects them. Once price closes beyond the level (controlled by Break Sensitivity), the level is moved to the "Broken" category.
Visual Transition: Broken levels can be kept on the chart as muted, dotted lines—a crucial feature for traders who look for "S/R Flip" opportunities (where old resistance becomes new support).
3️⃣ The S/R Dashboard
A dedicated on-screen table provides a birds-eye view of the current structural state.
Nearest Resistance/Support: Displays the exact price of the closest active levels.
Last Break: Identifies the direction of the most recent volatility-confirmed breakout.
Active Counter: Keeps track of how many structural levels are currently being monitored by the system.
🔵 KEY FEATURES
ATR-Based Zone Width: Zones expand and contract based on market volatility, ensuring your stop-loss or entry buffers are mathematically sound.
Price Labels: Optional labels at the end of active lines provide the exact price for quick order entry.
Customizable Break Sensitivity: Define how much "daylight" price needs to show above or below a level before a breakout is confirmed.
Historical Record: Retain a specific number of recently broken levels to identify long-term historical confluence.
Clean Visuals: High-contrast colors for Support (Cyan) and Resistance (Orange), with fully customizable transparency.
🔵 HOW TO USE
Trading the Rejection: Look for price to enter a shaded Support or Resistance Zone. Wait for a reversal candle within the zone for a high-probability entry back toward the mean.
Trading the Breakout: When the "< Break" label appears, it confirms that price has closed beyond the zone with enough momentum to overcome the "Break Sensitivity" threshold.
The S/R Flip: Monitor "Broken" (dotted) levels. If price returns to a dotted Resistance line and treats it as Support, it confirms a structural shift in the market.
Volatility Buffers: Use the vertical height of the Zone Boxes to determine your "No-Trade Zone" or to help place stop-losses outside of the immediate area of market noise.
🔵 CONCLUSION
Adaptive Support and Resistance Zones transforms raw price action into an organized, data-driven roadmap. By automating the detection and management of key levels—while accounting for the ever-changing nature of market volatility—it allows traders to focus on execution rather than manual charting. Indicator

Impulse Follow-Through Quality [AGPro Series]Impulse Follow-Through Quality
🧠 Core Idea
Did the impulse receive enough follow-through to remain valid?
📌 Overview / What it does
Impulse Follow-Through Quality is a chart-first momentum expansion planner built to evaluate what happens after a strong impulse candle appears.
Instead of treating every strong candle as a standalone signal, the script starts a follow-through review window and measures whether price extends, pauses constructively, pulls back too deeply, reaches a target-room guide, or crosses a failure rail. These elements are converted into a 0-100 Impulse Quality score and a clear next-action state.
The script produces an impulse highlight, follow-through box, failure rail, measured target guide, compact labels, alerts, and a clean AGPro planning panel. It does not predict continuation, automate trades, or guarantee that momentum will continue.
🎯 Purpose & Design Philosophy
This script was built for traders who want to separate a meaningful impulse from a candle that only looks strong for one bar.
Many momentum tools focus on the impulse itself. The practical question often comes after that candle: does the move attract follow-through, or does it begin to fail? This planner fills that gap by turning the post-impulse phase into a readable decision process.
The design supports a patient review mindset: identify the impulse, watch the follow-through window, evaluate pullback depth, check target room, and review the failure rail before reacting.
⚡ Why This Script Is Different
Most tools focus on strong candles, volume spikes, momentum bursts, or basic continuation labels.
This script does NOT act as a Volume Climax Detector, does NOT rebuild an Institutional Candle Detector, and does NOT reduce the chart to a simple buy/sell momentum signal.
Instead, it evaluates what happens after the impulse. The key output is not the candle itself. The key output is the follow-through quality state: IMPULSE, WAIT FT, FT WATCH, VALID FT, PULLBACK RISK, WEAK FT, FAILED, or TARGET REVIEW.
⚙️ Methodology
1. Context Detection
The script detects qualified bullish or bearish impulse candles using ATR-normalized range, body efficiency, close location, trend context, and participation.
2. Reference Mapping
Once an impulse qualifies, the script maps the impulse origin, follow-through box, failure rail, and target-room guide.
3. Reaction Evaluation
The model evaluates follow-through progress, closes beyond the impulse close, retracement depth, participation support, target room, and whether price crosses the failure rail.
4. Visual Output
The result is displayed through an impulse highlight, centered follow-through box label, failure rail, target guide, compact labels, deterministic alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Impulse Highlight = the latest qualified impulse leg that starts the review window.
Follow-Through Box = the active planning area between the impulse close and the measured target-room guide. Its label is centered inside the box.
Failure Rail = the practical invalidation reference behind the impulse. It is an analytical line, not a stop order.
Target Guide = a measured target-room reference based on the impulse range.
Labels = compact state markers for impulse start, constructive follow-through, weak follow-through, pullback risk, failure rail review, and target review.
Colors = teal supports constructive long-side follow-through, pink supports short-side or failure context, amber marks review risk, and indigo marks watch states.
Panel = summarizes Impulse Quality, Follow-Through, Pullback Risk, Target Room, and Action.
🚦 Signals & States
• IMPULSE → a qualified impulse candle has started a review window.
• WAIT FT → the impulse exists, but follow-through is not confirmed yet.
• FT WATCH → follow-through conditions are improving but not strong enough for the highest state.
• VALID FT → follow-through quality is constructive according to the rule set.
• PULLBACK RISK → retracement depth is elevated inside the impulse range.
• WEAK FT → the follow-through window is aging without enough progress.
• FAILED → price crossed the failure rail behind the impulse.
• TARGET REVIEW → price reached the measured target-room guide and context should be reviewed.
🔔 Alerts Logic
Alerts can trigger when a new impulse starts, follow-through becomes constructive, follow-through enters watch state, the move weakens, pullback risk rises, price crosses the failure rail, or price reaches the target-room guide.
Each alert is an attention marker. Alerts are not trade instructions, entry commands, exit commands, or automated strategy rules.
🧩 Confluence Logic
The strongest context appears when a clean impulse candle is followed by measurable progress, multiple closes beyond the impulse close, controlled retracement depth, supportive participation, and readable target room.
When these components weaken, the planner can shift toward WAIT FT, FT WATCH, PULLBACK RISK, WEAK FT, or FAILED.
📊 When to Use
• After strong momentum candles where continuation quality matters.
• During trend continuation attempts that need follow-through review.
• After breakout or expansion bars where a one-bar move may be misleading.
• On liquid symbols where ATR, candle structure, and volume behavior are readable.
• When you want a post-impulse planning map instead of another raw momentum signal.
⚠️ When NOT to Use
• Very low-liquidity symbols with unstable candles or unreliable volume.
• Extremely noisy micro-timeframes where impulse candles appear too frequently.
• News-driven spikes where one-bar expansion can distort the model.
• Markets with large gaps that make ATR and failure-rail references less useful.
• Situations where the user expects guaranteed continuation or automated trade signals.
🎛️ Key Inputs
• Follow-Through Side → controls Auto, Long Follow-Through, or Short Follow-Through mode.
• Minimum Impulse ATR → changes how large a candle must be before review begins.
• Minimum Body Efficiency → controls how clean the impulse body must be.
• Minimum Edge Close → controls how near the candle must close to its directional edge.
• Follow-Through Window → controls how many bars are used to judge early continuation.
• Required Progress ATR → defines preferred movement after the impulse close.
• Maximum Pullback Ratio → controls when retracement depth becomes elevated risk.
• Failure Rail Buffer ATR → adjusts the analytical failure rail behind the impulse.
• Visual settings → control the impulse highlight, follow-through box, failure rail, target guide, labels, panel visibility, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The impulse highlight gives the origin. The follow-through box gives the active planning area. The failure rail and target guide define the practical review frame.
The AGPro panel provides a compact decision summary with a merged blue title row, adjustable panel location, adjustable theme, and adjustable font size.
🧪 Practical Usage Workflow
1. Read the panel Impulse Quality score and Action.
2. Check the impulse highlight and the direction of the follow-through box.
3. Review whether price is extending beyond the impulse close.
4. Compare pullback depth with the failure rail.
5. Use the target guide as a context-review reference, not as a guarantee.
6. Treat alerts as attention markers inside broader analysis.
🔍 Interpretation Guidelines
Think in terms of follow-through quality, not prediction.
A higher score means the impulse has more constructive continuation characteristics according to the script's rule set. A weaker score means the move may be aging, retracing too deeply, lacking progress, or crossing its failure reference.
VALID FT does not mean price must continue. FAILED does not mean the market cannot recover later. The states organize the review process.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not an auto-trading system.
• Not a guaranteed signal tool.
• Not a buy/sell signal service.
• Not a Volume Climax Detector.
• Not an Institutional Candle Detector.
• Not a generic momentum oscillator.
⚠️ Limitations & Transparency
The script is rule-based and depends on recent price action, ATR, candle structure, selected inputs, and volume behavior.
Different timeframes can produce different impulse and follow-through readings. Volatility spikes can temporarily distort the score. Symbols with unreliable volume may produce weaker participation readings.
Outputs should always be interpreted with broader market structure, liquidity, and trader-defined risk controls.
🧠 Market Context Notes
Impulse candles are only useful when the market confirms or rejects them through follow-through.
A clean impulse that receives controlled extension may deserve more attention than a larger candle that immediately retraces. A smaller impulse can also become meaningful when the follow-through window stays organized.
🧾 Use Case Examples
When price prints a strong bullish impulse, closes near the high, then follows through with multiple closes above the impulse close while pullback depth remains controlled, the planner may classify the move as VALID FT.
When an impulse appears but price fails to extend, retraces deeply, or crosses the failure rail, the planner may shift toward WEAK FT, PULLBACK RISK, or FAILED.
🧱 System Philosophy
AGPro planning tools are designed to help traders evaluate context before reacting.
This script follows that philosophy by turning impulse follow-through into a structured planning question: did the move receive enough confirmation, progress, and risk clarity to remain worth reviewing?
🔐 Non-Promise Statement
No indicator can guarantee continuation, reversal, breakout success, or outcome.
This tool provides structured visual context and rule-based attention markers. It does not provide certainty.
📉 Risk Disclosure
Trading involves risk.
Market conditions can change quickly, and no script can remove uncertainty.
Users are responsible for their own analysis, risk management, position sizing, and trading decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how strong candles behave after they appear, how follow-through quality changes across timeframes, and how pullback depth affects the readability of momentum continuation.
Indicator

Breakout Retest Readiness [AGPro Series]Breakout Retest Readiness
🧠 Core Idea
Is the post-breakout retest being accepted with structure, or is the breakout losing quality at the risk edge?
📌 Overview / What it does
Breakout Retest Readiness is a chart-first planning tool built to evaluate what happens after a confirmed breakout and after price starts interacting with the retest pocket.
The script maps the broken structure level, builds a retest pocket around it, places a risk-edge shelf beyond the pocket, and projects a target-room guide for context. It then scores the active retest environment with a 0-100 Acceptance Score and displays a clear next-action state in the AG Pro panel.
This script does not predict continuation. It does not automate entries. It is designed to organize post-breakout retest context so traders can review acceptance, rejection, risk edge, and plan quality in a cleaner way.
🎯 Purpose & Design Philosophy
Most breakout tools focus on the moment price crosses a level. In practice, many useful decisions happen after the break, when price returns toward the broken level and either accepts it or fails around it.
This script was built for traders who want a structured retest planning layer rather than another basic breakout marker. It supports a patient workflow: wait for structure, observe the pocket, evaluate acceptance, and review risk before reacting.
The design philosophy is simple: the chart should answer what state the retest is in, how strong the acceptance context is, where risk is being tested, and what the next review step should be.
⚡ Why This Script Is Different
Most tools focus on detecting a breakout or grading the first retest as a standalone signal.
This script does NOT try to clone a classic break-retest quality grader, and it does not print simple buy or sell commands.
Instead, it works as a post-breakout readiness planner. It arms a retest pocket after a confirmed breakout, waits for price to interact with that pocket, evaluates acceptance versus rejection, tracks the risk edge, and keeps the next-action state visible in the panel.
The difference is the decision layer. The script is less about saying "a retest happened" and more about answering whether the active retest environment is constructive enough to keep reviewing.
⚙️ Methodology
1. Context Detection
The script identifies a confirmed break beyond recent structure using a prior high or prior low reference. The breakout must clear the structure by an ATR-normalized buffer so minor pokes are filtered.
2. Reference Mapping
After a valid break, the script stores the breakout line, builds a retest pocket around it, places an invalidation shelf beyond the broken level, and projects a target-room guide from the prior structure range.
3. Reaction Evaluation
When price interacts with the retest pocket, the script evaluates breakout quality, retest depth, wick rejection, volume change, and trend agreement. These components combine into a 0-100 Acceptance Score.
4. Visual Output
The chart shows the active retest pocket, breakout line, risk edge, target guide, compact event labels, and the AG Pro panel. The panel summarizes retest state, acceptance score, breakout quality, risk edge, and action.
🗺️ How to Read the Chart
Retest Pocket = the zone around the broken structure level where price is being evaluated after the breakout.
Breakout Line = the structure level that was crossed and now anchors the retest plan.
Risk Edge = the invalidation shelf beyond the retest pocket. It is a planning reference, not a stop recommendation.
Target Guide = a target-room marker projected from the prior range. It is context only, not a forecast.
Labels = compact state markers such as ARMED, TEST, ACCEPT, REJECT, RISK EDGE, or EXPIRE.
Colors = bullish retest plans use the AGPro teal tone, bearish plans use the AGPro pink tone, watch states use indigo or amber, and risk conditions use red.
Panel = the main decision interface showing retest state, acceptance score, breakout quality, risk edge, and next action.
🚦 Signals & States
• Breakout Armed → a breakout retest plan has been created after price cleared structure.
• Testing Pocket → price is interacting with the active retest pocket and acceptance is being evaluated.
• Accepted Retest → the retest has held the pocket with enough acceptance quality to deserve review.
• Rejected Retest → the retest has failed around the pocket and quality has weakened.
• Risk Edge Hit → price has moved beyond the mapped risk shelf.
• Expired → the retest window aged out before a constructive interaction.
🔔 Alerts Logic
Alerts are available for breakout plan arming, retest pocket interaction, accepted retest readiness, rejected retest or risk-edge pressure, and expired retest plans.
Each alert is an attention marker. Alerts do not represent trade instructions, guaranteed outcomes, or automated strategy decisions.
🧩 Confluence Logic
The strongest acceptance context appears when the breakout quality, retest depth, wick rejection, volume behavior, and trend agreement support the same side.
When these components align, the retest score improves. When the pocket is too deep, volume behavior is poor, trend context disagrees, or the risk edge is pressured, the readiness state weakens.
📊 When to Use
• After clean breakouts from recent structure
• During trend continuation review
• When price returns toward a broken level
• When the trader wants to separate constructive retests from weak post-break reactions
• On liquid symbols where structure, volume, and candle behavior are readable
⚠️ When NOT to Use
• Extremely low-liquidity instruments
• Highly noisy lower timeframes
• News-driven volatility spikes
• Markets with no clear structure reference
• Situations where the breakout level is too close to major external obstruction
🎛️ Key Inputs
• Breakout Structure Lookback → controls the prior structure reference used for breakout detection.
• Maximum Bars To Retest → controls how long the script waits for the retest pocket to matter.
• Sensitivity → adjusts how strict the breakout and acceptance model should be.
• Minimum Acceptance Score → defines the score needed before accepted readiness can appear.
• Retest Pocket Width ATR → controls the width of the post-breakout pocket.
• Invalidation Shelf ATR → controls the mapped risk-edge distance beyond the broken level.
• Target Guide Range Multiple → controls the forward target-room guide.
• Visual Settings → control pockets, lines, labels, label density, label size, and forward rendering.
• Panel Settings → control panel visibility, location, theme, and font size.
🖥️ Interface & Visual Design
The interface is built around a clean AG Pro panel and one main chart object family: the retest pocket.
The pocket label is centered inside the zone so the active state is visible without needing extra clutter. The breakout line, invalidation shelf, and target guide create a simple visual hierarchy: level, risk, and room.
Labels are intentionally compact and controlled by cooldown and maximum-visible settings so the chart remains active without becoming crowded.
🧪 Practical Usage Workflow
1. Read the panel state.
2. Locate the active retest pocket.
3. Check whether price is testing, accepting, rejecting, or pressing the risk edge.
4. Compare the Acceptance Score with the breakout quality.
5. Use the action row as a review prompt, not as an instruction.
🔍 Interpretation Guidelines
The Acceptance Score should be read as context quality, not certainty.
A higher score means the current retest has cleaner structural behavior under the script's rules. A lower score means the retest is less constructive, too deep, poorly supported, or not aligned with trend context.
The Risk Edge matters because a retest can look acceptable for a few bars and still lose structure if price pushes beyond the invalidation shelf. The panel keeps that condition visible.
🚫 What This Script Is NOT
This script is not a prediction engine.
This script is not financial advice.
This script is not an auto-trading system.
This script does not provide guaranteed signals.
This script is not a generic support and resistance map.
This script is not a clone of a first-retest grading tool.
⚠️ Limitations & Transparency
The script is rule-based and depends on the selected lookback, timeframe, and market structure.
Different symbols can produce different retest behavior. Lower timeframes may show more noise. Higher timeframes may produce fewer but stronger events.
Volatility changes can affect pocket size, risk-edge distance, and event frequency. Users should interpret every output within broader market context.
🧠 Market Context Notes
Breakout retests are most useful when structure is clear, liquidity is sufficient, and price has enough room to continue without immediate obstruction.
Volume behavior can add context, but volume data quality varies across markets. When volume is unreliable, the script treats that component more neutrally.
The retest pocket is not a guaranteed support or resistance zone. It is a structured review area around the broken level.
🧾 Use Case Examples
When price breaks above recent structure and later returns to the pocket with a controlled pullback, the script can mark the retest as Testing Pocket or Accepted Retest depending on score quality.
When price breaks below structure but quickly pushes back above the pocket and pressures the mapped risk edge, the script can mark rejection or risk-edge pressure.
When a breakout never returns to the pocket within the selected time window, the script can expire the plan instead of keeping old context alive.
🧱 System Philosophy
AGPro tools are designed to support structured chart reading. The goal is not to add more random signals, but to turn market behavior into clearer states, cleaner context, and better review discipline.
Breakout Retest Readiness follows that philosophy by turning a common post-breakout question into a visible planning workflow.
🔐 Non-Promise Statement
No script can confirm future price direction with certainty.
This tool organizes retest context. It does not promise continuation, reversal, profit, or accuracy.
📉 Risk Disclosure
Trading involves risk.
All outputs from this script are educational and analytical in nature.
Users are responsible for their own decisions, risk management, position sizing, and market interpretation.
This script does not provide financial advice.
📚 Educational Note
Use the script to study how breakouts behave after price returns to the broken level. The most useful insight is often not the breakout itself, but how the market reacts when the level is tested again.
Indicator

Volatility Expansion Planner [AGPro Series]Volatility Expansion Planner
🧠 Core Idea
Is volatility expanding with structure, or is the chart only producing random noise?
📌 Overview / What it does
Volatility Expansion Planner is a chart-first volatility expansion and breakout quality tool built to evaluate whether a release from compression has enough structure to deserve active attention.
Instead of showing another generic expansion signal, the script studies ATR expansion, prior range release, close efficiency, volume support, trend alignment, compression age, and the active risk shelf behind the move. These components are converted into a 0-100 Expansion Score and a clear next-action state.
The script produces an expansion corridor, ATR expansion band, prior range edge, risk shelf, compact quality labels, alerts, and a clean AGPro planning panel. It does not predict future price movement, automate decisions, or guarantee that an expansion will continue.
🎯 Purpose & Design Philosophy
This script was built for traders who want to separate structured volatility expansion from unstable noise.
Many volatility tools identify compression, release, or regime changes, but they often stop before answering the practical planning question: is the expansion clean enough to evaluate, and where is the risk reference if the release fails?
The design philosophy is simple: volatility expansion is only useful when it has structure, confirmation, and a readable risk shelf.
⚡ Why This Script Is Different
Most tools focus on squeeze dots, volatility regime labels, ATR readings, or basic breakout markers.
This script does NOT clone a Squeeze Momentum Indicator, does not rebuild an ATR Compression Map, and does not act as a generic breakout signal.
Instead, it evaluates whether expansion is structurally supported. The main output is not a trade command. It is a planning state that helps users distinguish STRUCTURED expansion from WATCH, RISK REVIEW, NOISE, or WAIT conditions.
⚙️ Methodology
1. Context Detection
The script reads the active expansion side using prior range release and trend context, or lets the user force long-side or short-side expansion planning.
2. Reference Mapping
It maps the prior range edge, current ATR expansion, compression age, risk shelf, and projected expansion corridor.
3. Reaction Evaluation
The model scores ATR expansion, range breakout, close efficiency, volume support, trend alignment, compression maturity, and risk shelf quality.
4. Visual Output
The result is displayed through an expansion corridor, ATR band, range edge, risk shelf, compact labels, deterministic alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Zones = the expansion corridor shows the projected release path from the prior range edge toward a measured target guide. Its label is centered inside the corridor.
Labels = compact state markers show STRUCTURED, WATCH, RISK REVIEW, NOISE, or SHELF CHECK context.
Colors = green highlights cleaner structured expansion, pink highlights unstable expansion risk, amber highlights review conditions, and indigo highlights watch conditions.
Panel = the panel summarizes Expansion Score, Squeeze Age, Confirmation, Risk Shelf, and Action.
🚦 Signals & States
• STRUCTURED → volatility is expanding with range release, confirmation, and a usable risk shelf.
• WATCH → expansion context is improving but confirmation is incomplete.
• RISK REVIEW → expansion is active but the risk shelf is too tight or too wide for clean planning.
• NOISE → volatility is hot or inefficient and may represent unstable movement.
• WAIT → the script does not detect a strong enough expansion context yet.
• SHELF CHECK → price crossed the prior risk shelf and the expansion context should be reviewed.
🔔 Alerts Logic
Alerts trigger when the planner enters STRUCTURED expansion, WATCH state, NOISE state, RISK REVIEW state, or when price crosses the prior risk shelf.
These alerts are attention markers only. They are not trade instructions, entry signals, or automated strategy commands.
🧩 Confluence Logic
The strongest context appears when ATR expands from a prior compressed structure, price closes beyond the prior range edge, candle efficiency is strong, volume support improves, trend alignment agrees with the expansion side, and the risk shelf remains readable.
When these components align, the Expansion Score improves and the state can move from WATCH to STRUCTURED.
📊 When to Use
• Before evaluating volatility expansion after a quiet range
• During breakout or continuation attempts where expansion quality matters
• When price releases from a prior structure but confirmation is uncertain
• When comparing whether an expansion has clean risk context or only noisy movement
• On liquid symbols where range, volume, and ATR behavior are readable
⚠️ When NOT to Use
• Very low-liquidity symbols with unstable candles
• Extremely noisy micro-timeframes
• News-driven spikes where ATR expands abruptly without structure
• Markets where volume is unreliable and price gaps distort the risk shelf
• Situations where the user expects a signal-only entry tool
🎛️ Key Inputs
• Expansion Side → controls Auto, Long Expansion, or Short Expansion mode.
• Prior Range Lookback → controls how the script maps the range edge before release.
• ATR Baseline → controls how current volatility is compared with normal volatility.
• Minimum Squeeze Age → defines how mature compression should be before stronger expansion scoring.
• Risk Shelf Lookback → controls the shelf used behind the expansion for planning context.
• STRUCTURED Threshold → sets the minimum score required for the strongest state.
• Label and Panel Font Size → controls chart labels, corridor text, and panel readability.
🖥️ Interface & Visual Design
The interface is designed to stay chart-first.
The expansion corridor gives the main visual story. The range edge and risk shelf define the practical planning frame. The ATR band adds volatility context without turning the script into a lower-pane oscillator.
The AGPro panel provides a compact decision summary with a merged blue title row and clear state hierarchy.
🧪 Practical Usage Workflow
1. Read the panel state and Expansion Score.
2. Check whether price is releasing from the prior range edge.
3. Review the risk shelf distance and confirmation state.
4. Compare the expansion corridor with broader structure.
5. Treat alerts as attention markers, then evaluate the broader market context.
🔍 Interpretation Guidelines
Think in terms of expansion quality, not prediction.
A stronger score means multiple structural conditions are aligned. A weaker score means expansion may be premature, poorly confirmed, too hot, or difficult to plan around.
RISK REVIEW is especially important because volatility can expand while the practical risk reference remains too tight, too wide, or unclear.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not an auto-trading system
• Not a guaranteed signal tool
• Not a Squeeze Momentum clone
• Not an ATR Compression Map clone
⚠️ Limitations & Transparency
The script is rule-based and depends on recent price, volatility, range, and volume behavior.
Timeframe differences can change how compression and expansion appear. Volatility spikes can temporarily distort the score. Symbols with unreliable volume may produce weaker participation readings.
Outputs should always be interpreted with broader market structure and liquidity context.
🧠 Market Context Notes
Volatility expansion is most useful when it appears after a readable compression phase and respects a clear structural shelf.
Expansion without shelf clarity can still move, but it is harder to plan around. Expansion with poor close efficiency or excessive ATR heat can be noisy even when price breaks a range edge.
🧾 Use Case Examples
When price closes beyond a prior range edge with rising ATR, improved volume support, efficient candle structure, and a defined risk shelf, the planner may classify the move as STRUCTURED.
When ATR expands sharply but candles close poorly and the shelf is too far away, the planner may classify the context as NOISE or RISK REVIEW.
🧱 System Philosophy
AGPro planning tools are designed to help traders evaluate context before reacting.
This script follows that philosophy by turning volatility expansion into a structured planning question: Is the release clean, confirmed, and readable enough to deserve attention?
🔐 Non-Promise Statement
No indicator can guarantee continuation, reversal, or follow-through.
This tool provides structured visual context and rule-based attention markers. It does not provide certainty.
📉 Risk Disclosure
Trading involves risk. Market conditions can change quickly, and no script can remove uncertainty.
Users are responsible for their own analysis, risk management, and decisions.
This script is for educational and analytical use only and does not provide financial advice.
📚 Educational Note
Use the planner to study how volatility behaves after compression, how expansion quality changes across timeframes, and how risk shelf clarity affects the readability of a move.
Indicator

Pre-Breakout Pressure Planner [AGPro Series]Pre-Breakout Pressure Planner
🧠 Core Idea
Is pressure building before a breakout, or is the setup still premature?
📌 Overview / What it does
Pre-Breakout Pressure Planner is a chart-first breakout readiness tool designed to evaluate pressure before price leaves a range.
The script maps an active pressure box, upper and lower trigger corridors, directional buildup side, volume support, fakeout-risk context, invalidation reference, and target-room projection. These factors are converted into a 0-100 Pressure Score with a clear next-action state such as Bull Pressure, Bear Pressure, Coil Watch, Premature, Fakeout Risk, or Trigger Review.
It does not predict breakouts, automate entries, or confirm post-breakout acceptance. It is built to help traders organize the pre-breakout decision process before reacting to price movement.
🎯 Purpose & Design Philosophy
This script was built for traders who want to evaluate whether a breakout setup is becoming valid before the breakout actually happens.
Many traders notice a range only after price has already moved. This tool focuses on the earlier planning phase: Is the range compressed? Is one side applying pressure? Is volume supportive? Is the candle behavior constructive? Is there fakeout risk near the boundary?
The design supports a planning mindset. It helps the user read pressure quality, risk location, target room, and next-action context without turning the chart into a generic signal board.
⚡ Why This Script Is Different
Most breakout tools focus on the moment price breaks a level.
This script does NOT focus on post-breakout confirmation, measured move corridors, generic support/resistance boxes, or simple buy/sell labels.
Instead, it evaluates the setup before the break. The core question is whether pressure is building in a structured way or whether the range is still too early, too wide, too weak, or vulnerable to a fakeout.
This keeps the concept separate from consolidation breakout tools. The purpose is not to grade a completed breakout. The purpose is to organize the pre-breakout readiness window.
⚙️ Methodology
1. Context Detection
The script builds a live pressure range from prior bars and evaluates whether price remains inside the active box, probes a boundary, or enters a trigger corridor.
2. Reference Mapping
It maps the pressure box, upper trigger corridor, lower trigger corridor, active-side invalidation reference, and projected target-room reference.
3. Reaction Evaluation
The model scores range compression, higher-lows or lower-highs buildup, relative volume behavior, candle pressure, and close location inside the box.
4. Visual Output
The script displays the active pressure box, centered status label, trigger corridors, optional risk/target guides, compact event labels, alerts, and a premium AGPro panel.
🗺️ How to Read the Chart
Pressure Box = the active range where pre-breakout pressure is being evaluated.
Trigger Corridors = narrow upper and lower zones where breakout review becomes relevant.
Risk / Target Guides = active-side invalidation and target-room references used for planning context.
Labels = compact state markers showing pressure, watch, fakeout risk, or trigger-review context.
Colors = teal supports bullish buildup, pink supports bearish buildup, amber marks neutral or developing pressure, and red marks elevated fakeout risk.
Panel = summarizes Pressure Score, Buildup Side, Volume Support, Fakeout Risk, Risk / Target, and Action.
🚦 Signals & States
• Bull Pressure → bullish buildup is forming inside the pressure box near the upper trigger context.
• Bear Pressure → bearish buildup is forming inside the pressure box near the lower trigger context.
• Coil Watch → compression or pressure exists, but the directional side is not clear enough yet.
• Premature → the setup does not yet meet the pressure score or structural requirements.
• Fakeout Risk → a boundary probe appears with weak support, poor candle pressure, or elevated rejection risk.
• Trigger Review → price has entered or crossed a trigger corridor and deserves context review.
🔔 Alerts Logic
Alerts can trigger when bullish pressure appears, bearish pressure appears, fakeout risk appears, or price enters trigger-review context.
Each alert is an attention marker. Alerts are not trade instructions, entry commands, exit commands, or automated strategy rules.
🧩 Confluence Logic
The strongest pressure read appears when multiple conditions align:
Range compression + directional buildup + supportive relative volume + constructive candle pressure + close location near the active trigger side.
When these conditions weaken, the planner can shift toward Coil Watch, Premature, or Fakeout Risk.
📊 When to Use
• Before evaluating a potential range breakout.
• During tight ranges where pressure may be building on one side.
• Around breakout watchlists where fakeout risk needs context.
• During volatility compression before expansion attempts.
• On liquid symbols where ATR, range boundaries, and relative volume are meaningful.
⚠️ When NOT to Use
• Extremely low-liquidity symbols with unreliable candles or volume.
• Very noisy micro-timeframes where range boundaries change too often.
• News-driven volatility spikes where pre-breakout pressure can distort quickly.
• Markets where the recent range is too wide to represent meaningful compression.
• As a standalone reason to enter or exit a trade.
🎛️ Key Inputs
• Pressure Range Lookback → controls the prior range used to build the active pressure box.
• Buildup Slope Lookback → controls how the script measures rising lows or falling highs.
• Sensitivity → changes how strict the compression model is.
• Minimum Pressure Score → sets the score needed for Bull Pressure or Bear Pressure states.
• Volume Support Level → defines constructive relative volume before breakout.
• Trigger Corridor ATR Width → controls the size of the upper and lower trigger corridors.
• Invalidation Buffer ATR → controls the active-side invalidation reference.
• Target Room Multiple → projects target-room context from the pressure range height.
• Visual settings → control boxes, guides, labels, panel visibility, panel location, theme, and font sizes.
🖥️ Interface & Visual Design
The interface is designed to be chart-first.
The main visual object is the active pressure box with a centered status label. Trigger corridors are narrow and controlled so the chart does not become a generic zone map. Event labels are compact, offset away from candles, and limited by cooldown and maximum-visible settings.
The AGPro panel follows the standard publication layout with a single merged blue title row, adjustable panel location, adjustable theme, and adjustable font size.
🧪 Practical Usage Workflow
1. Read the panel Pressure Score and Action.
2. Check whether the pressure box is tight or still too wide.
3. Review the Buildup Side and Volume Support rows.
4. Check whether Fakeout Risk is Low, Moderate, or Elevated.
5. Compare the active trigger corridor with invalidation and target-room context.
6. Treat labels and alerts as attention markers inside broader analysis.
🔍 Interpretation Guidelines
A high Pressure Score means the pre-breakout setup is more organized according to the script's rule set. It does not mean price must break out.
Bull Pressure and Bear Pressure describe directional buildup, not guaranteed direction.
Fakeout Risk means the boundary behavior deserves caution and context review. It does not mean a breakout cannot continue later.
Trigger Review means price is interacting with a corridor. It is a review state, not a command.
🚫 What This Script Is NOT
• Not a prediction engine.
• Not financial advice.
• Not auto trading.
• Not guaranteed signals.
• Not a buy/sell signal service.
• Not a post-breakout confirmation engine.
• Not a generic support/resistance zone map.
• Not an order-block, FVG, or supply/demand scanner.
⚠️ Limitations & Transparency
The script depends on selected lookback values, ATR normalization, relative volume behavior, and current timeframe.
Different symbols may compress differently. Some markets can show pressure for a long time before expansion. Others may probe a boundary and return inside the range several times.
The model is rule-based. Outputs should always be interpreted with broader structure, volatility, liquidity, and trader-defined risk controls.
🧠 Market Context Notes
Pre-breakout pressure is useful because the quality of a range can change before the breakout candle appears.
Rising lows can show pressure toward the upper boundary. Falling highs can show pressure toward the lower boundary. Volume support and candle pressure help judge whether that buildup is constructive or weak.
The script organizes these factors into a clean planner view so the user can decide whether the setup deserves attention, patience, or caution.
🧾 Use Case Examples
When price remains inside a tight range and the panel shifts to Bull Pressure with supported volume, the upper trigger corridor becomes the main review area.
When price presses into a boundary but the panel shows Elevated Fakeout Risk, the user can recognize that the probe may be weak or vulnerable to rejection.
When the score stays low and the state remains Premature, the range may need more time before it deserves attention.
🧱 System Philosophy
Pre-Breakout Pressure Planner follows the AGPro decision-engine approach: a script should help traders evaluate setup quality, risk, target room, and next action without promising an outcome.
The goal is not to add another signal. The goal is to improve the quality of the planning process before the chart forces a decision.
🔐 Non-Promise Statement
No script can guarantee direction, continuation, breakout success, or outcome.
This tool provides structured pre-breakout context only.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, risk controls, position sizing, and trading decisions.
This script does not provide financial advice, investment advice, or guaranteed trading outcomes.
📚 Educational Note
Use the script to study how pressure builds inside ranges before breakout attempts.
The strongest learning value comes from comparing the panel state, pressure box, trigger corridors, and fakeout-risk labels with the broader chart context.
Indicator

Reward Room Analyzer [AGPro Series]Reward Room Analyzer
🧠 Core Idea
Does the chart offer enough clean reward room before the next major obstacle?
📌 Overview / What it does
Reward Room Analyzer is a chart-overlay planning tool designed to evaluate whether the current price area has enough practical space before the next meaningful obstacle.
Instead of projecting a take-profit ladder or calculating position size, the script studies the distance from current price to the nearest target-side obstacle, the opposite invalidation reference, room-to-risk ratio, trend support, clean-air structure, and volatility fit. These inputs are converted into a 0-100 Reward Room Score with a clear state such as Open Room, Watch Room, Thin Room, Blocked Path, Risk Heavy, or No Room.
The script produces a forward reward room corridor, nearest obstacle rail, invalidation reference rail, compact chart labels, alert conditions, and a clean AGPro planning panel. It does not predict price movement, automate execution, or promise that any target will be reached.
🎯 Purpose & Design Philosophy
This script was built to solve a common planning problem: a setup can look attractive, but the path ahead may already be blocked by nearby structure, poor room-to-risk, or excessive invalidation distance.
Reward Room Analyzer helps traders review the quality of the space ahead before treating a setup as actionable. It supports a planner mindset: check the available room, identify the obstacle, compare room against risk, and then decide whether the chart deserves more attention.
It is designed for traders who care about trade planning, target path quality, risk awareness, and cleaner decision structure rather than another generic signal marker.
⚡ Why This Script Is Different
Most tools focus on drawing take-profit levels, R-multiple ladders, Fibonacci extensions, or basic risk/reward boxes.
This script does NOT build a TP ladder, position-size calculator, profit tracker, or entry signal system.
Instead, it asks a narrower decision question: is there enough clean reward room before the next obstacle, or is the path already too thin, blocked, or risk-heavy?
⚙️ Methodology
1. Context Detection
The script selects the active target side using Auto Side, Long Room, or Short Room. Auto Side weighs trend support and available room.
2. Reference Mapping
It maps confirmed obstacle pivots, the nearest target-side rail, the opposite invalidation reference, and ATR-normalized reward room.
3. Reaction Evaluation
It scores the room using distance to obstacle, room-to-risk ratio, clean-air structure, trend agreement, risk distance, and volatility fit.
4. Visual Output
It displays the active reward corridor, centered corridor label, obstacle/invalidation rails, compact labels, alerts, and an AGPro panel.
🗺️ How to Read the Chart
Reward Room Corridor = the forward space between current price and the nearest target-side obstacle.
Nearest Obstacle Rail = the first meaningful structural barrier in the selected target direction.
Invalidation Reference = the opposite-side reference used to estimate risk distance.
Labels = compact state markers showing the current reward-room condition and score.
Colors = teal and indigo suggest stronger room quality, amber suggests caution, and pink/red suggests weak or blocked room.
Panel = summarizes reward score, reward room, obstacle, room-to-risk, target side, and next action.
🚦 Signals & States
• Open Room → reward room is wide enough, room-to-risk is acceptable, and risk is not excessive.
• Watch Room → context is acceptable but not strong enough for the open-room state.
• Thin Room → the nearest obstacle is too close.
• Blocked Path → room-to-risk is weak relative to the invalidation reference.
• Risk Heavy → invalidation distance is too large compared with the available room.
• No Room → conditions are not strong enough for planning attention.
🔔 Alerts Logic
• Open Reward Room → triggers when the script enters the Open Room state.
• Watch Reward Room → triggers when watchable room appears without reaching Open Room.
• Blocked Reward Path → triggers when room-to-risk becomes structurally blocked.
• Thin Reward Room → triggers when the nearest obstacle is too close.
• Risk Heavy Room → triggers when invalidation distance is heavy relative to room.
Alerts are attention markers. They are not trade instructions.
🧩 Confluence Logic
Reward room quality improves when the target-side distance, room-to-risk ratio, clean-air structure, trend agreement, balanced risk distance, and stable volatility align.
The strongest read appears when the corridor is visibly open and the panel confirms sufficient room with a strong score.
Indicator

Weekly Open Reaction Map [AGPro Series]Weekly Open Reaction Map
🔹 OVERVIEW
Weekly Open Reaction Map is a focused weekly open overlay built for traders who use the current weekly open as a higher-timeframe anchor.
The weekly open is one of the simplest and most widely watched reference levels on a chart. Many traders mark it manually, but a plain horizontal line does not show whether price is accepting above it, losing it, reclaiming it, or repeatedly reacting through the same area. This script turns the weekly open into a structured reaction map.
The script plots the current weekly open, builds an adaptive reaction band around it, detects accepted behavior above or below the level, marks selective reclaim and loss events, and summarizes the active state in a compact dashboard.
The goal is clarity:
How is price reacting around the current weekly open?
This is not a broad level engine. It is not a full weekly range dashboard. It is not a prior high or prior low tool. It is not a session-open model. It is a single-anchor weekly open reaction framework designed to keep the chart clean while adding practical context.
🔹 WHAT MAKES IT DIFFERENT
Weekly Open Reaction Map is built around one level only: the current weekly open.
Instead of plotting a large set of reference prices, the script focuses all of its logic on the active weekly open and asks whether price is above it, below it, reclaiming it, losing it, or still testing the reaction area.
Key differentiators:
• Single-anchor design centered only on the current weekly open
• Adaptive reaction band instead of a fragile one-tick line
• Acceptance-side model using sustained closes beyond the band
• Reclaim and loss labels designed to stay selective by default
• Concept-native rectangular reaction zones around confirmed weekly open behavior
• Compact panel showing distance, acceptance side, active-week reaction count, weekly bias, and last event
• Cleaner default visual mode tuned for 1H, 4H, and 1D public-chart presentation
• Optional initial acceptance events for users who want more context
The script is intentionally restrained. It does not try to become a full market structure suite. Its value comes from making one simple, popular, and highly searchable level more readable.
🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS
This script was designed to stay separate from existing AGPro public concepts.
It does not overlap with Daily Open Acceptance Map because this script does not reset around the daily open. The weekly open carries context across several trading days, so the logic is built around a multi-day weekly anchor rather than an intraday daily reference.
It does not overlap with Reference Price Operating Map because this script does not compare multiple reference prices. There is no multi-reference framework here. The weekly open is the only operating level.
It does not overlap with Session Reaction Map because this script does not evaluate Asia, London, New York, or session-start behavior. It continuously follows the active week and reads how price behaves around the weekly open over time.
It does not overlap with PDH PDL PWH PWL Engine because this script does not plot previous day highs, previous day lows, previous week highs, previous week lows, or active range corridors. It avoids becoming a prior-period high/low engine.
It does not overlap with generic support and resistance scripts because its boxes are not derived from swing pivots, historical ranges, or broad supply-demand zones. The reaction zones exist only when weekly open behavior is confirmed.
The scope is narrow by design:
Current weekly open.
Acceptance.
Reclaim.
Loss.
Reaction zones.
Weekly bias.
⚙️ METHODOLOGY
The script reads the current weekly open from the weekly timeframe and projects it onto the active chart.
Around that weekly open, it builds a reaction band. This prevents the script from treating the weekly open as an unrealistically perfect single price. The band can be sized by:
• ATR for volatility-adjusted behavior
• Percent for proportional market structure
• Ticks for fixed instrument precision
The acceptance model checks whether price can sustain closes beyond the reaction band. A single close is not enough by default. The user can define how many consecutive closes are required before the script recognizes accepted behavior.
The engine then tracks which side of the weekly open has been established during the active week.
A weekly open reclaim is detected when price had already traded below the weekly open context and then confirms acceptance back above the level after a recent band interaction.
A weekly open loss is detected when price had already traded above the weekly open context and then confirms acceptance below the level after a recent band interaction.
Optional initial acceptance events can also be enabled. These show which side of the weekly open became dominant first after a new week begins. They are disabled by default so the public chart remains cleaner and more focused on reclaim/loss transitions.
Confirmed events can create rectangular reaction zones. These zones preserve the weekly open area where the reaction was confirmed and project it forward for context. They are concept-native zones, not generic support/resistance boxes.
📊 PANEL
The panel gives a fast read of the active weekly open condition.
Distance
Shows how far current price is from the weekly open, including a percent reading.
Acceptance Side
Shows whether price is accepted above the weekly open, accepted below it, or still testing the weekly open band.
Reaction Count
Counts confirmed weekly open reactions for the active week. The panel uses active-week logic, while visual label limits keep historical charts clean.
Weekly Bias
Summarizes the current weekly open state as Bullish Control, Bearish Control, or Neutral Test.
Last Event
Shows the latest confirmed weekly open event, such as WO Reclaim, WO Loss, WO Accept +, or WO Accept -.
The panel includes adjustable location, theme, and font size controls. The first panel row follows the AGPro standard: a single merged blue header row containing only the script name.
🎛️ KEY INPUTS
Show Weekly Open Line
Controls whether the current weekly open line is displayed.
Weekly Open Line Width
Controls the visual weight of the weekly open reference line.
Reaction Band Width Mode
Choose ATR, Percent, or Ticks to define the width of the weekly open reaction area.
ATR Width Multiplier
Controls volatility-adjusted band width when ATR mode is selected.
Percent Width
Controls proportional band width when Percent mode is selected.
Tick Width
Controls fixed band width when Ticks mode is selected.
Acceptance Confirmation Bars
Defines how many consecutive closes are required before price is treated as accepted above or below the weekly open band.
Recent Touch Window
Requires confirmed events to occur near a recent weekly open band interaction.
Show Active Weekly Open Band
Displays the live weekly open reaction corridor.
Show Confirmed Reaction Zones
Draws extended boxes around confirmed weekly open reclaim, loss, or optional initial acceptance behavior.
Reaction Zone Extension Bars
Controls how far confirmed weekly open reaction zones project forward.
Maximum Reaction Zones
Limits the number of historical zones shown on the chart.
Show Reclaim / Loss Labels
Displays selective weekly open reclaim and loss labels.
Show Initial Acceptance Events
Allows first-side weekly open acceptance events to create labels and zones. Disabled by default for a cleaner public view.
Minimum Bars Between Labels
Controls cross-week spacing between event labels, helping avoid historical label clusters.
Maximum Event Labels
Limits visible historical event labels for a cleaner chart.
Label Offset ATR
Moves labels away from candles so they stay readable.
Label Font Size
Controls event label size. Normal is the default.
Panel Location
Moves the dashboard to the preferred chart location.
Panel Theme
Selects Dark, Light, or Auto panel styling.
Panel Font Size
Controls dashboard text size. Normal is the default.
🔍 HOW TO READ IT
Start with the weekly open line.
If price is above the line and the panel shows Above WO, the market is currently accepting above the weekly open band.
If price is below the line and the panel shows Below WO, the market is currently accepting below the weekly open band.
If the panel shows Testing WO, price is still close enough to the reaction band that the weekly open has not resolved clearly.
WO Reclaim
This label means price previously moved below the weekly open context and later confirmed acceptance back above it.
WO Loss
This label means price previously held above the weekly open context and later confirmed acceptance below it.
Reaction Zones
These boxes highlight the weekly open area where a confirmed reaction occurred. They can act as visual memory zones for later retests, pauses, or renewed pressure around the same weekly anchor.
Weekly Bias
The bias reading is not a standalone trade call. It is a context label that tells whether the active week is currently being controlled above the weekly open, below the weekly open, or still near the test area.
Reaction Count
This helps identify whether the week has been clean and directional or has already produced several confirmed weekly open reactions.
🧩 BEST USE CASES
Weekly open context
Use the script to understand whether the active week is being accepted above or below its opening level.
Reclaim tracking
Use WO Reclaim labels to identify when price regains the weekly open after trading below it.
Loss tracking
Use WO Loss labels to identify when price gives up the weekly open after previously holding above it.
Multi-timeframe planning
Use the weekly open as a higher-timeframe anchor while viewing 1H, 4H, or 1D charts.
Clean chart workflow
Use the script when you want one important weekly reference instead of a crowded stack of levels.
Reaction-zone review
Use projected boxes to remember where meaningful weekly open reactions were confirmed.
Public chart publishing
Use the default settings for cleaner PulseWire screenshots and a more premium chart layout.
🧠 VISUAL DESIGN PHILOSOPHY
The design philosophy is premium restraint.
The weekly open should be easy to identify, but it should not dominate the chart. Labels should be useful, but not constant. Zones should preserve meaningful reaction areas, but not turn the screen into a grid of boxes.
The default settings are intentionally cleaner:
• Initial acceptance events are off by default
• Reclaim and loss behavior remains the primary visible story
• Label spacing works across weeks, not only inside one week
• Historical label and zone limits are conservative
• The panel uses a compact AGPro dashboard style
• The active weekly open band is visible without overwhelming candles
This helps the script remain practical on 1H, 4H, and 1D views while still giving the chart enough structure to feel complete.
🔔 ALERTS
The script includes alert conditions for key weekly open events:
Weekly Open Reclaim
Triggers when price confirms a reclaim of the weekly open after previously trading below the weekly open context.
Weekly Open Loss
Triggers when price confirms a loss of the weekly open after previously trading above the weekly open context.
Weekly Open Accepted Above
Triggers when price confirms acceptance above the weekly open band.
Weekly Open Accepted Below
Triggers when price confirms acceptance below the weekly open band.
These alerts are designed for context awareness around the weekly open. They are not intended to replace a complete trading plan or broader market review.
🔹 LIMITATIONS AND TRANSPARENCY
Weekly Open Reaction Map is intentionally focused on one reference level. It does not attempt to map every support/resistance area on the chart.
The script does not include previous day highs, previous day lows, previous week highs, previous week lows, session opens, daily opens, volume profile levels, swing pivots, or order-flow data.
Because the weekly open can behave differently across assets and timeframes, users may need to adjust the reaction band width, confirmation bars, and label spacing for their market.
On very low timeframes, labels can appear more frequently if sensitivity is increased. On higher timeframes, fewer but more meaningful events are expected.
The weekly bias panel is a context tool. It describes the current relationship between price and the weekly open; it does not predict future price movement.
The script is built to stay clean, transparent, and focused. Its strength is not feature volume. Its strength is making one widely used weekly reference level easier to read.
✅ IDEAL USER
This script is ideal for traders who:
• Use the weekly open as a key higher-timeframe reference
• Want a cleaner way to read weekly open acceptance, reclaim, and loss
• Prefer focused tools over crowded multi-level dashboards
• Trade crypto, forex, indices, or liquid stocks where the weekly open is actively watched
• Use 1H, 4H, or 1D charts for market context
• Want reaction zones without turning the chart into a generic support/resistance map
• Publish or review PulseWire charts and need a clean visual presentation
• Prefer structured context over excessive labels and visual noise
Weekly Open Reaction Map is built for traders who want the weekly open to become more than a line. It turns that level into a readable acceptance and reaction framework while keeping the chart professional, restrained, and publication-ready. Indicator

Breakout Volume Quality [AGPro Series]Breakout Volume Quality
🔷 OVERVIEW
Breakout Volume Quality is a chart-overlay indicator built to answer one specific question:
When price breaks a defended level, did that break carry real participation quality, or was it only a low-conviction move beyond the line?
Many breakout tools detect the level break itself. This script goes one layer deeper. It evaluates the breakout candle through relative volume, body efficiency, close location, distance beyond the broken level, expansion versus ATR, and the quality of the underlying support-resistance range. The output is a clean 0-100 breakout volume quality score, a visual confirmation band, a compact event label, and a retest state panel.
The goal is not to mark every possible breakout. The goal is to separate a cleaner participation-backed break from a weak level poke that deserves less visual attention.
🔹 CORE IDEA
A breakout is more useful when price does more than cross a line.
Breakout Volume Quality looks for a sequence:
1. A support or resistance reference is built from repeated pivot interaction.
2. Price closes beyond that defended level by an ATR-adjusted buffer.
3. The breakout candle is graded for relative volume participation.
4. Candle structure is checked for efficient body control and directional close quality.
5. The move is measured against ATR to understand displacement and expansion.
6. Confirmed events project a forward confirmation band.
7. The script then tracks whether the broken level produces a clean retest hold, expires, or fades back inside.
This creates a more complete event map than a simple arrow above or below a candle.
💠 UNIQUE EDGE
The edge of this script is the "volume verdict" layer.
It does not simply ask whether price broke resistance or support. It asks whether the break showed enough participation quality to deserve confirmation.
That distinction matters because visually similar breakouts can behave very differently:
- A break with elevated relative volume, strong body efficiency, and a close near the directional extreme usually communicates cleaner participation.
- A break with low relative volume, wick-heavy structure, and a weak close beyond the level may be more fragile.
- A move that breaks, confirms, and later holds the band is visually different from a move that immediately fades back inside.
Breakout Volume Quality turns those differences into a readable score and a structured chart layer.
🔶 WHAT MAKES IT DIFFERENT FROM OTHER AGPRO BREAKOUT TOOLS
This script was intentionally designed to avoid overlapping with the existing AGPro breakout family.
It is not a Donchian breakout tool.
It does not revolve around a rolling channel high or low as the main concept. The level reference comes from defended pivot interaction, and the main evaluation is the volume quality of the break.
It is not an Inside Bar breakout tool.
It does not require a parent candle compression pattern. The script can evaluate broader defended levels rather than only inside-bar structures.
It is not an Opening Range breakout tool.
There is no session opening window, no locked opening range, and no session-specific model.
It is not an ATR Envelope breakout tool.
It does not treat a dynamic volatility envelope as the breakout boundary. ATR is used for normalization, buffers, bands, and score scaling.
It is not a Break-Retest quality tool.
The retest state is included for workflow context, but the core score is assigned to the breakout candle and its participation quality. The first retest is not the central scoring event.
It is not a Failed Break or trap-reclaim tool.
Weak breaks are faded as failed confirmations, but the script does not rebuild the event into a reversal or reclaim model.
It is not a general RVOL pressure map.
Relative volume is used specifically to validate level breaks, not to classify all candles into broad pressure states.
This gives Breakout Volume Quality its own clear lane: breakout participation quality around defended levels.
📌 VISUAL COMPONENTS
Breakout Line
The broken level is extended forward so the user can see the exact structural reference being tested.
Decision Rails
Eligible defended support and resistance references are displayed as subtle forward rails. These rails keep the chart active while price is building around a level, without turning the script into a generic support-resistance map.
Volume Build-Up Windows
Compact boxes labeled BULL SETUP or BEAR SETUP can frame areas where price is building volume pressure near an eligible breakout level before confirmation. These windows are concept-native: they show pre-breakout participation pressure, not generic support-resistance zones.
Optional Advanced Layers
RVOL approach marks, quality candle glow, and pressure trail points are available for users who want more activity on the chart, but they are disabled by default so the main public view remains easy to read.
Confirmation Band
A rectangular band is projected around the broken level. Confirmed events use stronger visual emphasis, while weak confirmations are faded so the chart keeps important context without becoming noisy.
Failed-Confirmation Fade
When price breaks a level but fails the volume, score, candle structure, or close-quality model, the event can still be shown as a softer failed confirmation band. Cleaner weak confirmations can also print WEAK UP or WEAK DOWN labels through a minimum-score filter, so the chart gains more context without labeling every low-quality break.
Retest Hold Label
After a confirmed breakout, the script watches the band for a clean hold. A retest hold is labeled only once so the chart remains controlled.
Summary Panel
The panel displays the current breakout side, volume confirmation, expansion, retest state, and score. It is designed for quick chart reading without covering the price action.
⚙️ SCORING MODEL
The score is built from six components:
Relative Volume
Measures whether current participation is meaningfully above its volume baseline.
Body Efficiency
Measures how much of the candle range is represented by the real body.
Directional Close Location
Checks whether the candle closes toward the breakout side of its own range.
Break Distance
Measures how far the close finishes beyond the broken level in ATR terms.
Expansion
Measures the breakout candle range relative to ATR.
Range Quality
Rewards levels that come from a more defined structure rather than a loose oversized range.
Together, these components produce a transparent 0-100 score and a grade-style readout.
🧭 HOW TO USE
Use the script to study whether a breakout has participation quality.
A stronger event usually has:
- A clean close beyond the level.
- Relative volume above the confirmation threshold.
- A body-dominant candle.
- A close near the breakout-side extreme.
- Meaningful ATR-normalized displacement.
- A confirmation band that later holds during a retest.
A weaker event may show:
- Low relative volume.
- A wick-heavy breakout candle.
- A close barely beyond the level.
- Fast return back inside the broken structure.
- A faded failed-confirmation label instead of a confirmed event.
The script is best used as a structured chart-reading layer. It helps organize breakout quality, but it is not a complete trading system by itself.
🔷 KEY INPUTS
Pivot Strength
Controls how support and resistance references are confirmed.
Minimum Level Touches
Requires repeated interaction before a level becomes eligible.
Level Match Tolerance ATR
Groups nearby pivots into one defended level.
Close Beyond Level ATR
Controls how decisive the break must be beyond the level.
RVOL Confirmation Threshold
Defines the participation level required for volume confirmation.
Minimum Body Efficiency
Filters weak, wick-heavy breakout bars.
Directional Close Location
Requires the candle to close toward the breakout side.
Minimum Score To Confirm
Controls how selective confirmed breakout labels should be.
Confirmation Band ATR
Sets the height of the projected band around the broken level.
Retest Watch Window
Defines how long the script watches for a clean retest hold.
Panel Location / Theme / Font Size
Allows the panel to be adapted to different chart layouts.
Label Font Size / Label Offset
Keeps labels readable and away from candle bodies.
🔶 BEST USE CASE
Breakout Volume Quality works best when the chart has visible defended levels and the user wants a cleaner way to judge whether the break had enough participation behind it.
It is especially useful for:
- Breakouts through repeated swing highs or swing lows.
- Range exits where volume quality matters.
- Comparing strong break candles against weak level pokes.
- Reviewing whether a breakout level later behaves as a confirmation band.
- Keeping weak break attempts visible without giving them the same visual weight as confirmed events.
The script is intentionally restrained: no oversized dashboard, no heavy channel system, no session dependency, and no unnecessary signal spam. The chart stays focused on the level, the break, the volume verdict, and the retest state.
🔹 ALERTS
The script includes alert conditions for:
- Bullish breakout volume confirmation.
- Bearish breakout volume confirmation.
- Breakout failed volume confirmation.
- Breakout retest hold.
- Breakout failed back inside.
These alerts are event prompts for chart review and workflow organization.
💎 DESIGN PHILOSOPHY
Breakout Volume Quality is built to feel clean, premium, and practical on a public PulseWire chart.
The visual hierarchy is deliberate:
- Confirmed breaks are visible but not loud.
- Cleaner weak confirmations are faded and labeled through a score filter, while low-quality weak breaks stay visually softer.
- Decision rails keep active levels visible between major events.
- Labeled setup windows explain where pre-breakout volume pressure is forming.
- Optional activity layers are available, but the default chart does not rely on unlabeled dots.
- Bands are long enough to make the level meaningful.
- Retest labels appear only when the state actually changes.
- The panel stays compact and focused on the fields that matter.
The result is a breakout tool that is easy to understand at first glance, but still has enough structure underneath to support serious review.
Indicator

Premarket High/Low - KermezHere's a description you can paste into PulseWire's publish form. It follows their publication guidelines (clear explanation, no vague claims, no promotion) and is structured how experienced publishers format theirs.
---
**Premarket High/Low**
This indicator tracks the highest high and lowest low made during the US equity premarket session (04:00–09:00 ET by default) and projects those two levels as horizontal lines across the regular trading session (09:30–16:00 ET). Many traders use premarket extremes as intraday support and resistance — breaks above the PM high or below the PM low often coincide with momentum moves during regular hours.
**How it works**
During premarket, the script records the running high and low of that window. Once premarket closes at 09:00, the levels lock in and are drawn as horizontal lines that extend through to the 16:00 close. Lines do not carry over past the close — each trading day gets its own fresh PM range.
**Features**
- Timezone-aware session detection — works correctly regardless of your chart timezone (default America/New_York, configurable to major exchange zones).
- Live range building during premarket so you can watch the levels form in real time.
- Projected horizontal lines from 09:00 to 16:00, drawn even before the current bar catches up to 16:00.
- Labels at the regular-session open showing the exact PM high and PM low prices.
- Optional premarket background tint to visually highlight the session window.
- Two built-in alert conditions: **Break above Premarket High** and **Break below Premarket Low**, both restricted to regular trading hours so you aren't woken up by overnight prints.
- All colors, line width, and toggles exposed as inputs.
**How to use**
Apply to any US equity, ETF, or index on an intraday timeframe — 1, 5, or 15-minute charts work best. The indicator will not draw on daily or higher timeframes (by design). Once applied, right-click either plotted line and select "Add alert on…" or use the chart-level Alerts dialog to wire up breakout notifications.
**Settings**
- *Premarket Window* — default 04:00–09:00. Adjust if you trade a different session.
- *Regular Session* — default 09:30–16:00. Used to detect the open bar and restrict alerts.
- *Timezone* — set this to match the instrument you're trading.
- *Style* — colors, line width, background tint, and label visibility.
- *Alerts* — toggle breakout alerts on/off.
**Notes**
This is an informational tool, not a trading system — the PM high and PM low are reference levels, not signals on their own. Breakouts can and do fail; always combine with your own risk management. Works on any symbol that has meaningful premarket activity; low-volume instruments may produce noisy ranges.
Pine Script v6.
---
A few practical tips for the rest of the publish form:
- **Title** — keep it short, something like `Premarket High/Low`. PulseWire rejects titles that sound marketing-y.
- **Tags/Categories** — pick Volatility or Trend Analysis; tag with `premarket`, `support`, `resistance`, `breakout`, `day-trading`.
- **Screenshot** — PulseWire requires one. Take a clean chart shot with the indicator applied, ideally on a liquid name like SPY or QQQ on a 5-min chart showing both lines and a label. Avoid screenshots with other indicators or personal annotations cluttering the view.
- **Release notes** — leave blank on first publish; you'll use this field later if you update the script. 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

Round Number Magnet Map [AGPro Series]Round Number Magnet Map
════════════════════════════════════════
🔹 OVERVIEW
Round numbers act as psychological magnets on every liquid market. Traders cluster stop orders, limit orders, and mental entries around levels like 2000, 2400, 50000. These levels attract price, get tested repeatedly, and either hold with sharp reactions or break with decisive momentum. Yet most round-number tools ship a hard-coded list (100, 500, 1000) that works on some charts and fails on others.
Round Number Magnet Map is a psychological level engine that detects the right round numbers for any symbol automatically, tracks every touch with a composite reaction grading system, and ranks the strongest magnets in a professional leaderboard. It works out of the box on Bitcoin at 100k, on Ethereum at 2k, on Solana at 10, on EUR/USD at 1.05, on the S&P 500 at 5000, and on gold at 2400 — no configuration required. Traders who prefer manual control can override the auto-detected tiers with their own comma-separated list.
The indicator is asset-agnostic, non-repainting, bar-confirmed, and optimized for speed. It is designed to be a permanent chart companion on any timeframe.
🔹 UNIQUE EDGE
What separates Round Number Magnet Map from generic round-number indicators:
1. Asset-aware auto-detection. The script reads current price magnitude and selects the correct tier spacing automatically — 10000/5000/1000 for high-cap assets, 100/50/10 for mid-cap, 0.01/0.005/0.001 for forex majors. Three nested tiers render simultaneously so both major and minor psychological levels are visible with a clear visual hierarchy.
2. Composite reaction grading. Each touch is not just counted — it is graded. The script combines three inputs: ATR reaction (how many ATRs price traveled after the touch), wick rejection ratio (how strongly the touch bar rejected the level), and relative volume (whether institutional flow confirmed the reaction). The result is a 0-100 score mapped to A/B/C/D grades, so traders can distinguish a truly respected magnet from a level that price simply grazed.
3. Broken-level recovery logic. Most tools mark a level as "broken" the first time price closes through it and leave it broken forever. That is wrong on round numbers — price oscillates around 2000, 3000, 10000 repeatedly across months and years. This engine un-breaks a level the moment price returns to its zone, so the map always reflects current reality.
4. On-chart leaderboard. The panel ranks the top 5 most-touched levels visible in the current chart window, with touch count and composite grade, so the strongest magnets are always one glance away.
5. Clean by design. Rendering is restricted to an ATR-scaled window around current price, with optional toggles to hide broken and untouched levels. The chart stays readable even on high timeframes where dozens of round numbers would otherwise clutter the view.
🔹 METHODOLOGY
Tier generation. When auto-detect is enabled, the script classifies current price into a magnitude bucket (>10000, 1000-10000, 100-1000, 10-100, 1-10, <1, etc.) and assigns a three-tier spacing. Tier 0 is the major step, tier 1 is a half-step, tier 2 is a fine step. All three tiers are generated around current price within an ATR-scaled search range, deduplicated, and capped at a configurable maximum (default 20).
Touch detection. Each level is surrounded by a zone of thickness (ATR × configurable multiplier, default 0.20). A touch is registered when a bar's high-low range intersects the zone and at least N bars have passed since the last touch on that level (cooldown, default 5). This prevents a single consolidation from inflating the touch count.
Reaction grading. Exactly N bars after a touch (default 5), the script computes:
• ATR reaction (60% weight): maximum favorable excursion from the level in the direction of the test, normalized against a target of 2 ATRs = score 100.
• Wick rejection (25% weight): the rejection wick on the touch bar relative to the bar's range.
• Relative volume (15% weight): volume on the touch bar relative to the 20-bar average.
The three components are combined into a single 0-100 composite score. Scores of 80+ are grade A, 65-80 are grade B, 45-65 are grade C, below 45 are grade D.
Break detection. A level is marked as broken only when, during a reaction grading, price has closed beyond the zone by an additional 0.3 ATR in the opposite direction of the test. This strict criterion avoids false breaks from single wicks or low-conviction closes. Broken levels are un-marked automatically when price returns to the zone.
Rendering. Active non-broken levels render as solid blue lines with an optional S/R-style zone box. Broken levels render as dashed gray lines with a BRK badge. Labels show price, touch count, and grade. Priority-0 (major) levels render with increased line width, and levels within 1 ATR of price render thicker still (magnet effect).
🔹 SIGNALS & ALERTS
The script generates four non-repainting, bar-confirmed alert conditions:
• Touch — price has entered a round-number zone.
• Held (Strong Reaction) — a touch has resolved with a composite score ≥ 60, meaning the level held with meaningful reaction strength.
• Broken — a level has been decisively broken by a strong close beyond the zone.
• Magnet Approach — price is within 0.5 ATR of a level, approaching without yet touching.
Each alert fires at bar close and carries ticker and timeframe tokens for routing to external automation.
🔹 KEY INPUTS
Detection
• Auto-Detect Tiers — asset-aware tier selection (recommended).
• Custom Tiers — comma-separated override (e.g., "1000,500,100" for BTC).
• Level Search Range — how far from price to generate levels, in ATR-scaled units.
• Max Active Levels — hard cap on rendered levels (default 20).
Touch & Zone
• Zone Thickness — size of each round-number zone in ATR units (default 0.20).
• ATR Length — period for ATR used in zone and reaction calculations (default 14).
• Touch Cooldown — minimum bars between touches on the same level (default 5).
• Reaction Window — bars after a touch used for reaction grading (default 5).
Reaction Grading
• Weight: ATR Reaction / Wick Rejection / Relative Volume — configurable composite weights. Weights are normalized automatically if they do not sum to 1.
• ATR Normalization Target — the ATR-reaction value that maps to score 100.
Visuals
• Show Zones, Show Level Labels, Hide Broken Levels, Hide Untouched Levels, Magnet Effect.
• Far Levels Transparency, Label Size, Label Offset.
Panel
• Show Panel, Panel Location (6 options), Panel Theme (Dark/Light), Panel Font Size.
Alerts
• Independent toggles for Touch, Held, Broken, Magnet Approach.
🔹 HOW TO USE
The indicator is designed for discretionary trading and framework-based decision making. A few practical patterns:
1. Use the nearest Above and Below levels in the panel as your immediate target and invalidation reference. The Strongest line on the panel is the highest-conviction magnet in view.
2. Grade A and B levels are historically respected by this market. When price approaches one, expect a reaction. When price approaches a Grade D level, expect a clean pass-through or a trap.
3. Confluence with other tools. Round numbers combined with a swing high/low, a moving average, or a Fibonacci level are far more likely to hold than a round number alone. Treat this indicator as one layer in a stacked decision framework.
4. Timeframe selection. Use higher timeframes (1D, 4H) to identify the dominant magnets for position trading, and drop to lower timeframes (1H, 15m) for execution around those same levels.
5. Broken levels are still information. A dashed level with 20+ historical touches is a zone where liquidity has been swept and where retests often provide re-entry opportunities.
🔹 LIMITATIONS & TRANSPARENCY
• This tool identifies psychological levels and grades their historical reaction quality. It does not predict price direction and it is not a trading strategy. Use it as part of a complete decision framework.
• Reaction grades are historical, not forward-looking. A level that held five times may still break on the next test, especially in strong trending conditions or during high-impact news events.
• Touch counts depend on chart history. On symbols with limited history, recent levels may have fewer touches than their true significance warrants.
• The reaction window is fixed (default 5 bars). Reactions that take longer to develop will be graded as weaker than they truly are. Adjust the window to match the instrument and timeframe.
• Extremely low-volume symbols may produce noisy reaction scores because the relative-volume component becomes unreliable. Reduce its weight to 0 in such cases.
🔹 RISK DISCLOSURE
This indicator is a technical analysis tool for educational and discretionary decision support. It does not constitute financial advice, investment advice, a solicitation, or a recommendation to buy or sell any instrument. Past reactions at any level do not guarantee future behavior. All trading involves substantial risk of loss. You are solely responsible for your trading decisions and for managing your capital.
Indicator

Auto Trendlines MTF - Break/Retest [AGPro Series]Auto Trendlines MTF - Break/Retest
🔹 OVERVIEW
Auto Trendlines MTF - Break/Retest is a multi-timeframe trendline visualization engine that automatically detects and draws the most structurally significant trendlines across three complementary scales: Micro (current timeframe), Meso (intermediate pivots), and Mega (HTF weekly/monthly overlay). Instead of relying on a single pivot scan, the engine builds a ranked candidate pool from each scale and selects the lines that best represent the active market structure around current price.
The script is designed as a pure analytical visualization tool — it does not generate trading decisions, forecasts, or directional recommendations. Its purpose is to give the chart a clean, hand-drawn-quality trendline layer that updates automatically as new pivots form.
🎯 UNIQUE EDGE
Most auto-trendline tools scan one timeframe and draw whatever fits. This engine operates differently in four specific ways:
• Three-scale MTF engine. Micro pivots on the current TF, Meso pivots with wider sensitivity, and Mega trendlines derived from Weekly/Monthly HTF pivots are computed independently and rendered together with a visual hierarchy (Mega dominant, Meso intermediate, Micro active).
• Log-space geometry. All trendline math runs in log-price space, so long-dated diagonals on volatile assets (crypto, growth stocks) do not distort visually when the chart is viewed in logarithmic mode.
• Touch-weighted ranking with violation penalty. Each candidate line is scored by touch count, line age, slope sanity, price proximity, and intra-line violations. Weak geometry, over-sloped lines, and frequently violated lines are demoted automatically.
• Q quality score (0–100) and confluence tags (x2/x3). Every drawn line carries a Q score that blends touches, freshness, geometry, relevance, and violations into a single number. Confluence tags surface when a Micro line and a Meso line sit within the same ATR band near price, highlighting multi-scale structure overlap.
🧠 METHODOLOGY
1. Pivot detection. Separate pivot streams are maintained for Micro (tight sensitivity), Meso (wider sensitivity), and Mega (HTF pivots via request.security).
2. Candidate generation. For each scale, the engine pairs anchor pivots with subsequent pivots to form line candidates, discards over-sloped ones, and computes touches, violations, and break status in log space.
3. Ranking. Candidates are scored by a weighted combination of touch count, time span, slope sanity, relevance to current price (distance in ATR), and violation count. The best non-duplicate lines are kept per scale.
4. Clutter guards. A minimum ATR separation rule prevents near-duplicate lines from stacking. Smart Focus hides far-from-price lines in Minimal/Balanced density modes to keep the chart readable.
5. Stability mode. In Locked mode, selected lines persist bar-to-bar and are only replaced when they break or fall out of the candidate pool — reducing visual repainting on lower TFs.
6. Break/Retest detection. Once a line is drawn, the engine tracks close-based breaks (with configurable tolerance) and subsequent retests within a time window, emitting labeled signals on TF ≤ 1D.
⚙️ SIGNALS & ALERTS
Break and retest events are plotted for each scale with short ASCII tags:
• µR / µS = Micro Resistance / Support break
• mR / mS = Meso Resistance / Support break
• MR / MS = Mega Resistance / Support break
• rµ / rm / rM = retest on Micro / Meso / Mega respectively
A dedicated alertcondition is exposed for every break and retest event, plus two aggregate alerts (Any BR, Any RT) for users who prefer a single alert stream. A Min Q filter lets the user suppress low-quality signals.
🛠️ KEY INPUTS
• Profile Mode. Auto by Timeframe or Manual (Clean Trader, Balanced, Analyst, Presentation, Custom).
• Density Override. Minimal, Balanced, or Bold visual density.
• Line Weight Override. UltraThin, Thin, or Normal.
• Labels / Signals / Stability / Broken-line behavior. All individually overridable.
• Mega Overlay. Full (lines + cloud + label), Lines Only, or Off.
• Advanced panels. Micro Engine, Meso Engine, Mega Engine, Ranking, Visuals, and Signals each expose their own fine-tuning controls for experienced users.
• HUD. Position, theme (Classic Gray, Premium Accent, Color Coded, Showcase), and text size.
📘 HOW TO USE
• Add the script to any liquid symbol and start on a 1H or 4H chart.
• Leave Profile Mode on "Auto by Timeframe" for a balanced default that adapts to the active TF.
• Read the HUD in the top-right corner to see the active profile, how many Micro/Meso lines are drawn, whether Mega is active, and current Q scores.
• When a line carries a Q score above ~65 and a Conf tag (x2 or x3) appears nearby, that zone is a multi-scale structural pocket — use it as a planning reference, not as a trade trigger on its own.
• Use the Break/Retest tags for situational awareness around drawn lines; combine with your own confirmation logic before acting.
⚠️ LIMITATIONS & TRANSPARENCY
• Lines are drawn from historical pivots and can only confirm after a pivot is established. The engine avoids repainting in Locked mode but cannot predict future pivots.
• Q scores and confluence tags describe structural quality, not directional probability. A high-Q line can still break.
• Mega lines depend on HTF pivot availability; on very young symbols or thin charts, Mega may fall back to a Macro-pivot source or remain hidden.
• The script is published as Public, Open Source so that every ranking rule, weight, and threshold is fully auditable in the source code.
🛡️ RISK DISCLOSURE
This script is a visualization and analysis tool only. It is not financial advice, not a trading strategy, and not a signal service. No performance claims are made or implied. Past structural behavior of trendlines does not guarantee future behavior. All trading decisions, risk sizing, and execution remain the sole responsibility of the user. Indicator

Pivot Channel Map [AGPro Series]Pivot Channel Map
🔹 OVERVIEW
Pivot Channel Map is a structural channel engine that automatically detects and classifies market structure channels from confirmed swing pivots. It organises every qualified channel into a clear 8-family taxonomy (Major / Minor × External / Internal × Up / Down) and renders them as a living map of trend, range and reversal context. The script works on all instruments and timeframes, with a focus on intraday and swing analysis.
Instead of plotting a single trendline or band, the engine maintains a continuously updated structural map: active channels, their midlines, interaction pockets around the rails, preserved broken channels, and post-break retest / reclaim signals. A compact right-corner panel summarises live channel counts, qualification state, nearest channel distance in ATR units, and the prevailing Major tilt.
The goal is to give discretionary traders a moderation-safe, clutter-controlled view of where price is inside the broader structure — not to predict future prices.
🔸 UNIQUE EDGE
Most channel indicators draw one or two parallel lines and call it a day. Pivot Channel Map adds structural classification, qualification, memory and post-event follow-through on top of the channel geometry:
- Eight channel families instead of a single pair of rails
- ATR-normalised qualification engine (Off / Balanced / Strict) to filter structurally weak channels
- Broken Channel Memory that preserves invalidated structure as faded historical context
- Interaction Zones (right-edge ATR pockets) around active channel rails
- Post-Break Retest / Reclaim tracker that tags the first valid touch after a confirmed break
- Break and React event markers on Major channels
- ATR-based distance tagging in the info panel (Near / Mid / Wide / Far)
The result is a richer structural read than a standard channel script, while still staying visually clean through emphasis, opacity and clutter controls.
🔹 METHODOLOGY
1. Pivot detection. A configurable Pivot Period drives ta.pivothigh and ta.pivotlow to produce confirmed swing pivots. The script then classifies each pivot into H / HH / LH / HL / LL / L roles and promotes / demotes them between Major (M*) and Minor (m*) status based on close breaks versus the current Major range.
2. Channel construction. From the classified pivot stream, eight channel families are built:
- Major External Up / Down
- Major Internal Up / Down
- Minor External Up / Down
- Minor Internal Up / Down
External channels trace structural HH/LL extremes, Internal channels trace LH/HL interior swings.
3. Qualification. Each candidate channel is width-measured against ATR and span-measured in bars. The Qualification Engine (Off / Balanced / Strict) filters out structurally weak channels before they are drawn.
4. Life-cycle management. Active channels are redrawn and extended forward each bar until an origin-rail or channel-rail break is confirmed. On break, the previous structure can be preserved by Broken Channel Memory (Off / Major Only / All) with its own style and opacity.
5. Event detection. Confirmed origin-rail breaks produce BREAK events; wick-through-then-close-back moves produce REACT events on Major channels. A cooldown and an ATR-based price-distance filter prevent label clusters when price oscillates around the same rail.
6. Post-break follow-through. After a confirmed break, the script tracks the first valid touch inside a configurable window and tags it as RETEST (channel-rail break) or RECLAIM (origin-rail break).
🔸 SIGNALS & ALERTS
On-chart events:
- BREAK — confirmed close-based break of a Major channel rail
- REACT — wick through the Major rail with a close back inside, filtered by bar cooldown and ATR distance
- RETEST / RECLAIM — first valid touch of the broken rail inside the post-break window
- Interaction Zone contact — visual ATR pocket around active channel rails
- Channel Quick Tags (MEX / MIN / mEX / mIN, Up / Dn) — compact family labels on active channels
Alert conditions (all 16 toggleable, Major alerts On by default, Minor Off by default):
- Break: Major External Up / Down
- React: Major External Up / Down
- Break: Major Internal Up / Down
- React: Major Internal Up / Down
- Break: Minor External Up / Down
- React: Minor External Up / Down
- Break: Minor Internal Up / Down
- React: Minor Internal Up / Down
Message frequency is configurable (All / Once Per Bar / Once Per Bar Close). Alerts include symbol, timeframe, time zone and event description.
🔹 KEY INPUTS
- Pivot Engine: Pivot Period (default 5)
- Per-family Visibility: 8 Show / Delete-Previous / Color / Style / Extend / Width groups
- Channel Qualification: Mode (Off / Balanced / Strict), Apply To (All / Major Only / Minor Only), ATR Length
- Broken Channel Memory: Scope (Off / Major Only / All), Keep (Last 1 / Last 2), Style
- Channel Midline: Show, Apply To, Scope, Style, Width, Opacity
- Active Map Clarity: Line Emphasis, Base-Line Focus, Event Markers, React Cooldown, React Min Price Distance, Quick Tags, Tag Scope, Tag Size, Event / Quick Tag Vertical Offsets
- Interaction Zones: Scope, Rails, Zone Width ATR, Extend Bars, Opacity, Zone Text
- Post-Break Retest / Reclaim: Scope, Window Bars, Label Offset ATR
- Panel: Show, Position, Font Size
- Alerts: 16 per-family Break / React toggles, Alert Name, Frequency, Time Zone
🔸 HOW TO USE
Getting started:
1. Apply the indicator on any symbol and timeframe.
2. Start with default settings: Qualification Off so the full structural map is visible.
3. If the chart feels busy on lower timeframes, switch Qualification to Balanced or Strict.
Reading the panel:
- Major Live / Minor Live — active channels per class
- Nearest Channel — closest active channel, with ATR distance and Near / Mid / Wide / Far tag
- Qualification — current filter mode and scope
- Interaction — interaction zone scope and rails
- Post-Break — tracker scope, window and prevailing Major tilt
Common workflows:
- Trend continuation: wait for price to hold an Active Major channel and look for a REACT at the rail inside the channel direction.
- Break-and-retest: after a BREAK event, watch for the RETEST / RECLAIM label inside the Post-Break window.
- Confluence: use Interaction Zones to spot where Major and Minor rails meet at the right edge of the chart.
- Higher-timeframe context: open a higher timeframe tab with the same script to map macro structure around your execution timeframe.
Suggested defaults:
- Intraday traders: 15m–1H base TF, Balanced qualification
- Swing traders: 4H–1D base TF, Balanced or Off qualification
- Higher-timeframe context: 1D–1W with Qualification Off
🔹 LIMITATIONS & TRANSPARENCY
- Pivot-based. Pivots require the configured number of bars to confirm, so the most recent swing always lags by Pivot Period bars. This is a structural property of confirmed pivots, not a bug.
- Redraw behaviour. Active channels are extended forward each bar until a break is confirmed on close. Channel end-points can therefore adjust as new pivots qualify.
- Alerts fire on confirmed conditions. Break and React alerts require barstate.isconfirmed, so intra-bar touches do not trigger alerts.
- Timeframe behaviour. On very high timeframes with limited history (e.g. weekly / monthly on newer instruments), the total pivot count can be small. Keep Qualification at Off on higher timeframes to avoid over-filtering.
- This is a visualisation / structure tool. It is not a trading strategy, it does not manage risk, and it does not generate buy / sell recommendations. All entries and exits are the trader’s responsibility.
🔸 RISK DISCLOSURE
This script is a technical analysis tool intended for educational and analytical purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any asset. Past chart behaviour does not guarantee future results. Trading involves significant risk and can result in the loss of capital. Always do your own research, use proper risk management, and consider consulting a licensed financial advisor before making trading decisions. Indicator

Compression Pressure Map [AGPro Series]Compression Pressure Map
⚡ Overview
────────────────────────────────────────
Compression Pressure Map is a structural context tool that measures how tightly price is compressing against the nearest pivot-based level, and evaluates two behavioral scenarios in parallel: breakout anticipation and reversal watch. The output is a visual map of where pressure is accumulating — rendered as an evolving pressure zone that moves through BUILDING, ARMED and READY states.
This is not a signal engine, not a forecast, and not a trading strategy. It is a visualization layer that answers a single question: where is compression building around the active level, and in which direction is that pressure leaning.
🧭 Unique Edge
────────────────────────────────────────
Most compression indicators reduce behavior to a single direction. CPM separates compression into two parallel scoring engines that run on the same structural core:
🔹 Breakout Anticipation — pressure building for a directional break through the level
🔹 Reversal Watch — pressure building for a rejection at the level
In Auto mode the dominant scenario is rendered on the chart (cleaner visual), while the panel shows both scores side by side for transparency. Power users can lock the engine to a single mode. The active level is stabilized with a clustered pivot refinement and a drift-control lock, so the displayed level stays consistent instead of jumping on every new pivot. A compression gate keeps the pressure score aligned with the compression core: when compression is weak, pressure cannot escalate into high states.
🧪 Methodology
────────────────────────────────────────
The pressure score is a weighted composite of six structural components, measured on the active scenario:
🔹 Range compression (short-window range vs long-window range)
🔹 ATR compression (short-window ATR vs long-window ATR)
🔹 Body tightness (average body size relative to average range)
🔹 Quiet-bar persistence (how many recent bars qualify as calm)
🔹 Proximity to the active level (normalized by ATR)
🔹 Directional posture (slope, close position in bar)
Reversal scoring adds wick-rejection weight at the active level (average lower-wick size for bull reversals, upper-wick size for bear reversals). Breakout scoring adds approach slope weight toward the active level. A shared EMA smoothing step produces calmer state transitions. A dominance margin and cooldown prevent rapid scenario flipping. The final score is driven through a BUILDING → ARMED → READY state machine with hysteresis on the zone visibility to avoid flicker.
🎯 Signals & Alerts
────────────────────────────────────────
The state machine produces four transition alerts plus two pace alerts:
🔹 Pressure Armed Near Level — score crosses the armed threshold with an active scenario
🔹 Ready Zone Reached — score crosses the ready threshold with an active scenario
🔹 Armed Bullish / Bearish Scenario — directional armed transitions
🔹 Ready Bullish / Bearish Scenario — directional ready transitions
🔹 Pressure Rising — score is climbing while the zone is live
🔹 Pressure Released — the active scenario resolves (through the level or by decay)
On the chart, state transitions are marked with discrete A and R markers on the active side. A score label near price always shows the current pressure value, bias and state for quick reading without opening the panel.
⚙️ Key Inputs
────────────────────────────────────────
🔹 Engine Mode — Auto, Breakout Anticipation, or Reversal Watch
🔹 Compression Length — main lookback for range, ATR and body tightening
🔹 Trigger Distance (ATR) — how close price must be to a level to start evaluating
🔹 Hold Distance (ATR) — how far price can drift before the active context is cleared
🔹 Pivot Left/Right and Cluster Tolerance — pivot strength and blending behavior
🔹 Compression Gate and Gate Threshold — compression-first discipline control
🔹 Armed / Ready / Zone On / Zone Off Thresholds — state machine calibration
🔹 Full visual controls — zone width, band extend, line width, label size, panel position and font
All defaults are tuned for mid-volatility crypto pairs on 1H and 4H timeframes, but the engine adapts across symbols and timeframes through its ATR-normalized distance logic.
📘 How to Use
────────────────────────────────────────
🔹 Open the indicator in Auto mode and observe which scenario the panel highlights
🔹 Wait for the pressure zone to appear on the chart (BUILD → LIVE transition)
🔹 Read the state: BUILDING means the setup is forming, ARMED means the setup is mature, READY means compression and proximity are both at peak
🔹 Cross-reference with your own structural read — CPM describes the compression landscape, the decision is yours
🔹 If you prefer one behavioral lens only, lock the engine to Breakout Anticipation or Reversal Watch
🔹 Use the Compression Gate to enforce compression-first discipline — when compression is weak, the pressure score stays in WATCH
🔹 The tool is timeframe-agnostic; try it on 15m, 1H, 4H and 1D to see how compression contexts nest
CPM is designed to sit alongside your strategy, not replace it. It maps the compression field; you read the context.
⚠️ Limitations & Transparency
────────────────────────────────────────
🔹 CPM is a context visualization tool, not a signal generator — it does not issue buy or sell calls
🔹 The pressure score is a structural measurement, not a probability estimate
🔹 State transitions describe the compression field at the moment they print; they do not imply what happens next
🔹 Active level refinement is intentionally conservative — the level may feel slower to update than raw pivots, by design
🔹 Very high volatility regimes may keep the compression score low for extended periods, which is the intended behavior
🔹 The tool is deterministic on closed bars; intrabar values are provisional until bar close
CPM is released as Public, Open-source under MPL 2.0. The source is fully readable and auditable.
🛡️ Risk Disclosure
────────────────────────────────────────
This indicator is published for educational and analytical purposes only. It is not financial advice, not a trading strategy, and not a recommendation to buy or sell any asset. Past behavior of any level or pressure state does not predict future behavior. Markets carry risk of loss; users are solely responsible for their own decisions and risk management. Always do your own research and consider consulting a qualified professional before making trading or investment decisions. Indicator

Level Survival Map [AGPro Series]Level Survival Map
🔹 Overview
Level Survival Map is a premium support and resistance framework that does not just draw lines on the chart. Every detected level carries a live Survival Score between 0 and 100 that answers one simple question: how well is this level still defending itself right now. The map highlights a single Active Level with an interaction zone and a forward projection ribbon, while nearby weaker levels fade, so traders always know which level actually matters for the current decision.
🔸 Unique Edge
Most support and resistance tools either show static pivots or basic break or retest events. Level Survival Map goes further by measuring the quality of every interaction and turning it into a single composite health score per level. Instead of being left with a wall of equally important lines, the trader sees a ranked structural battlefield with one clearly identified Active Level, a visible interaction zone and a projection ribbon for planning. The Damage State readout, the Fresh and Eroded state semantics, the automatic flip from broken support to new resistance and the cluster fade for crowded weaker levels are designed to work together as one premium, low-noise workflow.
🔹 Methodology
Pivot detection builds the raw candidate levels from swing highs and swing lows using the standard pivot window. A merge filter removes duplicates that sit within a configurable ATR distance of an existing same-type level. Each active level then accumulates four independent components over time. Close Respect rewards closes that respect the level side, for example closes above a support. Penetration Damage penalises wicks and bodies that pierce through the level zone. Reaction Quality rewards strong rejection wicks and bodies moving away from the level after a test. Test Fatigue penalises repeated tests because levels tend to weaken with each new hit. These four components are weighted and combined into a single Survival Score, then clamped between 0 and 100. A structural break caps the score at 35, heavy damage across multiple tests caps it at 28, and a confirmed sequence of opposite-side closes flips the level type while resetting its history. The Active Level is chosen as the closest same-side level to price so that the focus always follows the real decision point.
🔸 Signals and Alerts
The visual output itself is the primary signal. Line colour and thickness communicate level strength at a glance. A focused Active Level is drawn with an interaction zone, a darker core band and a forward projection ribbon so that traders can see the exact price band where reaction is most likely, and how far into the future that band is expected to remain relevant. Labels carry the Survival Score directly, so the ranking of levels is always visible without opening any settings. Broken levels switch to a dashed style and faded colour, and once enough opposite-side closes accumulate they flip type automatically, giving a clear visual signature of structural change.
🔹 Key Inputs
Pivot Left Bars and Pivot Right Bars control how strict the swing detection is. Max Active Levels caps how many concurrent levels are tracked. Level Merge Distance and Interaction Zone are expressed in ATR units so the logic adapts across timeframes and instruments. Scoring weights for Close Respect, Penetration Damage, Reaction Quality and Test Fatigue can be tuned independently, together with the fatigue penalty per extra test and the number of closes required to confirm a flip. Visual inputs cover panel position, label size, line width, focus emphasis, non-focus transparency, cluster fade, focus zone width and projection ribbon length and thickness. A Clean Map Mode is provided for screenshot and publishing workflows where only the Active Level and the nearest valid support and resistance are labelled.
🔸 How to Use
Read the map top down. First, look at the summary panel for the Active Level, its Survival Score, Test Count and Damage State. A Fresh or Strong Active Level defending its side is a high-quality decision point. A Fragile or Eroded Active Level with a Severe Damage State is a warning that the next level below or above is likely to take over. Use the projection ribbon as a planning band for reaction rather than a mechanical entry. Use the ranked non-Active labels to understand where price is likely to travel if the Active Level gives way. The tool is designed to be used as a visual framework, in combination with the trader own execution method, trend context and risk management.
🔹 Limitations and Transparency
This indicator is a visual analytical framework, not a strategy, not a signal service and not financial advice. Survival Score, Damage State and flip logic are deterministic functions of price action and ATR, so different markets and timeframes will produce different characteristic score ranges. Pivot based detection is inherently lagging by the Pivot Right Bars window, which is the expected behaviour of any structural tool and not a defect. The Active Level projection ribbon is a visual planning aid, not a forecast. Past level behaviour does not guarantee future behaviour.
🔸 Risk Disclosure
Trading involves substantial risk and is not suitable for every investor. This script is published for educational and analytical purposes only. Users are solely responsible for their own trading decisions, position sizing and risk management. Always test any tool on your own instruments and timeframes before using it in a live environment. Indicator

Failed Break Quality [AGPro Series]Failed Break Quality
🔹 OVERVIEW
Failed Break Quality is a reversal-focused structure tool that detects failed breakouts (bull traps and bear traps) around confirmed horizontal support and resistance, then grades each reclaim with a transparent 0-100 quality score. Instead of signaling every price wick through a level, it waits for the full sequence — level confirmation, break below or above, decisive reclaim, rejection candle and follow-through — and only prints a label when the event passes a weighted score threshold.
The goal is to give a single-pane view of where the market trapped participants, how clean the reversal was, and whether the reaction carried any real conviction. All components are plotted on the price chart in an event map style: reclaim pockets, focus bands, connector rails, structure tags and a compact summary panel.
🔷 UNIQUE EDGE
What separates Failed Break Quality from generic support-resistance or bull-trap detectors:
• Five-component weighted score (0-100) — each reclaim is rated on Level Integrity, Break Weakness, Reclaim Speed, Rejection Strength and Follow-Through, with user-adjustable weights. No black-box output.
• Auto timeframe profiles — Intraday, H4 and Swing profiles adapt tolerance, break depth, reclaim window, adverse-move limits and family-reset band automatically so the same inputs behave sensibly across timeframes.
• Reclaim Pockets — the actual zone between the break extreme and the reclaim level is drawn as a shaded rectangle, making it easy to see where the trap formed and where the invalidation sits.
• Focus Bands + Event Rails — the latest bull and bear events are highlighted with a forward-extended focus band at the level and a dashed rail connecting break extreme to reclaim point. Older events fade, so the current structural map stays readable.
• Family lock system — once a level produces a graded signal, it will not re-fire on the same level family until a new family forms beyond the configured reset band, preventing signal stacking on the same structure.
• Auto-clean stale event visuals — focus bands, reclaim pockets and event rails are automatically removed when their anchor level drifts, disappears or ages out, so the chart stays clean across regime shifts.
• This script differs from Break-Retest Quality (continuation after a confirmed breakout) by focusing on the opposite case: breakouts that fail and reverse back through the level.
🔸 METHODOLOGY
1. Level Building — Pivot highs and lows are clustered inside an ATR-scaled tolerance band. A level is confirmed only after reaching the required minimum touches and is retired when it exceeds the maximum age in bars. Each confirmed level carries a family ID so nearby re-confirmations do not create duplicate signals.
2. Failed Break Detection — A break is registered when price penetrates a confirmed level by at least the minimum break depth (ATR-based). The script then monitors the reclaim window (capped in bars) and records the break extreme and outside-closes count.
3. Reclaim Confirmation — A reclaim requires close back across the level plus a small ATR buffer. The bar that reclaims is graded for rejection strength using wick, body and close position.
4. Follow-Through Gate — After reclaim, price must extend at least the follow-through ATR in the favorable direction and must not exceed the maximum adverse ATR against the reclaim. Failing either gate cancels the signal.
5. Quality Score — Five sub-scores are combined with user weights to produce the final 0-100 score. Only reclaims at or above the minimum print threshold produce a labeled signal and a reclaim pocket.
🔶 SIGNALS AND ALERTS
• Bullish Reclaim — printed below the reclaim bar with a teal label showing the quality score. Indicates a failed breakdown of support.
• Bearish Reclaim — printed above the reclaim bar with a pink label showing the quality score. Indicates a failed breakout of resistance.
• Panel States — Bull Trap Watch, Bull Reclaim Pending, Bear Trap Watch, Bear Reclaim Pending, Scanning Levels, Building Levels.
• Alert Conditions — Bullish Reclaim and Bearish Reclaim, suitable for standard PulseWire alert creation.
🔹 KEY INPUTS
• Levels — Pivot length, ATR length, level match tolerance (ATR), minimum touches, maximum level age.
• Profiles — Toggle for automatic timeframe calibration.
• Failed Break Logic — Minimum break depth, reclaim window, follow-through bars, reclaim buffer, minimum follow-through, maximum adverse move, re-arm distance, family reset band.
• Score — Minimum score to print and individual weights for Level, Break, Speed, Reject and Follow components.
• Visuals — Toggles for confirmed levels, level zones, inner core bands, structure tags, active-zone emphasis, tag connector rails, zone and core half-widths, signal offset, label and tag sizes.
• Event Map — Reclaim pockets, focus bands, event rails, non-focus fade, auto-clean stale event visuals, stale event max bars, pad and extend settings.
• Panel — Visibility, position (Top Right / Top Left / Bottom Right / Bottom Left) and font size.
🔷 HOW TO USE
• Start on the timeframe where the levels look most respected (H1, H4 or Daily). Auto profiles will adjust internal thresholds automatically.
• Treat every signal as contextual evidence, not as a standalone entry. Higher scores indicate cleaner events — a shallow break, a fast reclaim, a strong rejection bar and a clean follow-through all lift the score.
• Use the reclaim pocket as the structural zone: the level marks the invalidation side, and the break extreme marks the maximum trap depth. Both are visible on the chart.
• Combine with your own bias, trend filters, higher-timeframe levels, volume or session structure. The script is designed to sit on top of an existing framework, not replace it.
🔸 LIMITATIONS AND TRANSPARENCY
• This is an indicator, not a strategy. It does not place orders, size positions or calculate profit and loss.
• Signals are evaluated on bar close. Intrabar wicks can temporarily enter trap states without producing a graded event.
• Score thresholds and weights are tunable. Different markets and timeframes benefit from different configurations — the default values are a reasonable starting point, not a universal setting.
• All level, reclaim and pocket logic is purely structural and does not include volume, order flow or derivatives data.
• Repainting note — level confirmation uses pivots with a fixed lookback. The last pivot is locked once the required forward bars have elapsed; earlier plotted structure does not repaint after that point.
🔶 RISK DISCLOSURE
Trading involves substantial risk. This script is a technical analysis tool provided for educational and research purposes only and does not constitute financial advice, investment recommendations or a solicitation to trade. Past performance does not guarantee future results. Always do your own research and apply strict risk management. The author assumes no responsibility for trading decisions made using this script.
Published under Mozilla Public License 2.0 — source is open and available for study, review and non-commercial derivative work under the terms of the license. Indicator

Reaction Efficiency Meter [AGPro Series]Reaction Efficiency Meter
A pure observation lens that scores every pivot-based support and resistance reaction from 0 to 100 and classifies it as WEAK, LIMITED, FAIR, STRONG or EFFICIENT. Designed to answer one specific question on any chart: how well did price actually react when it touched that level? Not a strategy, not a signal generator — a quality meter for S/R reactions.
🔹 Overview
Reaction Efficiency Meter watches pivot-based support and resistance levels and, the moment price touches any of them, opens a fixed reaction window to observe what happens next. At the end of that window the reaction is scored from 0 to 100 using four weighted components — strength, speed, cleanliness, follow-through — and then classified into a five-tier hierarchy. The result is printed directly on the chart as a color-coded label (BULL or BEAR), while a side panel keeps a live summary of the last bullish reaction, last bearish reaction and the currently active event window. The indicator is built as a post-event quality lens for traders who already work with horizontal levels, pivot zones, or structural S/R and want an objective readout of reaction quality instead of a subjective eyeball assessment.
🔸 Unique Edge
Most support and resistance indicators stop at drawing lines or zones. Reaction Efficiency Meter goes one step further and evaluates the reaction itself on a fixed, reproducible scale. Four distinct quality dimensions are blended into a single 0-100 score, and a separate adverse-excursion penalty reduces the score when price violated the level before reacting. The result is a transparent number tied to a five-tier verbal classification (WEAK / LIMITED / FAIR / STRONG / EFFICIENT), which makes reactions directly comparable across symbols and timeframes. There are no repainting signals, no lagging smoothers and no hidden strategy logic — the scoring is purely descriptive and fires only after the reaction window closes on a confirmed bar.
🔹 Methodology
The engine has four clear stages:
1. Level detection. Classic pivot highs and lows are tracked as dynamic resistance and support. Only the most recent N levels per side stay active — older ones are retired, so the chart never clutters.
2. Touch detection. A touch is registered when the bar's range enters a tolerance band around any active level (expressed in ATR units so the logic auto-scales across volatility regimes). A cooldown of N bars between tests on the same level prevents noise from restarting an event too quickly.
3. Event tracking. Once a touch fires, a reaction window of N bars is opened. During that window the script tracks (a) the best favorable excursion in ATR units, (b) the worst adverse excursion in the wrong direction, (c) which bar produced the peak favorable move, (d) the net retained move at window close.
4. Scoring and classification. At window close the four components are combined with a penalty:
• Strength (0-35): best favorable excursion relative to 1.5 ATR reference.
• Speed (0-20): how early the peak favorable bar occurred inside the window.
• Cleanliness (0-20): reduced linearly by adverse excursion.
• Follow-through (0-15): how much of the peak move was retained at window close.
• Adverse penalty (up to -15): applied when price broke through the level.
Final score is clamped 0-100 and mapped to: WEAK (<25), LIMITED (25-44), FAIR (45-64), STRONG (65-79), EFFICIENT (80+).
🔸 Signals & Alerts
The indicator does not emit buy or sell alerts. Its outputs are purely descriptive:
• A color-coded reaction label (BULL or BEAR with score and tier) plotted after each completed window.
• Active zone rectangle and reaction corridor drawn around the touched level while the window is open.
• Touch markers on the bar where a new event begins.
• Live status tag showing BULL WINDOW x/N or BEAR WINDOW x/N during an active event.
• A stateful side panel with Status, Last Bull, Last Bear, Window progress and Mode rows.
All visuals render on confirmed bars only, so the score and tier of a completed reaction do not change afterwards.
🔹 Key Inputs
• Pivot Length — bar distance used to qualify pivot highs and lows.
• Max Active Levels / Side — how many recent resistance and support levels stay active.
• ATR Length — volatility reference for tolerance, corridor depth and scoring.
• Touch Tolerance (ATR) — how close to the level a bar must come to count as a touch.
• Reaction Window Bars — fixed observation length per event.
• Minimum Bars Between Tests — cooldown on the same level.
• Reaction Corridor Depth (ATR) — vertical span of the reaction corridor drawn during the window.
• Display group — toggles for levels, tags, markers, labels, active zone, corridor, panel.
• Theme & Layout — panel theme (Auto / Dark / Light), position, font size, line width and opacity controls.
🔸 How to Use
The indicator is intended as a companion lens, not a standalone system. Typical workflows include:
• Confluence study. Compare reaction scores at different levels on the same chart to see which zones historically produced stronger reactions.
• Bias assessment. Watching whether BULL and BEAR labels on a given timeframe skew toward higher or lower tiers can inform directional bias for discretionary decisions made elsewhere.
• Framework validation. Add it on top of an existing S/R, order block or pivot framework to quantify whether the levels those tools produce actually generate efficient reactions.
• Multi-timeframe scanning. Running the indicator on multiple timeframes shows where strong reactions cluster — often useful for context, not entry timing.
The tool is descriptive and retrospective. It is not designed to replace risk management, structural analysis or the user's own trading plan.
🔹 Limitations & Transparency
• The reaction window is fixed per event. Very fast V-reversals may still register as WEAK if most of the favorable move happens after the window closes; conversely, slow grind reactions may score lower on the Speed component even when the net outcome is good.
• Pivot-based levels are, by definition, confirmed with a lag equal to Pivot Length bars.
• Scores are descriptive — a STRONG tag on a past reaction does not imply that the next test of the same level will also react strongly.
• All scoring uses confirmed-bar logic, so the indicator is non-repainting by design.
🔸 Risk Disclosure
This indicator is provided for educational and analytical purposes only. It is not financial advice, not a trade signal generator, and not a recommendation to buy or sell any instrument. Trading involves substantial risk of loss. Past reactions do not guarantee future reactions. Users are solely responsible for their own trading decisions and risk management. Indicator
