Backtesting Solo DXY - Manuel Leiva 3050Backtesting Solo DXY - Manuel Leiva 3050 Practica el Failure Swing con mi herramienta! muchísimas bendiciones!!Индикатор Pine Script®от anuelmanueldejesusleiva8
Gemini Quant OS - Multiple EdgeGemini Quant OS — Multiple Edge Overview Gemini Quant OS — Multiple Edge is a multi-factor technical framework designed to combine several analytical components into a structured market analysis model. This script is part of the broader Gemini Quant OS ecosystem. --- Core Concepts The framework combines multiple technical conditions to assist traders in evaluating trend quality, momentum behavior, and volatility structure. The model integrates: trend analysis momentum confirmation volatility filtering ATR structure breakout context relative strength conditions Instead of relying on a single indicator, the framework attempts to build a broader technical context around market conditions. --- Features Multi-factor analysis framework Trend and momentum integration Volatility-aware logic ATR-based structure analysis Market condition filtering Multi-market compatibility --- Best Use Cases Best suited for: structured discretionary trading trend continuation analysis volatility expansion environments swing trading H1–D1 analysis --- Notes This script is designed for educational and analytical purposes only. Not financial advice. Индикатор Pine Script®от Super_Trader_HK8
Failed Continuation Trap Map [AGPro Series]Failed Continuation Trap Map 🧠 Core Idea Did a continuation attempt fail strongly enough to trap traders and create pressure in the opposite direction? 📌 Overview / What it does Failed Continuation Trap Map is a rule-based price-action and market-structure visualization tool designed to study failed continuation attempts. The script identifies trend-aligned continuation attempts, maps the attempted breakout zone, evaluates whether the move fails back through that zone, and highlights when trapped longs or trapped shorts may create opposite pressure. It does not predict reversals, automate trades, or guarantee that a failed continuation will produce follow-through. It is a structured decision-support map for continuation failure, trap behavior, and opposite-pressure context. 🎯 Purpose & Design Philosophy Many breakout and continuation tools focus on whether price moved beyond a level. This script was built to answer a more selective question: Did the continuation attempt fail in a way that changes the market narrative? The design goal is to help traders read failed continuation as a trap context instead of treating every rejection as a reversal signal. ⚡ Why This Script Is Different Most tools focus on breakouts, pullbacks, continuation signals, or reversal labels. This script does NOT label every failed move as a trap. Instead, it waits for a trend-aligned continuation attempt, tracks the attempt zone, evaluates failure quality, maps the trap pocket, and checks whether opposite pressure confirms after trapped participants are created. ⚙️ Methodology 1. Continuation Bias Detection The script uses fast and slow EMAs to define the active continuation bias. 2. Attempt Mapping When price attempts continuation beyond recent structure, the script records the attempt level and builds an attempt zone. 3. Failure Evaluation After the attempt, the script watches a defined failure window to detect rejection back through the attempt level. 4. Trap and Pressure Scoring Trap quality uses rejection wick behavior, relative volume, and failure timing. 5. Visual Output The chart displays the attempt zone, trap pocket, opposite-pressure rail, centered trap label, event labels, right-side tags, alerts, and a compact AG Pro decision panel. 🗺️ How to Read the Chart Attempt Zone = the area around the continuation level where breakout or continuation participants may enter. Trap Pocket = the area where failed continuation can create trapped participants. Opposite-Pressure Rail = the level used to read whether the failed continuation is turning into stronger pressure against the attempt. Centered Trap Label = the main visual anchor inside the active trap pocket. Event Labels = compact labels for attempts, long traps, short traps, and pressure confirmation. Right-Side Tags = current trap state, attempt level, and pressure quality. Panel = summarizes trap state, attempt type, trapped side, trap quality, pressure quality, next context, and timeframe. 🚦 Signals & States • ATTEMPT ACTIVE → price attempted continuation and is still inside the failure evaluation window. • TRAP ACTIVE → the continuation attempt failed back through the attempt level. • OPPOSITE PRESSURE → price confirmed pressure away from the failed continuation attempt. • CONTINUATION HOLD → the attempt is holding beyond the continuation zone. • ATTEMPT EXPIRED → the attempt did not create a timely failure or pressure signal. • WAIT ATTEMPT → no valid continuation attempt is active. 🔔 Alerts Logic Alerts trigger when a major continuation-failure state appears. • Continuation Attempt → price attempted continuation beyond recent structure. • Failed Continuation Trap → continuation attempt failed back through the attempt zone with trap quality. • Opposite Pressure Confirmed → opposite pressure confirmed after a failed continuation attempt. Alerts are attention markers, not trade instructions. 🧩 Confluence Logic The context becomes stronger when: • Continuation bias is clear • Price attempts continuation beyond recent structure • The attempt fails back through the zone quickly • Rejection wick quality is strong • Relative volume supports participation • Opposite-pressure rail confirms after the trap • The panel state agrees with the chart labels If these elements do not align, the script avoids forcing a trap interpretation. 📊 When to Use • Breakout failure analysis • Failed continuation review • Trend continuation trap studies • Intraday and swing market-structure analysis • Crypto, forex, stocks, and index markets • 1H, 4H, and daily charts • Markets where continuation attempts are common and readable ⚠️ When NOT to Use • Very low-liquidity symbols • Extremely sideways markets with no continuation bias • News-driven candles that distort rejection quality • Ultra-low timeframes with excessive noise • Markets where recent structure is too compressed to define a clean attempt zone • Situations where a single failed attempt should not be treated as a standalone decision 🎛️ Key Inputs • Fast EMA Length → defines the faster continuation-bias component. • Slow EMA Length → confirms the broader continuation direction. • ATR Length → normalizes attempt zones, trap pockets, labels, and failure levels. • Continuation Breakout Lookback → defines recent structure used to identify continuation attempts. • Failure Evaluation Window → controls how long after an attempt the script can classify failure. • Attempt Zone ATR → controls the thickness of the continuation attempt zone. • Trap Wick Threshold → defines how much rejection quality is needed before a failure becomes trap context. • Use Volume Confirmation → adds relative volume to trap-quality scoring. • Projection Bars → controls how far zones, rails, and right-side tags project. • Label Font Size → controls chart label and tag text size. • Panel Font Size → controls panel text size. 🖥️ Interface & Visual Design The visual hierarchy is built around the failed-continuation story. The attempt zone shows where continuation was attempted. The trap pocket shows where trapped participants may become part of the next narrative. The opposite-pressure rail gives a clean reference for pressure confirmation. The centered badge keeps the active trap context readable at first glance. The AG Pro panel summarizes the current trap state without forcing the user to decode every element manually. 🧪 Practical Usage Workflow 1. Let the script identify the active continuation bias. 2. Watch for an attempt beyond recent structure. 3. Check whether the attempt holds or fails back through the zone. 4. If trap context appears, watch the opposite-pressure rail. 5. Use the panel to confirm trap state, trapped side, and quality scores. 6. Interpret the output inside broader trend, liquidity, volatility, and support/resistance context. 🔍 Interpretation Guidelines A continuation attempt does not guarantee follow-through. It means price attempted to move beyond recent structure in the trend direction. A trap active state does not guarantee reversal. It means the continuation attempt failed back through the attempt zone with enough quality to deserve attention. Opposite pressure does not guarantee trend change. It means trapped participants may be adding pressure against the attempted continuation. The strongest readings occur when trap state, pressure rail, and broader market context align. 🚫 What This Script Is NOT This script is not a prediction engine. It is not financial advice. It is not an auto-trading system. It does not provide guaranteed entry or exit signals. It is not a generic breakout indicator. It is not a simple reversal marker. ⚠️ Limitations & Transparency EMA bias can lag during fast reversals. Failure windows may miss slow-developing traps. Low-liquidity markets can produce misleading wick behavior. High volatility can make attempt zones wider or less stable. Timeframe differences can change how continuation attempts appear. The script is designed for structured interpretation, not certainty. 🧠 Market Context Notes Failed continuation traps often matter most when traders are leaning heavily in one direction and price fails to reward that pressure. The same failed attempt can have different meaning in a strong trend, range, liquidity sweep, or volatility shock. The script should be read together with broader structure, volume, liquidity, and trend context. 🧾 Use Case Examples • If price attempts upside continuation and then closes back below the attempt level with a strong upper wick, the script may show long-trap context. • If price attempts downside continuation and then rejects back above the attempt level, the script may show short-trap context. • If price continues beyond the pressure rail after a trap, the script may show opposite-pressure confirmation. 🧱 System Philosophy Failed Continuation Trap Map is part of the AGPro Series approach to decision-support tools: clear structure, premium chart readability, honest interpretation, and no promise of certainty. The goal is to help traders see when continuation logic breaks, without turning every failure into a forced reversal signal. 🔐 Non-Promise Statement No script can know the future. No failed continuation guarantees reversal. No signal should be interpreted without broader market context. 📉 Risk Disclosure Trading involves risk. Markets can move unpredictably. This script is for educational and analytical purposes only. It does not provide financial advice or guaranteed trading outcomes. Users remain responsible for their own decisions. 📚 Educational Note Use this script to study how continuation attempts fail and how trapped participants can affect the next phase of market behavior. The value is not only in the trap label. The value is in learning when a continuation narrative is accepted, rejected, or converted into opposite pressure. Индикатор Pine Script®от AGProLabs9
Impulse Correction Balance Map [AGPro Series]Impulse Correction Balance Map 🧠 Core Idea Is the current correction still healthy compared with the prior impulse, or is the impulse losing structural balance? 📌 Overview / What it does Impulse Correction Balance Map is a rule-based impulse and correction visualization tool designed to compare the current pullback with the prior directional swing leg. The script identifies a valid bullish or bearish impulse, measures correction depth, maps the healthy-to-balanced correction pocket, and highlights whether price is still respecting the impulse structure or moving into failure risk. It does not predict price direction, automate trades, or guarantee continuation after a pullback. It is a structured market-structure and wave-analysis tool for reading impulse strength, correction depth, balance, continuation, and failure context. 🎯 Purpose & Design Philosophy Many pullback tools mark a retracement or draw generic Fibonacci levels. This script was built to answer a more practical question: Is the correction proportionate to the impulse that created it? The design goal is to help traders evaluate pullbacks as part of a complete impulse-correction relationship instead of treating every retracement as equal. ⚡ Why This Script Is Different Most tools focus on static retracement levels, generic trend strength, or simple pullback labels. This script does NOT mark every pullback as a clean opportunity. Instead, it builds the impulse leg first, measures the correction against that leg, separates healthy correction, balanced pullback, deep correction, continuation, and failure risk, then displays the story through premium chart visuals and a compact AG Pro panel. ⚙️ Methodology 1. Swing Detection The script uses confirmed swing pivots to identify meaningful bullish or bearish impulse legs. 2. Impulse Validation An impulse must meet a minimum ATR-normalized size before it becomes the active reference leg. 3. Correction Mapping After the impulse forms, the script tracks the deepest correction point and calculates retracement depth as a percentage of the impulse. 4. Balance Evaluation Correction depth is classified into healthy, balanced, deep, continuation, or failure states. 5. Visual Output The chart displays the impulse box, correction pocket, depth ladder, centered pocket label, right-side tags, event labels, alerts, and a compact AG Pro decision panel. 🗺️ How to Read the Chart Impulse Box = the prior validated directional swing leg. Correction Pocket = the projected healthy-to-balanced retracement area. Depth Ladder = reference rails for shallow, balanced, and deep correction zones. Centered Pocket Label = the main visual anchor for the active balance pocket and quality score. Right-Side Tags = current correction depth, balance state, and continuation reference. Event Labels = key moments such as healthy correction, deep correction, continuation, or correction failure. Panel = summarizes balance state, impulse direction, correction depth, impulse size, quality score, next context, and timeframe. 🚦 Signals & States • HEALTHY CORRECTION → correction depth remains shallow relative to the impulse. • BALANCED PULLBACK → correction is deeper but still inside the normal balance area. • DEEP CORRECTION → correction is pressing into a riskier retracement zone. • HIGH FAILURE RISK → correction is beyond the preferred balance area. • CONTINUATION → price extends beyond the impulse end in the impulse direction. • CORRECTION FAIL → price invalidates the impulse start area. • WAIT IMPULSE → no valid impulse reference is active yet. 🔔 Alerts Logic Alerts trigger when a major impulse-correction state appears. • Healthy Correction → correction remains inside the healthy retracement area. • Deep Correction Risk → correction depth moves into the deep-correction risk area. • Continuation Trigger → price breaks beyond the impulse end in the impulse direction. • Correction Failure → correction invalidates the impulse start area. Alerts are attention markers, not trade instructions. 🧩 Confluence Logic The context becomes stronger when: • The impulse leg is large enough relative to ATR • Correction depth remains proportionate • Price respects the balance pocket • Continuation appears after a controlled correction • The panel state agrees with the event label • Broader trend structure supports the impulse direction If these elements do not align, the script avoids forcing a continuation interpretation. 📊 When to Use • Trend continuation analysis • Pullback evaluation • Swing structure review • Crypto, forex, stocks, and index markets • Wave-style impulse and correction studies • 1H, 4H, and daily charts • Markets with clear directional legs and retracement behavior ⚠️ When NOT to Use • Very low-liquidity symbols • Extremely choppy markets with no clear swing structure • News-driven candles where pivots may be distorted • Ultra-low timeframes with excessive noise • Markets where every pullback is immediately invalidated by volatility • Situations where a single retracement should not be treated as a standalone decision 🎛️ Key Inputs • Swing Pivot Length → controls how swing highs and lows are confirmed. • Minimum Impulse ATR → defines how large the impulse must be before it becomes active. • ATR Length → normalizes impulse size, label spacing, and correction context. • Healthy Correction Max % → defines the upper boundary of the shallow correction zone. • Balance Correction Max % → defines the upper boundary of the balanced correction zone. • Deep Correction Max % → defines the deep-correction risk boundary. • Projection Bars → controls how far correction pockets, rails, and tags project. • Label Font Size → controls chart label and tag text size. • Panel Font Size → controls panel text size. 🖥️ Interface & Visual Design The visual hierarchy is built around the impulse-correction relationship. The impulse box shows the directional leg. The correction pocket shows where a controlled retracement can remain balanced. The depth ladder shows where the correction becomes shallow, balanced, deep, or risky. The centered badge makes the pocket readable at first glance. The AG Pro panel summarizes the current state without forcing the user to inspect every level manually. 🧪 Practical Usage Workflow 1. Wait for a valid impulse leg to appear. 2. Check the correction pocket and depth ladder. 3. Read the current balance state in the panel. 4. Watch whether the correction stays healthy, becomes deep, or fails. 5. Look for continuation only after the correction context remains controlled. 6. Interpret the result inside broader trend, liquidity, and volatility context. 🔍 Interpretation Guidelines A healthy correction does not guarantee continuation. It means the retracement is still proportionate to the prior impulse. A deep correction does not guarantee reversal. It means the pullback is approaching an area where the original impulse is less structurally clean. A continuation trigger does not guarantee follow-through. It means price extended beyond the impulse end according to the script's rule set. A correction failure is a structural warning, not a trading command. 🚫 What This Script Is NOT This script is not a prediction engine. It is not financial advice. It is not an auto-trading system. It does not provide guaranteed entry or exit signals. It is not a standard Fibonacci retracement tool. It is not a full Elliott Wave counter. ⚠️ Limitations & Transparency Swing detection depends on pivot confirmation, so signals can appear after pivots are confirmed. Timeframe differences can change impulse and correction structure. High volatility may cause correction depth to expand quickly. Low-liquidity markets may produce unreliable swing pivots. The script is designed for structured interpretation, not certainty. 🧠 Market Context Notes Impulse-correction behavior is strongest when the market has a clear directional leg, a readable retracement, and enough liquidity for swing structure to matter. The same correction depth can mean different things in a strong trend, a range, or a volatility shock. The script should be read together with broader structure, volume, volatility, and market regime. 🧾 Use Case Examples • If a bullish impulse forms and the correction remains shallow, the map may show healthy correction context. • If a bearish impulse forms and price retraces deeply against it, the map may show deep correction or failure risk. • If price breaks beyond the impulse end after a controlled correction, the map may show continuation. 🧱 System Philosophy Impulse Correction Balance Map is part of the AGPro Series approach to decision-support tools: clear structure, premium chart readability, honest interpretation, and no promise of certainty. The goal is to help traders understand the relationship between impulse strength and correction depth without turning analysis into signal spam. 🔐 Non-Promise Statement No script can know the future. No correction depth guarantees continuation or reversal. No signal should be interpreted without broader market context. 📉 Risk Disclosure Trading involves risk. Markets can move unpredictably. This script is for educational and analytical purposes only. It does not provide financial advice or guaranteed trading outcomes. Users remain responsible for their own decisions. 📚 Educational Note Use this script to study how impulses and corrections relate to each other. The value is not only in the label. The value is in learning whether a pullback is proportionate, stretched, balanced, or structurally weak compared with the impulse that came before it. Индикатор Pine Script®от AGProLabs12
Stop Cluster Magnet Map [AGPro Series]Stop Cluster Magnet Map 🧠 Core Idea Where are clustered stops likely sitting, and is price being pulled toward them or rejecting after a sweep? 📌 Overview / What it does Stop Cluster Magnet Map is a rule-based liquidity and market-structure visualization tool designed to identify repeated swing-high and swing-low areas where stop orders may cluster. The script maps upper and lower stop-cluster zones, grades their quality, tracks magnet pressure, and highlights potential sweep or rejection behavior after price interacts with those zones. It does not predict future price direction, automate trades, or claim that any stop cluster must be taken. It only visualizes structural conditions that may deserve attention. 🎯 Purpose & Design Philosophy This script was built to solve a common chart-reading problem: traders often talk about liquidity above highs or below lows, but many tools do not clearly separate clustered stop areas from random swing points. The design goal is to make stop-cluster context visible at a glance without turning the chart into a noisy signal machine. It helps traders who study price action, liquidity sweeps, equal highs, equal lows, stop hunts, and structural reaction zones. ⚡ Why This Script Is Different Most tools mark every swing high or swing low as if each level has the same importance. This script does NOT treat every pivot as meaningful liquidity. Instead, it looks for repeated nearby swing points, builds a mapped stop-cluster zone, grades the cluster, tracks magnet pressure, and separates sweep behavior from simple proximity. ⚙️ Methodology 1. Context Detection The script detects confirmed swing highs and swing lows using a configurable pivot length. 2. Reference Mapping Nearby repeated swing highs are grouped into an upper stop cluster, while nearby repeated swing lows are grouped into a lower stop cluster. 3. Reaction Evaluation The script evaluates distance, recency, number of touches, sweep events, and post-sweep close behavior. 4. Visual Output The active stop-cluster zones, magnet rail, right-side tags, event labels, and decision panel are displayed using a clean AGPro visual hierarchy. 🗺️ How to Read the Chart Zones represent areas where repeated highs or lows have created potential clustered stops. Labels identify important events such as upper stops, lower stops, magnet pressure, and sweep behavior. Colors follow the AGPro visual language: teal for lower-side or recovery-oriented context, pink for upper-side or risk-oriented context, yellow for neutral attention, and indigo for magnet reference. The panel summarizes the current magnet state, score, upper/lower cluster quality, cluster prices, sweep risk, next context, and active timeframe. 🚦 Signals & States • UPPER STOPS → repeated swing highs have formed a valid upper stop cluster • LOWER STOPS → repeated swing lows have formed a valid lower stop cluster • UPSIDE MAGNET → price is near a higher-quality upper stop cluster • DOWNSIDE MAGNET → price is near a higher-quality lower stop cluster • UPPER SWEEP → price moved above the upper cluster and closed back inside • LOWER SWEEP → price moved below the lower cluster and closed back inside • BALANCED CLUSTERS → both upper and lower clusters are active, with no dominant side 🔔 Alerts Logic Alerts can trigger when a new upper or lower stop cluster becomes valid, when price sweeps a stop cluster and closes back inside, or when the dominant magnet side changes. These alerts are attention markers only. They are not buy or sell signals. 🧩 Confluence Logic (Optional) The context becomes stronger when a valid stop cluster has multiple touches, remains recent, price approaches the cluster, and sweep behavior appears with a close back inside the mapped zone. Cluster quality plus proximity plus reaction behavior creates a stronger read than any single condition alone. 📊 When to Use • Around equal highs or equal lows • During range-bound markets where stop pools may form • Before or after liquidity sweeps • When price is approaching a visible cluster of prior swing points • When evaluating whether a move is targeting external liquidity ⚠️ When NOT to Use • In extremely illiquid markets • During chaotic news-driven candles • When price history is too short to build reliable clusters • When the chart is dominated by random spikes rather than readable structure • As a standalone entry or exit system 🎛️ Key Inputs • Swing Pivot Length → controls how swing highs and lows are confirmed • Cluster Validity Lookback → controls how long a cluster remains relevant • Minimum Cluster Touches → controls how many nearby pivots are needed • Cluster Width ATR → controls how wide each stop-cluster grouping can be • Magnet Nearness ATR → controls how sensitive magnet proximity becomes • Visual settings → control zones, labels, right-side tags, panel, and font sizes 🖥️ Interface & Visual Design The interface is designed for fast chart reading. The panel gives the current decision context. Zones show where clustered stops may sit. Labels mark key events. Right-side tags keep current levels readable without forcing the trader to inspect every candle. The layout is intentionally clean, premium, and structured for public-chart screenshots. 🧪 Practical Usage Workflow 1. Read the panel to identify the current magnet state. 2. Check whether the upper or lower stop-cluster zone is active. 3. Watch how price behaves near the mapped cluster. 4. Evaluate whether a sweep closes back inside or continues beyond the zone. 5. Use broader market context before making any decision. 🔍 Interpretation Guidelines A strong stop cluster does not mean price must move there. A sweep does not automatically mean reversal. The best interpretation comes from combining cluster quality, distance, market structure, volume behavior, volatility, and the trader's own higher-timeframe context. 🚫 What This Script Is NOT This script is not a prediction engine. It is not financial advice. It is not an automated trading system. It does not provide guaranteed signals. It does not know where actual broker stop orders are placed. ⚠️ Limitations & Transparency The script estimates stop-cluster areas using visible chart structure only. Different timeframes may show different clusters. High volatility can expand zones and change quality scores quickly. Market conditions can shift, and a previously important cluster may lose relevance over time. 🧠 Market Context Notes (Optional) Stop clusters often matter because repeated highs and lows can become obvious reference points. When many traders see the same level, price may react around that area, sweep it, reject from it, or continue through it. This script is designed to make that structural pressure easier to observe. 🧾 Use Case Examples (Optional) When price approaches an upper stop cluster with a high quality score, the trader can monitor whether the market sweeps above it and closes back inside. When lower stops cluster beneath a range, the trader can watch whether price is being pulled toward downside liquidity or rejecting before reaching it. 🧱 System Philosophy (Advanced) The AGPro approach focuses on structured decision support, not hype. This script turns repeated swing references into a readable liquidity map so traders can evaluate context instead of reacting to isolated candles. 🔐 Non-Promise Statement No script can guarantee outcomes. Stop-cluster mapping is a contextual tool, not certainty. 📉 Risk Disclosure Trading involves risk. Users are fully responsible for their own analysis, risk management, and trading decisions. This script is provided for educational and analytical purposes only and does not constitute financial advice. 📚 Educational Note (Optional) Use this tool to study how repeated highs, repeated lows, sweeps, and reactions appear across different timeframes. The goal is to improve market observation, not to replace disciplined analysis.Индикатор Pine Script®от AGProLabs4
Historical Liquidity Proximity Heatmap [LuxAlgo]The Historical Liquidity Proximity Heatmap indicator highlights historical swing levels closest to the current price, using a volumetric heatmap to visualize potential areas of support and resistance. One buy-side and sell-side volume-weighted average is also returned to provide clear breakout indications. 🔶 USAGE This tool is designed to identify where significant liquidity resides by tracking historical pivot points and sorting them based on their proximity to the current price. By focusing on levels nearest to the market, traders can see a real-time "map" of potential structural obstacles or targets. 🔹 Identifying Liquidity Clusters The indicator plots dots representing the nearest historical pivot highs (above price) and pivot lows (below price). When multiple dots are tightly packed together, it indicates a significant liquidity zone where historical price action was concentrated. The color of these dots is determined by the volume recorded at the time the pivot was formed: High-Contrast Colors: Represent pivots formed on high volume, suggesting stronger institutional interest or "heavier" liquidity. Low-Contrast Colors: Represent pivots formed on lower volume, which may represent lighter liquidity zones. 🔹 Level Tests and Sweeps Traders can monitor how price reacts as it approaches the nearest dots. If price touches a dot and immediately rejects, it confirms the historical level as active resistance or support. A "Liquidity sweep" occurs when price moves rapidly through one or more dots, clearing the nearest historical structures before a potential reversal or continuation. 🔹 Breakouts and Volumetric Averages The indicator includes two dashed lines representing the Volume-Weighted Swing Average of the displayed liquidity points. Volume-Weighted Highs: A dotted red line representing the average price of the nearest P pivot highs, weighted by their historical volume. Volume-Weighted Lows: A dotted green line representing the average price of the nearest P pivot lows, weighted by their historical volume. A breakout above or below these Volumetric Averages suggests that the market has cleared the weighted "supply" or "demand" of the immediate vicinity, often leading to increased volatility. 🔶 DETAILS The script maintains a historical buffer of pivots. On every bar, the script filters all stored pivots to identify those currently above the price (highs) and those currently below the price (lows). These filtered levels are then sorted by price distance. The top P closest levels are selected for display. This ensures that the heatmap always focuses on the most relevant price levels regardless of how far the market has moved from older structures. The color themes (Viridis, Magma, etc.) are perceptually uniform, meaning the transition from low-volume colors to high-volume colors is mathematically linear to the human eye, making it easier to gauge relative "liquidity weight" at a glance. 🔶 SETTINGS 🔹 Pivots Pivot Left/Right Length: Determines the sensitivity of the pivot detection. Larger values find more significant structural swings, while smaller values find more frequent, minor levels. Historical Buffer Size: Controls how many historical pivots the script stores in memory. A larger buffer allows the script to track older historical levels. 🔹 Display Number of Points (P): Sets the maximum number of closest levels to display and include in the Volumetric Average calculation. Dot Transparency: Adjusts the visibility of the heatmap dots on the chart. Color Theme: Allows selection between different heatmap palettes (Viridis, Inferno, Magma, Plasma, Cividis, Turbo) to represent volume intensity.Индикатор Pine Script®от LuxAlgo44810
XAUUSD RSI Swing Structure [MatsukazeAlgo]🇬🇧 ENGLISH Most Market Structure indicators use price pivots alone. This one uses RSI extremes to filter which swings actually matter. A swing high only forms when RSI reaches overbought. A swing low only forms when RSI reaches oversold. Small pullbacks that never push RSI to extremes are ignored. What remains are momentum-confirmed structure shifts. Based on RSI Swing Structure Indicator by ergunoz . Gold-optimized with 6 additions. How RSI-Based Swing Detection Works The indicator tracks RSI state transitions, not price pivots. When RSI moves from oversold to overbought, a new swing high is confirmed. It is classified as HH (Higher High) or LH (Lower High) by comparing against the previous swing high. When RSI moves from overbought to oversold, a new swing low is confirmed. It is classified as HL (Higher Low) or LL (Lower Low) by comparing against the previous swing low. While RSI remains in an extreme zone, the swing updates to the highest high or lowest low within that zone. Once RSI leaves the extreme, the swing is locked. Session-Adaptive RSI Thresholds Gold produces different swing patterns per session. The indicator adjusts RSI sensitivity to match. Asia (19:00–03:00 ET): RSI 65/35. Softer thresholds detect more swings. Gold's Asia session is dominated by stop runs and reversals. Catching these smaller swings early helps identify the structure that London will break or respect. London (03:00–09:00 ET): RSI 70/30. Standard thresholds filter for momentum-backed swings only. Breakouts during London carry real institutional flow. NY (09:00–17:00 ET): RSI 70/30. Same as London. NY momentum is real. Daily and higher timeframes use the standard 70/30 regardless of session. The dashboard shows the active RSI thresholds (e.g. "Asia 65/35") so you always know which sensitivity is running. CHoCH and BOS Detection The indicator tracks the sequence of swing types to detect structural shifts. CHoCH (Change of Character): The swing sequence breaks the current trend. A bullish structure producing a Lower High or Lower Low signals CHoCH. Labels turn gold-colored. BOS (Break of Structure): The swing sequence continues the current trend. A bullish structure producing another Higher High confirms continuation. Labels turn blue-gray. The dashboard shows the current structure bias (BULLISH / BEARISH / NEUTRAL). DXY Bias Swing labels include a "$" marker when the swing aligns with the US Dollar trend. Higher Lows and Higher Highs formed while DXY weakens get the marker, confirming that Gold strength has macro support. Lower Highs and Lower Lows formed while DXY strengthens get the marker, confirming bearish pressure. Psych Level Awareness (off by default) When enabled, swings near $50 or $100 round numbers display a ★ marker. Gold respects round numbers. A CHoCH at $3,300 carries more weight than one at $3,317. Dashboard Top-right panel shows current session with RSI thresholds, DXY state, structure bias, last swing types, and current RSI value. Credits Original RSI swing detection concept by ergunoz . Session-adaptive thresholds, CHoCH/BOS detection, DXY integration, psych level awareness, and Gold-specific tuning by MatsukazeAlgo. --- 🇯🇵 日本語 ほとんどのMarket Structureインジケーターは価格のピボットだけを使う。このインジケーターはRSIの極値でスイングをフィルターし、本当に意味のあるスイングだけを検出する。 RSIが買われすぎに到達した時だけスイングハイが形成される。RSIが売られすぎに到達した時だけスイングローが形成される。RSIが極値まで振れない小さなプルバックは無視される。残るのはモメンタムで確認された構造変化のみ。 ergunozのRSI Swing Structure Indicatorをベースに、ゴールド専用の6つの改良を追加。 RSIベースのスイング検出 RSIが売られすぎ → 買われすぎに遷移 = 新しいスイングハイ確定(HH or LH) RSIが買われすぎ → 売られすぎに遷移 = 新しいスイングロー確定(HL or LL) RSIが極値にいる間、スイングは最高値/最安値に更新される。RSIが極値を離れたらスイングが確定。 セッション別RSI閾値 アジア(19:00–03:00 ET):RSI 65/35。緩い閾値でより多くのスイングを検出。ストップ狩りと反転が多いアジアの構造を早期に捕捉。 ロンドン(03:00–09:00 ET):RSI 70/30。標準閾値。モメンタムが伴ったスイングのみ通す。 NY(09:00–17:00 ET):RSI 70/30。ロンドンと同じ。 日足以上は標準70/30。 CHoCH / BOS検出 CHoCH(Change of Character):スイング構造がトレンドを崩す。Bullish構造でLHまたはLLが出現 = 転換。ゴールド色ラベル。 BOS(Break of Structure):スイング構造がトレンドを継続。Bullish構造で再びHH = 継続。ブルーグレーラベル。 DXYバイアス DXYが弱い時のBullスイングに「$」マーカー。DXYが強い時のBearスイングに「$」マーカー。マクロ環境との整合を視覚化。 心理的価格帯(デフォルトOFF) ONにすると、$50/$100付近のスイングに「★」マーカー。$3,300でのCHoCHは$3,317でのCHoCHより重みがある。 ダッシュボード Session + RSI閾値 / DXY / Structure(BULLISH/BEARISH) / Last Swing / RSI値。Индикатор Pine Script®от MatsukazeAlgo124
NORN WEAVE | URUZ Overview NORN WEAVE ᚢ URUZ is the second version of NORN WEAVE ᚠ FEHU. The core logic — EMA slope, Dow Theory swing structure, ADX trend confirmation — is unchanged. What changed is the settings. FEHU had too many parameters to configure manually. URUZ reduces that friction in three ways. Focus Level replaces the raw EMA period with a single knob. Set the swing detection period, and the EMA scales automatically. One number instead of two. Auto Calibration computes the ADX threshold, ATR factor, and Stop Loss directly from the chart's volatility data. When enabled, you don't need to touch those values at all. Break Even Stop now has a single parameter: how far price must move before the stop activates. The stop is always placed at entry price — no buffer to configure, no edge cases. The philosophy hasn't changed. Survival first, profit second. Entry Conditions - Long: EMA rising AND Dow Theory trend up AND ADX above threshold AND Footprint Delta bullish (if filter enabled) - Short: EMA falling AND Dow Theory trend down AND ADX above threshold AND Footprint Delta bearish (if filter enabled) Exit Conditions - TP1 — ATR × Factor × 1 → closes 30% of position - TP2 — ATR × Factor × 2 → closes another 30% - TP3 — ATR × Factor × 3 → closes a further 30% - Stop Loss — fixed % from entry → closes full position - Break Even Stop — once floating profit reaches the BE trigger %, stop moves to entry price and closes on pullback - Trend Reversal — when Dow Theory swing flips → closes full position Focus Level & Auto Calibration Focus Level is the primary control knob. It sets the swing detection period, and the EMA period is derived automatically (Focus Level × EMA Scale Ratio, default ×5). Adjust Focus Level first when applying to a new symbol or timeframe — everything else follows. Auto Calibration computes three values from the chart's own data: - ADX Threshold — 50th percentile of ADX over 300 bars. The strategy only enters when the current ADX exceeds its own historical median, filtering weak trends automatically. - ATR Factor — shifts based on current volatility vs. the 200-bar average. High volatility → tighter targets. Low volatility → wider targets. - Stop Loss — 50-bar smoothed ATR × 3.5, clamped between -5% and -20%. When Auto Calibration is off, the Manual Tune group values are used instead. Break Even Stop Once price moves the BE Trigger % from entry, the stop is placed exactly at the entry price. The position closes if price returns to break-even. One parameter to set — how far price must travel before the stop activates. The stop position is always entry. Footprint Delta Filter (Premium plan required) Uses BTC or ETH footprint delta (buy volume − sell volume) as a directional confirmation filter. Blocks entries when order flow contradicts the trade direction. Meaningful reduction in false signals during ranging and choppy markets. Parameters - Focus Level (default 13) — Main knob. Controls swing detection and EMA scaling. Adjust first when changing asset or timeframe. - EMA Scale Ratio (default 5) — EMA length = Focus Level × this value. Default gives EMA 65. - Auto Calibration (default ON) — Computes ADX threshold, ATR factor, and SL from chart data automatically. - BE Trigger % (default 5.5%) — How far price must move from entry before the BE stop activates. Recommended: 50–70% of |SL|. - ATR Factor — active when Auto Calibration is OFF. Controls TP distance. Default 3.8. - Stop Loss % — active when Auto Calibration is OFF. Default -10.0%. - ADX Threshold — active when Auto Calibration is OFF. Default 20.5. - Footprint SMA Period (default 21) — Smoothing period for delta signal. Recommended Settings - Meme coins (DOGE, SHIB): Focus 10–15, Auto Calibration ON, BE trigger 6–10% - Major assets (BTC, ETH): Focus 13–18, Auto Calibration ON, BE trigger 4–7% - Mid-cap alts (SOL, SUI, ADA): Focus 12–16, Auto Calibration ON, BE trigger 5–8% For timeframe selection, ADX threshold 15–20 suits 1–5 min charts, 18–23 for 15 min–1H, and 20–25 for 2–4H charts. Default settings are optimized for the 2H timeframe. Visual Guide - EMA line — 3-layer glow effect. Teal when rising, red when falling. - Dow Theory zones — gradient fill from the current swing level to the current price. - TP lines — semi-transparent. TP1 faintest, TP3 most visible. - BE Stop line — gold, appears only when the break even stop is active. - Gray background — ADX below threshold. No entries occur in this zone. - Orange background — Footprint Delta Filter is blocking entry. - Orange warning bar — Auto Calibration is OFF. Manual mode is in effect. - Status table — real-time display of all conditions, current parameter values, and mode. Japanese/English toggle included. 概要 NORN WEAVE ᚢ URUZ は、NORN WEAVE ᚠ FEHU の第2バージョンです。エントリーのコアロジック——EMAの傾き・ダウ理論のスイング構造・ADXトレンド確認——は変わっていません。変わったのは設定です。 FEHUは手動で調整するパラメーターが多すぎました。URUZはその煩わしさを3つの形で減らしています。 フォーカスレベル は、EMA期間という直感的でない数値を一本のノブに置き換えます。スイング検出期間を設定するだけで、EMAが自動的にスケールします。2つの数値が1つになりました。 オートキャリブレーション をONにすると、ADXしきい値・ATR倍率・ストップロスがチャートのボラティリティデータから自動算出されます。有効にしていれば、これらの値に触れる必要はありません。 ブレークイーブンストップ の設定項目は一つになりました——「何%動いたら発動するか」だけです。ストップ位置は常に建値(エントリー価格)で固定。バッファーの設定も、落とし穴もありません。 哲学は変わっていません。 まず生き残る、利益はその次。 エントリー条件 - ロング: EMA上向き AND ダウ理論上昇トレンド AND ADXしきい値以上 AND フットプリントデルタ買い優勢(フィルター有効時) - ショート: EMA下向き AND ダウ理論下降トレンド AND ADXしきい値以上 AND フットプリントデルタ売り優勢(フィルター有効時) イグジット条件 - TP1 — ATR×倍率×1 → ポジションの30%を決済 - TP2 — ATR×倍率×2 → さらに30%を決済 - TP3 — ATR×倍率×3 → さらに30%を決済 - ストップロス — エントリーから設定%に達したらポジションを全決済 - ブレークイーブンストップ — 含み益がBE発動しきい値%に達したら、ストップが建値に移動。価格が戻ったら全決済 - トレンド反転 — ダウ理論のスイングが逆転した時点でポジションを全決済 フォーカスレベルとオートキャリブレーション フォーカスレベル は主軸の操作ノブです。スイング検出期間を設定し、EMA期間はフォーカスレベル×EMAスケール倍率(デフォルト×5)で自動決定されます。新しい銘柄・時間足に適用するときは、まずここを調整してください。 オートキャリブレーション はチャート自身のATR履歴を読み取り、3つの値をリアルタイムで算出します。 - ADXしきい値 — 過去300本のADXの50パーセンタイル(中央値)から算出。現在のADXが過去の中央値を超えているときのみエントリー。 - ATR倍率 — 現在のボラティリティを200本平均と比較して動的に変化。高ボラ時はTPを短く、低ボラ時はTPを長く。 - ストップロス — 50本平滑ATR×3.5で算出し、-5%〜-20%の範囲にクランプ。 オートキャリブレーションをOFFにすると、マニュアルチューングループの値が使われます。 ブレークイーブンストップ エントリーからBE発動しきい値%以上動いたら、ストップがエントリー価格(建値)に設定されます。価格が建値まで戻った時点でポジションが決済されます。設定項目は一つ——「何%動いたら発動するか」だけ。ストップ位置は常に建値です。 フットプリント・デルタフィルター (Premiumプラン以上が必要) BTCまたはETHのフットプリント・デルタ(買い出来高から売り出来高を引いた値)を方向性確認フィルターとして使用します。オーダーフローがトレードの方向と逆行しているときはエントリーをブロックします。横ばい・荒れた相場でのだましシグナルを大幅に削減します。 パラメーター - フォーカスレベル(デフォルト13)— 主軸ノブ。銘柄・時間足変更時はここを最初に調整。 - EMAスケール倍率(デフォルト5)— EMA期間 = フォーカスレベル × この値。デフォルトでEMA65。 - オートキャリブレーション(デフォルトON)— ADXしきい値・ATR倍率・SLをチャートデータから自動算出。 - BE発動しきい値%(デフォルト5.5%)— エントリーからこの%動いたらBEストップが発動。推奨:|SL|の50〜70%。 - ATR倍率(手動)— オートキャリブレーションOFF時に有効。デフォルト3.8。 - 損切り%(手動)— オートキャリブレーションOFF時に有効。デフォルト-10.0%。 - ADXしきい値(手動)— オートキャリブレーションOFF時に有効。デフォルト20.5。 - フットプリントSMA期間(デフォルト21)— デルタシグナルの平滑化期間。 銘柄タイプ別おすすめ設定 - ミーム系(DOGE・SHIB): フォーカス10〜15、オートキャリブレーションON、BE発動6〜10% - 主要銘柄(BTC・ETH): フォーカス13〜18、オートキャリブレーションON、BE発動4〜7% - 中堅アルト(SOL・SUI・ADA): フォーカス12〜16、オートキャリブレーションON、BE発動5〜8% 時間足については、1〜5分足ではADXしきい値15〜20、15分〜1時間足では18〜23、2〜4時間足では20〜25を推奨します。デフォルト設定はADA 2時間足向けに最適化されています。 チャートの見方 - EMAライン — 3層グロー効果。上向きはティール、下向きはレッド。 - ダウ理論ゾーン — 現在のスイングレベルから現在価格へのグラデーション。 - TPライン — 半透明。TP1が最も薄く、TP3が最も濃い。 - BEストップライン — ゴールド。BEストップが発動している間のみ表示。 - グレー背景 — ADXがしきい値以下。このゾーンではエントリーが発生しない。 - オレンジ背景 — フットプリント・デルタフィルターがエントリーをブロック中。 - オレンジ警告 — オートキャリブレーションがOFF。手動モードが有効。 - ステータステーブル — 全エントリー条件・現在のパラメーター値・モードをリアルタイム表示。日本語・英語切り替え対応。 Стратегия Pine Script®от mm_mitsuyaОбновлено 35
Failed Reclaim Planner [AGPro Series]Failed Reclaim Planner 🧠 Core Idea Did price lose a visible swing shelf, retest it, and fail to reclaim that level with enough rejection quality, risk clarity, and continuation room to matter? 📌 Overview / What it does Failed Reclaim Planner is a chart-first failed reclaim decision engine built around visible swing shelves. The script identifies when price breaks a confirmed swing high or swing low shelf, watches the retest of that broken level, and evaluates whether the reclaim attempt fails with enough rejection quality to become meaningful context. It produces visible shelf zones, failed reclaim pockets, BULL / BEAR quality labels, planning room bands, risk / target guides, and a compact AGPro panel with a 0-100 failure score, rejection quality, room, and next-action state. This script does not predict price direction or automate execution. It is designed to organize reclaim-failure context so traders can review structure, risk, and room more clearly. 🎯 Purpose & Design Philosophy The script was built for traders who want more than another signal marker. Most reclaim tools show whether price crossed a level. Failed Reclaim Planner focuses on the decision process after a visible shelf breaks: was the retest valid, did the reclaim fail, how strong was the rejection, where is invalidation, and is there enough room for the idea to matter? The design supports a planning mindset: identify the broken shelf, wait for the retest, evaluate the failed reclaim, check room, and then decide whether the context deserves attention. ⚡ Why This Script Is Different Most tools focus on fixed references such as VWAP, moving averages, prior-day levels, or broad support/resistance zones. This script does NOT act as a generic S/R scanner, VWAP reclaim indicator, EMA reclaim map, previous-day sweep tool, or liquidity sweep engine. Instead, it focuses on one narrow workflow: failed reclaim planning after a visible swing shelf breaks. The reference level is visible on the chart, the failure pocket is mapped, the rejection is scored, and the panel summarizes the next action. ⚙️ Methodology 1. Swing Shelf Detection The script confirms visible swing highs and swing lows using left/right pivot structure. 2. Shelf Break Activation When price closes beyond a confirmed shelf with enough ATR-adjusted separation, that shelf becomes an active reclaim reference. 3. Retest and Failure Evaluation During the retest window, the script checks whether price returns into the shelf area and then rejects the reclaim. The failure score evaluates retest depth, close rejection, wick quality, volume participation, follow-through, and continuation room. 4. Planning Output Qualified events create a scored BULL / BEAR label, a failed reclaim pocket, planning room band, invalidation guide, target-room guide, and panel state. 🗺️ How to Read the Chart Shelf Zones = visible broken swing shelves that price may attempt to reclaim. Failure Pockets = highlighted reclaim-failure areas where the retest rejected the broken shelf. Planning Room Bands = projected continuation room after a qualified failed reclaim. These are planning references, not targets or promises. Score Labels = compact BULL / BEAR labels showing the failure quality score. Risk / Target Guides = dashed and dotted reference lines that help locate invalidation and continuation room. Panel = the decision layer showing Reclaim State, Failure Score, Rejection Quality, Room, and Action. 🚦 Signals & States • UP SHELF → a visible swing high was broken and is now monitored as a reclaim shelf. • DN SHELF → a visible swing low was broken and is now monitored as a reclaim shelf. • Bear Failure Active → bearish failed reclaim context is active after a broken shelf retest. • Bull Failure Active → bullish failed reclaim context is active after a broken shelf retest. • Failure Score → 0-100 quality score for the reclaim failure. • Rejection Quality → how cleanly price rejected the reclaim attempt. • Room → ATR-based continuation space available from the failure context. • Action → the current planning state shown in plain language. 🔔 Alerts Logic Alerts are available for: • Bearish Failed Reclaim • Bullish Failed Reclaim • New Broken Shelf • Shelf Recovered Alerts are attention markers. They are not trade instructions, automation signals, or guaranteed outcomes. 🧩 Confluence Logic The context becomes stronger when several conditions align: • A visible swing shelf has already broken • Price retests the broken shelf • The reclaim attempt fails with wick and close rejection • Participation is not weak • There is still continuation room beyond the failed reclaim When these elements align, the script treats the event as a stronger planning context. 📊 When to Use • After clear swing highs or swing lows have broken • During retests of broken structure • In trending or transitioning markets where reclaim failure can matter • When you want risk, invalidation, and room mapped visually • When you prefer decision support over raw signal spam ⚠️ When NOT to Use • Very low-liquidity charts • Extremely noisy sideways chop • News-driven spikes where ATR behavior becomes distorted • Markets with poor swing structure • Situations where you specifically need VWAP, session, or moving-average reclaim logic 🎛️ Key Inputs • Sensitivity → adjusts how quickly the script reacts to shelf breaks and failures. • Swing Left Bars / Swing Right Bars → define how visible swing shelves are confirmed. • Retest Window Bars → controls how long a broken shelf remains active for reclaim evaluation. • Minimum Failure Score → sets the quality threshold for confirmed failed reclaim events. • Shelf Buffer ATR → controls the thickness of the reclaim shelf zone. • Target Room ATR Multiple → controls fallback room projection when nearby structure is limited. • Show Planning Room Band → displays the continuation room corridor after qualified failed reclaim events. • Visual Memory Bars → controls how long historical zones, labels, and guide objects remain visible. • Panel / Label Settings → control panel location, theme, visibility, and font size. 🖥️ Interface & Visual Design The interface is designed to look like a planning tool, not a crowded signal overlay. The chart carries the core story: shelf break, retest, failed reclaim pocket, score label, planning room, and risk / target references. The panel uses the AGPro public-release standard: one merged blue header row containing only the script name. The rest of the panel summarizes the current decision state without covering the chart. 🧪 Practical Usage Workflow 1. Read the panel state. 2. Check whether a visible shelf is active or already failed. 3. Review the failed reclaim pocket and BULL / BEAR score label. 4. Compare the rejection quality with the planning room band. 5. Use risk / target guides as context references. 6. Interpret the output within broader market structure. 🔍 Interpretation Guidelines A higher Failure Score means the reclaim failure is cleaner under the script's rules. It does not guarantee continuation. Rejection Quality helps distinguish weak shelf touches from stronger failed reclaim behavior. Room shows whether there is enough practical continuation space for the context to matter. The Action row is the main planning summary. It is designed to guide review, not replace trader judgment. 🚫 What This Script Is NOT • Not a prediction engine • Not financial advice • Not auto trading • Not guaranteed signals • Not a VWAP reclaim tool • Not an EMA reclaim map • Not a previous-day sweep reclaim script • Not a generic support/resistance scanner ⚠️ Limitations & Transparency Different timeframes can produce different shelves because swing structure changes with timeframe. Volatility changes can affect shelf width, label spacing, and room projections. Low-volume conditions may weaken the reliability of wick and participation components. Sideways markets may create repeated shelf tests that require extra discretion. 🧠 Market Context Notes Failed reclaim behavior often becomes important when price loses a visible structural shelf and cannot regain that area on the retest. This is different from a successful reclaim, liquidity sweep, VWAP reclaim, or moving-average retest. The script is intentionally narrow so the chart remains focused on one decision workflow. 🧾 Use Case Examples Example 1: Price breaks below a confirmed swing low, retests that shelf from underneath, leaves rejection, and fails to reclaim. A BEAR score label appears with a failure pocket and planning room. Example 2: Price breaks above a confirmed swing high, retests the broken shelf, holds above it, and rejects back upward. A BULL score label appears with risk and room context. 🧱 System Philosophy Failed Reclaim Planner follows the AGPro decision-engine approach: Do not just show another signal. Show the reference. Score the failure. Map the risk. Map the room. Summarize the next action. 🔐 Non-Promise Statement No script provides certainty. No failed reclaim guarantees continuation. Outputs should be interpreted as structured analytical context, not as a promise of future price behavior. 📉 Risk Disclosure Trading involves risk. Users are responsible for their own decisions, position sizing, execution, and risk management. This script does not provide financial advice, investment advice, or guaranteed trading outcomes. 📚 Educational Note Use this script to study how broken swing shelves behave when price attempts to reclaim them. The strongest value comes from comparing the shelf zone, failure pocket, score label, planning room, and panel state with broader market structure and your own rules. Индикатор Pine Script®от AGProLabsОбновлено 12
Market Structure Recovery Planner [AGPro Series]Market Structure Recovery Planner 🧠 Core Idea Did damaged market structure recover with enough acceptance, risk clarity, and target room to deserve attention? 📌 Overview / What it does Market Structure Recovery Planner is a chart-first planning tool for evaluating what happens after clean swing structure gets damaged and price attempts to repair the damaged rail. The default design is strongest on 4H swing-structure charts, where the damage / recovery / repair-room sequence has enough space to be readable without becoming too sparse or too noisy. The script maps a damaged structure rail, recovery pocket, risk edge, repair-room corridor, 0-100 recovery score, acceptance state, and a clear next-action panel. It does not try to predict price or automate decisions. It is designed to make structure recovery easier to review: what broke, what was recovered, whether acceptance is building, where the plan becomes invalid, and whether enough structural room remains. 🎯 Purpose & Design Philosophy This script was built to fill the gap between generic structure labels and full break-retest systems. Many tools show a BOS, CHOCH, or support/resistance touch. Market Structure Recovery Planner focuses on the recovery phase after damage: the moment where structure may be repairing but still needs proof. It supports traders who want a decision-engine workflow instead of another raw signal marker. ⚡ Why This Script Is Different Most tools focus on detecting a structure break or plotting broad support and resistance zones. This script does NOT clone BOS / CHOCH scanners, Structure Retest Planner, Reclaim Breakout Planner, or generic S/R maps. Instead, it studies damaged swing structure and asks whether the damaged rail has been recovered with acceptance, participation, risk clarity, and enough room to matter. ⚙️ Methodology 1. Context Detection The script confirms swing structure using higher-high / higher-low or lower-high / lower-low behavior. 2. Damage Mapping When clean structure loses its prior swing rail, the script records the damaged rail and the damage extreme. 3. Recovery Evaluation Price must reclaim the damaged rail. The 0-100 score weighs damage depth, recovery close, acceptance hold, volume response, and room to target. 4. Visual Output The chart shows the recovery pocket, risk edge, repair-room corridor, event labels, and a compact AG Pro panel. 🗺️ How to Read the Chart Recovery Pocket = the area around the damaged structure rail where repair quality is evaluated. Risk Edge = the level where the active recovery plan should be reviewed as failed or invalidated. Repair Room = the available structural space between the recovered rail and the next room reference. Labels = compact state markers for damage, recovery, ready state, thin room, or failed recovery. Panel = structure state, recovery score, acceptance, risk edge, and next action. 🚦 Signals & States • Structure Damage Detected → a clean swing structure rail has been broken. • Structure Recovery Detected → price recovered the damaged rail. • Recovery Planner Ready → score, acceptance, and repair room meet the configured threshold. • Repair Room Thin → recovery exists but available room is limited. • Recovery Failed → price crossed the active risk edge. 🔔 Alerts Logic Alerts trigger when structure damage appears, recovery is detected, planner-ready state begins, repair room becomes thin, or the active recovery fails. Alerts are attention markers only. They are not trade instructions and do not imply guaranteed outcomes. 🧩 Confluence Logic The recovery context becomes stronger when structure damage is repairable, price closes back through the damaged rail, acceptance holds for several bars, volume participation improves, and room to the next structural reference remains open. 📊 When to Use • 4H swing-structure review • After a clean swing structure loses a key rail • During trend repair attempts • Around failed breakdown or failed breakout behavior • When a trader needs risk / target / invalidation context after structural damage ⚠️ When NOT to Use • Very low timeframes where structure damage appears too often • Very high timeframes where recovery states can stay expired for long periods • Extremely low-liquidity markets • Very noisy chop where swing structure changes constantly • Major news candles with abnormal displacement • Markets where volume data is unreliable and structure is too compressed 🎛️ Key Inputs • Structure Swing Length → controls how selective the swing structure model is. • Sensitivity → adjusts damage and recovery rail strictness. • Timely Recovery Window → controls how long a damaged rail remains relevant. • Planner Ready Score → sets the required quality threshold. • Panel / Label Settings → control location, theme, size, and visual density. 🖥️ Interface & Visual Design The interface is designed around a compact premium panel and clean chart-first visuals. The first panel row uses the AG Pro title format. Zones are restrained and centered, labels are offset away from candles, and the chart remains readable while still showing enough state markers to avoid an empty look. 🧪 Practical Usage Workflow 1. Read the panel structure state. 2. Check whether the damaged rail has a recovery pocket. 3. Review recovery score and acceptance. 4. Compare risk edge with repair room. 5. Treat the action row as a review state, not as an instruction. 🔍 Interpretation Guidelines Think in stages: damage, recovery, acceptance, room, and failure. A high score means the recovery context is cleaner according to the script rules. A low score means the repair is weak, late, thin, or poorly supported. 🚫 What This Script Is NOT • Not a prediction engine • Not financial advice • Not auto trading • Not guaranteed signals • Not a generic BOS / CHOCH scanner • Not a generic support / resistance zone map ⚠️ Limitations & Transparency Swing confirmation depends on the selected timeframe and pivot length. Volatility can widen recovery pockets and change the quality score. Market conditions can shift quickly, especially during news, low liquidity, or abnormal volume. 🧠 Market Context Notes Structure recovery is most useful when the trader already understands the broader trend, liquidity environment, and volatility regime. The script gives a structured review of damaged structure, not certainty about future price movement. 🧾 Use Case Examples When bullish structure loses a higher-low rail and later closes back above that rail with acceptance, the script can mark a bullish recovery review. When bearish structure loses a lower-high rail and later closes back below that rail, the script can mark a bearish recovery review. 🧱 System Philosophy Market Structure Recovery Planner follows the AGPro Series approach: clear structure, rule-based scoring, readable visuals, and decision support without outcome promises. 🔐 Non-Promise Statement No script can guarantee market direction, trade success, or certainty. This tool provides structured context only. 📉 Risk Disclosure Trading involves risk. Users are responsible for their own analysis, risk management, and decisions. This script does not provide financial advice. 📚 Educational Note Use the script to study how structure damage and recovery behave across different symbols, sessions, and timeframes. For public chart examples, 4H is the recommended default because it shows the structure-repair workflow most clearly. Индикатор Pine Script®от AGProLabs285
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. Индикатор Pine Script®от AGProLabsОбновлено 26
Swing Retest Quality [AGPro Series]Swing Retest Quality 🧠 Core Idea Is the active swing retest clean enough to treat as valid context, or is the pullback too weak, too deep, or too hard to plan? 📌 Overview / What it does Swing Retest Quality is a chart-first swing retest planner built to evaluate pullbacks into an active swing leg. The script maps a focused swing retest pocket, defense line, target-room zone, compact labels, deterministic alerts, and a clean AGPro panel. It converts swing clarity, retest depth, wick rejection, close response, and volume support into a 0-100 Retest Quality score. It does not predict future price movement, automate entries, print buy/sell commands, or replace broader market context. Its purpose is to help traders judge whether a swing retest has enough structure to deserve attention. 🎯 Purpose & Design Philosophy This script was built for traders who evaluate pullbacks, retests, and continuation structure but want a more disciplined way to judge retest quality. Many tools show structure levels or retest markers without answering the practical planning question: is this retest clean, defended, and readable enough to review? The design philosophy is simple: a retest is not useful just because price touches a level. It becomes useful when the swing reference is clear, the pullback depth is controlled, the response is readable, and risk/target context can be mapped. ⚡ Why This Script Is Different Most tools focus on support/resistance touches, break-and-retest markers, BOS/CHOCH events, or broad supply/demand zones. This script does NOT clone Break-Retest Quality, does not require a structure break first, does not map order blocks, does not create a generic S/R zone map, and does not become a broad swing scanner. Instead, it evaluates one active swing leg and asks whether the pullback into that swing has enough quality to be treated as valid context. The main output is not a trade command. It is a planner state: VALID RETEST, WATCH, DEFENSE REVIEW, LOST, or WAIT. ⚙️ Methodology 1. Context Detection The script detects confirmed swing highs and lows, then identifies the active bull or bear swing leg. 2. Reference Mapping It builds a concept-native retest pocket inside the active swing, adds a defense line behind the swing origin, and projects a target-room zone toward the swing terminal. 3. Reaction Evaluation The model scores swing clarity, retest depth, wick rejection, close response, and optional volume support. 4. Visual Output The result is displayed through a centered retest pocket, centered target-room zone, defense guide, swing leg, compact labels, alerts, and a premium AGPro panel. 🗺️ How to Read the Chart Zones = the retest pocket shows where a pullback into the active swing leg is being evaluated. The target-room zone shows the available room back toward the swing terminal or extension guide. Labels = compact event labels mark pocket tests, hold retests, watch states, room reviews, and defense-loss events. Colors = teal marks cleaner bull-side retest context, pink marks bear-side or lost-defense context, amber marks caution/review, and indigo marks watch/transition context. Panel = the panel summarizes Retest Quality, Swing Side, Defense State, Risk Room, and Action. 🚦 Signals & States • VALID RETEST → the active swing retest is holding with enough quality and room for review. • WATCH → the retest context is improving, but confirmation is incomplete. • DEFENSE REVIEW → price has tested the pocket, but quality, response, or room is not strong enough. • LOST → price has crossed the defense line and the swing context should be rebuilt. • WAIT → no active swing retest context is strong enough yet. 🔔 Alerts Logic Alerts trigger when price touches the swing retest pocket, when a valid swing retest appears, when a watch state appears, when target room becomes limited, and when the defense line is lost. These alerts are attention markers only. They are not trade instructions, entry signals, or automated strategy commands. 🧩 Confluence Logic The strongest context appears when a clear swing leg is followed by a controlled retest depth, visible wick rejection, a constructive close response, supportive relative volume, and enough target room relative to the defense line. When these components align, the Retest Quality score improves and the state can move from WATCH to VALID RETEST. 📊 When to Use • During pullbacks inside a clear directional swing • When price is retesting a prior swing leg rather than breaking a new structure level • When planning continuation context around a readable defense line • When comparing whether a pullback is clean enough to monitor or too weak to trust • On liquid symbols where pivots, candles, and volume behavior are readable ⚠️ When NOT to Use • Very low-liquidity symbols with irregular candles • Extremely noisy micro-timeframes • News-driven spikes where swing structure becomes distorted • Markets where volume is unreliable and should not affect scoring • Situations where the user expects a signal-only entry tool 🎛️ Key Inputs • Swing Pivot Length → controls how confirmed swing highs and lows are detected. • Max Swing Age → controls how long a swing leg remains active. • Shallow / Deep Pocket Depth → controls the retest pocket inside the swing leg. • Ideal Retest Depth → defines the preferred pullback depth for stronger scoring. • Defense Buffer ATR → controls the defense line behind the swing origin. • Minimum Target Room ATR → defines how much room is preferred before VALID state. • Label and Panel Font Size → controls chart labels, centered zone text, and panel readability. 🖥️ Interface & Visual Design The interface is designed to stay chart-first. The retest pocket gives the main visual story. The defense line defines where the swing context becomes weak. The target-room zone shows whether the pullback still has practical room to evaluate. The AGPro panel uses a merged blue title row and a compact decision hierarchy so the user can read state, quality, risk, and next action quickly. 🧪 Practical Usage Workflow 1. Read the panel state and Retest Quality score. 2. Check whether price has touched the swing retest pocket. 3. Review the defense line and target-room zone. 4. Evaluate whether the label says HOLD, WATCH, ROOM REVIEW, or DEFENSE LOST. 5. Compare the retest with broader trend, liquidity, volatility, and timeframe context. 🔍 Interpretation Guidelines Think in terms of retest quality, not prediction. A stronger score means multiple structural conditions are aligned. A weaker score means the swing may be unclear, the pullback may be too shallow or too deep, the response may be weak, or target room may be limited. The script helps organize the review process. It does not decide for the user. 🚫 What This Script Is NOT • Not a prediction engine • Not financial advice • Not an auto-trading system • Not a guaranteed signal tool • Not a Break-Retest Quality clone • Not a BOS/CHOCH scanner • Not a generic support/resistance zone map • Not a supply/demand, order block, or FVG map ⚠️ Limitations & Transparency • Pivot-based swing references depend on the selected Swing Pivot Length. • Scores can vary across symbols, sessions, and timeframes. • Volume support depends on exchange-provided volume data. • Fast, news-driven movement can distort retest depth and defense readings. • In Live Updating mode, active-bar values can change before the bar closes. 🧠 Market Context Notes Swing retests are most useful when the broader chart has readable structure. Liquidity, volatility, trend maturity, and higher-timeframe context can all affect whether a retest should be treated as meaningful. The script provides a structured review layer, not a complete trading system. 🧾 Use Case Examples When a bull swing is clear and price pulls back into the retest pocket, a HOLD RETEST label with a strong score indicates that the pullback response is clean enough to review. When price touches the pocket but target room is too limited, ROOM REVIEW highlights that the structure may be readable but planning space is constrained. When price crosses the defense line, DEFENSE LOST indicates that the active swing context should be rebuilt. 🧱 System Philosophy Swing Retest Quality follows the AGPro decision-engine approach: map the context, score the quality, show the risk reference, show the target room, and summarize the next action without issuing trade commands. 🔐 Non-Promise Statement No indicator can provide certainty. The script does not guarantee that a retest will hold, continue, reverse, or produce any specific outcome. 📉 Risk Disclosure Trading involves risk. Users are responsible for their own analysis, risk management, and trading decisions. This script is provided for educational and analytical purposes only and does not constitute financial advice. 📚 Educational Note Use the script as a structured retest-review framework. The best results come from combining the panel, zones, labels, and alerts with broader chart context and disciplined risk evaluation. Индикатор Pine Script®от AGProLabs22
Reaction Follow-Through Planner [AGPro Series]Reaction Follow-Through Planner 🧠 Core Idea Did the first reaction actually create follow-through, or did price only bounce and fade? 📌 Overview / What it does Reaction Follow-Through Planner is a decision-oriented overlay that evaluates what happens after price produces an initial reaction around a confirmed swing reference. Instead of only marking the reaction itself, the script opens a structured follow-through window, measures progress, tracks defense of the reaction zone, defines invalidation, estimates target room, and converts the context into a 0-100 planner score. It produces reaction zones, follow-through tracks, continuation markers, failed-reaction labels, risk/target guide lines, and a compact AGPro panel. It does not predict future price, place trades, automate execution, or claim that any reaction must continue. 🎯 Purpose & Design Philosophy This script was built for traders who already understand that a reaction candle is not enough. Many charts show a wick, bounce, rejection, hold, or local response, but the real question comes after that first response: did the market follow through with clean progress, participation, and defended invalidation? The design philosophy is simple: treat reaction analysis as a planning workflow. The script helps organize the reaction into strength, follow-through, invalidation, room, and next action. ⚡ Why This Script Is Different Most reaction tools focus on finding the reaction candle, drawing the level, or scoring the first response. This script does NOT clone a rejection-block detector, a support/resistance reaction map, or a generic pivot reaction score. Instead, it starts after the first reaction appears. It tracks whether that reaction can defend its zone, produce directional progress, maintain follow-through, and offer enough room before the context becomes stale or failed. ⚙️ Methodology 1. Context Detection The engine tracks confirmed swing reaction references and waits for price to interact with them. 2. Reference Mapping When the first response is accepted, the script builds a reaction zone from the first response candle and defines an invalidation edge beyond the defended area. 3. Reaction Evaluation The script grades the initial reaction candle using close defense, wick defense, body participation, and direction agreement. 4. Follow-Through Tracking During the tracking window, the model measures best directional progress, next-bar response, volume support, adverse excursion, time decay, and whether the invalidation edge remains defended. 5. Visual Output The chart displays reaction zones, follow-through tracks, target room, invalidation guides, continuation markers, failed-reaction labels, and a clean AGPro planner panel. 🗺️ How to Read the Chart Zones = the defended first-reaction area that should remain intact for the follow-through case to stay valid. Follow-through track = the movement path from the reaction close toward the current follow-through position. Invalidation guide = the price edge where the reaction context is considered failed by the script logic. Target room guide = the nearby structure or ATR-based room estimate used to judge whether the reaction still has space. Labels = optional reaction start markers, follow-through continuation, or failed-reaction context. Start labels and failed-reaction X markers are disabled by default, while failed-reaction labels use a separate low cap for a cleaner publication view. Colors = teal for bullish reaction continuation, pink for bearish reaction continuation, gold for weak or stalled contexts, and indigo for higher-quality follow-through. Panel = the current reaction strength, follow-through state, invalidation level, room estimate, and next action. 🚦 Signals & States • Bull Reaction Watch → a bullish reaction window is active, but follow-through still needs progress. • Bear Reaction Watch → a bearish reaction window is active, but follow-through still needs progress. • Bull Follow-Through → bullish follow-through reached the planner threshold. • Bear Follow-Through → bearish follow-through reached the planner threshold. • No Follow-Through → the reaction stayed defended but did not generate enough progress inside the tracking window. • Failed Reaction → price closed beyond the reaction invalidation edge. 🔔 Alerts Logic Alerts are attention markers, not trade instructions. New Bull Reaction Window triggers when a bullish first-response window opens. New Bear Reaction Window triggers when a bearish first-response window opens. Bull Follow-Through Ready triggers when bullish follow-through reaches the score and progress thresholds. Bear Follow-Through Ready triggers when bearish follow-through reaches the score and progress thresholds. Reaction Failed triggers when price closes beyond the active invalidation edge. 🧩 Confluence Logic The strongest context appears when reaction strength, next-bar progress, volume response, wick defense, and room all align. When the reaction candle is strong but follow-through is weak, the panel will usually remain in watch or no-follow-through mode. When follow-through progresses but invalidation is too close or room is limited, interpretation should stay cautious. 📊 When to Use • After a visible reaction from a swing high or swing low reference. • During retest, hold, rejection, or continuation planning. • When you want to separate first-response reactions from reactions that actually continue. • On symbols and timeframes with enough liquidity for clean candle structure. ⚠️ When NOT to Use • Extremely low-liquidity markets where reaction candles are unreliable. • Very noisy micro timeframes with erratic wicks. • News-driven volatility where invalidation and room can shift quickly. • Situations where the user expects automatic entries or guaranteed outcomes. 🎛️ Key Inputs • Swing Reaction Lookback → controls how selective the reaction references are. • First Response Mode → controls how strict the first reaction filter is. • Follow-Through Track Bars → controls how long the script evaluates continuation after the reaction. • Minimum Planner Score → sets the threshold for continuation-ready context. • Invalidation Buffer → controls how far beyond the reaction zone the invalidation edge sits. • Fallback Target Room → estimates room when no clean opposite structure is nearby. • Visual settings → control zones, optional start labels, outcome labels, failed-reaction label cap, optional failed markers, guides, density, and panel layout. 🖥️ Interface & Visual Design The interface is built around a clean AGPro panel and chart-first visuals. The panel gives the decision summary. The chart shows the defended reaction zone, follow-through track, invalidation edge, target room, and state labels. The visual hierarchy is intentionally restrained: enough labels to make the chart alive, but not so many that the reaction workflow becomes noisy. 🧪 Practical Usage Workflow 1. Read the panel to see whether a reaction window is active. 2. Check the reaction zone and invalidation edge. 3. Watch whether the follow-through track expands away from the zone. 4. Compare the score with available target room. 5. Treat alerts as review prompts, not execution commands. 🔍 Interpretation Guidelines A strong reaction is not automatically a strong follow-through. A clean follow-through usually needs directional progress, defended invalidation, supportive participation, and enough remaining room. If the panel says No Follow-Through, the reaction may still be interesting visually, but the script did not detect enough post-reaction continuation quality. If the panel says Failed Reaction, the original reaction context is no longer valid according to the script rules. 🚫 What This Script Is NOT • Not a prediction engine. • Not financial advice. • Not auto trading. • Not guaranteed signals. • Not a replacement for risk management. • Not a generic support/resistance map. • Not a rejection-block scanner. ⚠️ Limitations & Transparency The script is rule-based and depends on confirmed swing references, ATR normalization, volume baselines, and selected sensitivity settings. Different timeframes can produce different reaction windows. High volatility can expand invalidation distance and reduce room quality. Low-liquidity markets can create misleading wick behavior. 🧠 Market Context Notes Reaction follow-through is strongest when the first response is supported by participation and clean progress away from the defended zone. It is weaker when price reacts but stalls near the zone, repeatedly revisits invalidation, or lacks target room. The script is designed to help traders think in terms of reaction quality, not certainty. 🧾 Use Case Examples When price reacts from a swing low and the next bars defend the reaction zone with rising progress, the planner may shift from Bull Reaction Watch to Bull Follow-Through. When price rejects a swing high but immediately reclaims the invalidation edge, the planner may mark Failed Reaction. When price bounces but fails to expand before the tracking window expires, the panel may show No Follow-Through. 🧱 System Philosophy The AGPro approach favors decision engines over simple signal indicators. This script follows that philosophy by turning a reaction into a structured review process: strength, follow-through, invalidation, room, and action. 🔐 Non-Promise Statement No score guarantees continuation. No alert confirms a profitable outcome. No visual state should be treated as certainty. 📉 Risk Disclosure Trading involves risk. Users are responsible for their own decisions, risk management, position sizing, and market interpretation. This script is for educational and analytical purposes only and does not provide financial advice. 📚 Educational Note Use this script to study how reactions behave after the first response. The goal is to improve interpretation discipline, not to replace a complete trading plan. Индикатор Pine Script®от AGProLabs22
Invalidation Quality Planner [AGPro Series]Invalidation Quality Planner 🧠 Core Idea Is the active invalidation shelf meaningful enough to build a plan around, or is it fragile, distant, weak, or already violated? 📌 Overview / What it does Invalidation Quality Planner is a chart-first risk planning tool designed to evaluate the quality of the level that would invalidate a setup idea. Instead of drawing generic support/resistance zones or printing buy/sell signals, the script studies one active invalidation shelf and converts its structure into a 0-100 quality score. It measures swing clarity, defended reactions, prior violations, wick pressure, volatility buffer, forward room, and violation risk. The output is a focused planning workflow: an invalidation shelf zone, shelf and violation guides, forward-room reference, compact event labels, alerts, and a clean AGPro decision panel. It does not predict future price movement, automate decisions, or guarantee that any shelf will hold. 🎯 Purpose & Design Philosophy This script was built for traders who want to judge whether their risk reference is structurally meaningful before relying on it. Many tools show entries, targets, support/resistance zones, or stop distances. This tool focuses on the deeper planning question: is the invalidation level itself strong enough to deserve trust? The design supports a disciplined setup-review mindset. It helps users separate a clean invalidation shelf from a weak, noisy, overextended, or already violated one. ⚡ Why This Script Is Different Most tools focus on signals, stop-loss placement, support/resistance mapping, or risk/reward drawings. This script does NOT become a generic S/R zone map, a stop-loss optimizer, a position-size calculator, a target ladder, or an entry signal tool. Instead, it evaluates the quality of the invalidation reference. The core output is not a trade command. It is a planning state that helps users decide whether the current shelf is VALID, on WATCH, FRAGILE, DISTANT, DEFENDED, WEAK, or VIOLATED. ⚙️ Methodology 1. Context Detection The script detects the active planning side using trend context and range location, or allows the user to force long-context or short-context evaluation. 2. Reference Mapping It maps the active invalidation shelf from confirmed swing pivots, with a fallback structure reference when no fresh pivot is available. 3. Reaction Evaluation The model scores swing clarity, defended shelf reactions, clean history, wick pressure, ATR-normalized shelf distance, volatility context, violation risk, and forward room. 4. Visual Output The output is shown through an invalidation shelf zone, violation guide, forward-room guide, compact labels, deterministic alerts, and a premium AGPro panel. 🗺️ How to Read the Chart Zones = the active invalidation shelf used by the planner. It is a risk reference, not a generic support/resistance zone. Labels = compact state markers showing VALID, WATCH, DEFENDED, FRAGILE, DISTANT, WEAK, or VIOLATED context. Colors = teal marks cleaner planning context, pink marks violation or weak context, amber marks caution, and indigo marks watch/transition context. Panel = the panel summarizes Invalidation Quality, Distance, Structure Support, Violation Risk, and Action. 🚦 Signals & States • VALID → the active invalidation shelf has enough structure and quality to deserve review. • WATCH → the shelf is improving but not clean enough for VALID state. • DEFENDED → price tested the shelf and closed back in favor of the active planning side. • FRAGILE → price is too close to the shelf, making normal noise more important. • DISTANT → the shelf is too far from price for clean planning context. • WEAK → the shelf lacks enough structure, reaction memory, or clean history. • VIOLATED → price crossed the active violation guide and the context should be rebuilt. 🔔 Alerts Logic Alerts trigger when the planner enters VALID state, enters WATCH state, detects a defended shelf reaction, marks a weak/fragile/distant shelf, or detects a shelf violation. These alerts are attention markers. They are not trade instructions, entry signals, exit commands, or automated strategy actions. 🧩 Confluence Logic The strongest invalidation context appears when swing clarity, defended reactions, clean violation history, controlled wick pressure, balanced ATR distance, and sufficient forward room align. When those factors align, the quality score rises and the panel can move from WATCH to VALID. If the shelf becomes too close, too distant, noisy, or violated, the state downgrades. 📊 When to Use • Before evaluating a discretionary setup • During pullbacks where a structural invalidation shelf is forming • Around continuation setups where risk needs a clean reference • Before breakout or reclaim attempts where the failure point matters • When comparing whether one setup has a cleaner invalidation reference than another ⚠️ When NOT to Use • Extremely low-liquidity symbols • Very noisy micro-timeframes with unstable wicks • News-driven volatility spikes • Markets where recent structure is distorted and no useful invalidation shelf exists • Situations where the user expects a signal-only entry tool 🎛️ Key Inputs • Planning Side → controls Auto, Long Context, or Short Context evaluation. • Shelf Pivot Left / Right → controls how strict the confirmed swing shelf detection is. • Shelf Fallback Lookback → defines the backup structure reference when no fresh pivot exists. • Reaction Memory Lookback → controls how far back defended reactions and violations are counted. • Shelf Zone Buffer ATR → controls the width of the invalidation shelf zone. • Violation Buffer ATR → controls when price is treated as crossing beyond the shelf. • VALID / WATCH Thresholds → adjust how selective the planner is. • Visual settings → control shelf zones, guide lines, memory zones, labels, panel location, theme, and font sizes. 🖥️ Interface & Visual Design The interface is built around one primary chart object: the invalidation shelf zone. The panel follows the AGPro public-release standard with one merged blue header row containing only the script name. The layout keeps the key planning information readable without turning the script into a dashboard-heavy overlay. Labels are compact, offset away from candles, and controlled with cooldown and maximum-visible settings. 🧪 Practical Usage Workflow 1. Read the panel Invalidation Quality and Action state. 2. Check whether price is respecting, approaching, or violating the shelf zone. 3. Review the Distance row to see whether the shelf is balanced, fragile, or distant. 4. Compare Structure Support with Violation Risk. 5. Treat alerts as review prompts and confirm the broader market context before making any decision. 🔍 Interpretation Guidelines A higher score means the planner sees stronger alignment between shelf structure, reaction memory, clean history, distance quality, violation risk, and forward room. VALID does not mean a trade must be taken. It means the invalidation shelf is meaningful enough to deserve attention. WATCH means the shelf may be developing but still needs stronger evidence. FRAGILE, DISTANT, WEAK, and VIOLATED are caution states that help users avoid building a plan around a poor invalidation reference. 🚫 What This Script Is NOT • Not a prediction engine • Not financial advice • Not auto trading • Not guaranteed signals • Not a generic support/resistance mapper • Not a stop-loss optimizer • Not a position sizing calculator • Not a take-profit planner ⚠️ Limitations & Transparency Pivot-based shelves are confirmed after the selected pivot strength completes, so the script is intentionally reactive rather than predictive. Different timeframes can create different shelf references, reaction counts, and violation-risk readings. Volatility changes can alter ATR-normalized distance, shelf width, and forward-room conditions. The script is rule-based and should be interpreted as an analytical planning layer, not as certainty. 🧠 Market Context Notes Invalidation quality is not only about distance. A shelf can be close but meaningful, distant but inefficient, or visually obvious but already weakened by violations. The planner is most useful when it helps the user ask better questions before trusting a setup idea. 🧾 Use Case Examples When price pulls back toward a clean swing shelf, defends it, and still has enough forward room, the planner may show DEFENDED or VALID context. When price is sitting directly on the shelf with heavy wick pressure, the planner may mark FRAGILE even if the level looks visually interesting. When price crosses beyond the violation guide, the planner marks VIOLATED so the old risk reference is not treated as still clean. 🧱 System Philosophy Invalidation Quality Planner follows the AGPro Series decision-engine approach: Context first. Risk reference before target. Structure before signal. Attention markers instead of promises. 🔐 Non-Promise Statement No indicator can remove uncertainty. No state, score, label, alert, or visual zone should be interpreted as guaranteed market direction. 📉 Risk Disclosure Trading involves risk. All decisions remain the responsibility of the user. This script is for educational and analytical chart review only and does not provide financial advice. 📚 Educational Note Use the tool to study how invalidation references form, defend, weaken, or fail across different market conditions. Индикатор Pine Script®от AGProLabsОбновлено 6
Trailing Stop Quality [AGPro Series]Trailing Stop Quality 🧠 Core Idea Is the current trailing reference defending the move cleanly, or is it creating noise that deserves a risk review? 📌 Overview / What it does Trailing Stop Quality is a trade-management planner built for traders who want more context around active trailing stops, defense rails, and risk-shift conditions. The script compares a swing defense rail with a volatility defense rail, evaluates trend-defense quality, measures pullback depth, checks volatility expansion, and converts the result into a 0-100 trailing stop quality score. It produces trail rails, a centered risk-shift zone, a target-room guide, compact state labels, alerts, and a clean AGPro panel. It does not predict price direction, automate trading, or tell users what to buy or sell. 🎯 Purpose & Design Philosophy Many trailing stop tools show a stop line, but they do not explain whether the current trail is structurally clean, too close to noise, too loose, or in conflict with another management reference. This script was built to fill that gap. It helps traders who already have a move in progress and want to evaluate whether the active trail is still defending the move with enough quality to keep monitoring. The design philosophy is simple: manage context before reacting to the line. ⚡ Why This Script Is Different Most tools focus on plotting a trailing stop line, flipping side, or marking stop transitions. This script does NOT clone a Chandelier Exit flip-zone tool, does not act as a stop-loss optimizer, and does not print direct trade commands. Instead, it scores the quality of the current trail using swing defense, volatility defense, trend slope, pullback depth, volatility expansion, and rail conflict. The result is a management-readiness layer, not another raw stop signal. ⚙️ Methodology 1. Context Detection The script reads the active management side automatically or lets the user force long-side or short-side evaluation. 2. Reference Mapping It maps two trail references: a swing defense rail and a volatility defense rail. The tighter reference becomes the active defense rail. 3. Reaction Evaluation It scores whether the active trail is balanced, too near, too loose, conflicted, or already broken. 4. Visual Output It displays the active defense rail, swing rail, volatility rail, risk-shift zone, target guide, compact labels, alerts, and AGPro panel state. 🗺️ How to Read the Chart Zones = the risk-shift zone shows the gap between the swing defense rail and volatility defense rail. Its centered label summarizes the active conflict or quiet state. Labels = labels mark TRAIL HOLDS, RISK SHIFT, MONITOR, NOISE, ROOM LIMITED, or DEFENSE LOST contexts. Colors = green highlights clean defense, pink highlights lost defense, amber highlights risk review, and indigo highlights monitor context. Panel = the panel summarizes Trail Quality, Stop Distance, Trend Defense, Risk Shift, and Action. 🚦 Signals & States • TRAIL HOLDS → the active trail is defending cleanly with enough score and no major risk-shift conflict. • RISK SHIFT → price is close to the active rail or swing and volatility rails disagree enough to deserve review. • MONITOR → trail quality is acceptable but not strong enough for a clean defense state. • NOISE → the current trail reference is low quality or too unstable. • ROOM LIMITED → forward room is limited relative to the active trail risk. • DEFENSE LOST → price crossed the active defense rail and the current trail context should be reviewed. 🔔 Alerts Logic Alerts trigger when the script detects a clean trail-hold state, risk-shift state, monitor state, noisy trail state, defense-loss event, or limited target-room condition. Alerts are attention markers only. They are not trade instructions and should be interpreted within broader market context. 🧩 Confluence Logic The strongest context appears when swing defense and volatility defense are aligned, the active trail distance is balanced, trend slope supports the management side, pullback depth is controlled, and volatility is expanding without becoming chaotic. When those conditions align, the 0-100 trail quality score improves. 📊 When to Use • During active trend-following management • After a move has already started and trailing references matter • When comparing swing-based trail behavior with volatility-based defense • During pullbacks where the trail may be too close to price • When evaluating whether a move still has reasonable room before the next structure edge ⚠️ When NOT to Use • Very low-liquidity symbols with erratic wick behavior • Extremely noisy chop where no stable management side exists • Event-driven spikes where volatility changes too quickly • Charts where the user wants entry signals instead of trail-quality context 🎛️ Key Inputs • Management Side → controls Auto, Long Management, or Short Management mode. • Swing Trail Lookback → controls the structural defense rail. • Volatility Rail Multiple → controls the ATR-based volatility defense rail. • Sensitivity → adjusts how strict the trail-quality scoring model is. • Minimum Clean Score → defines when the trail can qualify as a clean defense state. • Target Guide R Multiple → sets the forward planning reference used for target-room context. • Visual settings → control rails, risk-shift zone, target guide, labels, panel location, panel theme, and font sizes. 🖥️ Interface & Visual Design The interface is intentionally chart-first. The rails show the actual management references, the zone shows swing-versus-volatility conflict, and the panel gives a fast decision read without turning the script into a crowded dashboard. The AGPro panel uses a single merged blue header row and keeps the key state visible at a glance. 🧪 Practical Usage Workflow 1. Read the panel Trail Quality state. 2. Check whether the active defense rail is still below price in long management or above price in short management. 3. Review the risk-shift zone to see whether swing and volatility references agree. 4. Check whether the target guide still has reasonable forward room. 5. Use the label state as an attention marker, then confirm with broader structure and market context. 🔍 Interpretation Guidelines Think of the output as trail-quality context, not a trade signal. A high score means the active trail is better aligned with structure, volatility, trend defense, and pullback depth. A low score means the current trailing reference may be too noisy, too close, too loose, or already losing defensive value. 🚫 What This Script Is NOT • Not a prediction engine • Not financial advice • Not auto trading • Not guaranteed signals • Not a Chandelier Exit clone • Not a stop-loss optimizer • Not a buy or sell signal tool ⚠️ Limitations & Transparency Trailing stop quality can change quickly when volatility expands, contracts, or when price moves into noisy pullback conditions. Different timeframes may produce different trail rails and score behavior. Fast markets, low liquidity, and abnormal wick behavior can reduce the usefulness of any rule-based trail-quality model. 🧠 Market Context Notes Trail quality is not only about distance from price. It also depends on whether structure is still defending the move, whether volatility is stable enough to support the rail, and whether the next target area leaves enough room relative to current trail risk. 🧾 Use Case Examples When price trends higher and both swing defense and volatility defense remain below price with a strong score, the script may mark TRAIL HOLDS. When price compresses toward the active trail or swing and volatility rails separate too much, the script may mark RISK SHIFT. When price crosses the active defense rail, the script may mark DEFENSE LOST so the user can review the management context. 🧱 System Philosophy Trailing Stop Quality belongs to the AGPro planner-style family: tools designed to help traders evaluate context before decisions, rather than simply adding another signal to the chart. 🔐 Non-Promise Statement No output from this script guarantees a result. No score represents certainty. 📉 Risk Disclosure Trading involves risk. Users are responsible for their own decisions, position sizing, and risk management. This script is for educational and analytical purposes only and does not provide financial advice. 📚 Educational Note The goal is to make trailing stop context easier to inspect by separating clean defense, risk shift, noisy trails, limited room, and lost defense states. Индикатор Pine Script®от AGProLabsОбновлено 8
Measured Move Projection Zones [AGPro Series]Measured Move Projection Zones 🔹 OVERVIEW Measured Move Projection Zones is a premium price-action visualization tool built around one clear sequence: impulse, base, projection, and invalidation. The script detects a qualified impulse leg, waits for a compact base range, then projects a measured-move target band from the base boundary. It also displays invalidation context, event labels, and a compact AGPro panel so the structure can be reviewed quickly on the chart. The default profile is tuned for 1-hour charts, where measured-move structures need enough responsiveness to appear consistently while still avoiding low-quality micro-swings. The result is a clean projection map for traders who want structured continuation context without turning the chart into a dense extension grid. This script is not designed to promise outcomes or mark every possible target. It is designed to make the measured-move workflow easier to see, compare, and audit. 🔹 WHAT MAKES IT DIFFERENT Most projection tools start from a manual anchor, a generic extension grid, or a simple breakout distance. Measured Move Projection Zones is more selective. It requires a directional impulse first. It then waits for a compact base. Only after the base qualifies does it create the projected target band and invalidation framework. That sequence matters because it prevents the chart from becoming a collection of random forward boxes. The visual logic is always tied to a specific price-action chain: Impulse leg -> base range -> projection band -> invalidation context. The script also avoids the look of a traditional support/resistance map. The rectangles are not generic zones. They represent measured-move components: impulse body, base range, projected target band, and invalidation reference. For public TradingView presentation, the script is deliberately visual but controlled: moderated labels, visible structure boxes, no expired-label flood, and a compact panel that summarizes the current state. 🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS This script stays in a narrow measured-move projection lane. It does not overlap with ATR compression or volatility-map scripts because the core logic is not volatility contraction, expansion, or envelope behavior. ATR is only used for normalization, tolerance, and spacing. It does not overlap with breakout-quality tools because it does not score a breakout event as the main product. Breakout beyond the base boundary only changes the measured-move state from armed to active. It does not overlap with premium/discount or valuation-zone tools because it does not map equilibrium, discount, OTE, rebalance pockets, or fair value areas. Its target band is derived from an impulse leg and base boundary, not a valuation model. It does not overlap with wedge, reversal, or pattern-scanner tools because it does not require converging rails, neckline behavior, double tops, double bottoms, head-and-shoulders logic, or multi-pattern classification. It does not overlap with liquidity heatmap, bias dashboard, or volume-profile tools because it does not estimate liquidity fields, higher-timeframe directional bias, POC gravity, acceptance ladders, or volume shelves. The differentiator is simple and specific: this is an impulse-base measured-move projection visualizer with target-band and invalidation context. ⚙️ METHODOLOGY The methodology is built in stages: 1. Swing Confirmation The script uses pivot confirmation to identify meaningful swing points. The default pivot setting is tuned for 1-hour chart rhythm. 2. Impulse Qualification After a valid pivot sequence appears, the script measures the leg size in ATR units. The impulse must be large enough and must form within a reasonable bar window. 3. Base Validation Once the impulse is confirmed, the script waits for a compact base range. The base must stay within a defined ATR height and avoid excessive retracement from the impulse end. 4. Projection Construction When the base qualifies, the script projects a measured-move target band from the base boundary. The default multiplier is 1.00, representing a classic equal measured move. 5. Invalidation Context The opposite side of the base receives an ATR-buffered invalidation guide. This does not create a trade command; it simply marks where the measured-move structure is no longer clean. 6. State Tracking The setup moves through clear states: Waiting, Building Base, Armed, Projecting, Target Band, Invalidated, and Expired. 7. Visual Management The script keeps a moderated amount of historical structure visible. Event labels are capped, expired labels are disabled by default, and the projection guide line is optional to keep the chart clean. 📊 PANEL The AGPro panel is designed for quick structure review. Panel rows include: - State - Direction - Impulse Quality - Projection Progress - Target Distance - Target Band - Base Range - Invalidation The first panel row follows the AGPro public-release standard: one merged blue header row containing only the panel title. Panel location is adjustable. Panel theme is adjustable. Panel font size is adjustable. The default size is Normal for a clean public-chart look. 🎛️ KEY INPUTS 1H Pivot Confirmation Length Controls the swing confirmation used to anchor impulse legs. Lower values are more responsive. Higher values are more selective. 1H Minimum Impulse Size Defines the minimum impulse strength in ATR units. The default is tuned to keep 1-hour charts active without accepting very small swings. 1H Base Range Bars Controls how many bars are used to validate the post-impulse base. The default is shorter for hourly chart pacing. 1H Maximum Base Height Limits how tall the base can be in ATR terms. This prevents wide ranges from being treated as clean measured-move bases. 1H Maximum Base Retracement Controls how deeply price can retrace from the impulse end while still qualifying as a measured-move structure. Measured Move Multiplier Controls the projection distance. The default value of 1.00 represents an equal measured move. 1H Target Band Width Controls the ATR-based visual tolerance around the projected target. Invalidation Buffer Places the invalidation guide beyond the opposite side of the base range. 1H Projection Bars Controls how far the projected target band and base extension reach forward. 1H Projection Expiration Controls how long an armed or active projection can remain open before it expires. 1H Event Label Retention Controls whether the chart keeps a moderated history of event labels or only the latest event label. 1H Balanced Event Labels Caps event labels so the chart remains informative but not overloaded. Show Projection Guide Line Optional dotted guide from the base boundary to the target band. Disabled by default on 1-hour charts to reduce diagonal clutter. 🔍 HOW TO READ IT Waiting No valid impulse-base sequence is active. Building Base An impulse has been detected and the script is watching for a compact base. Armed A valid base has formed. The projection framework is ready, and the target band is mapped forward. Projecting Price has moved beyond the base boundary and the measured-move structure is active. Target Band Price has interacted with the projected target band. Invalidated Price has closed beyond the invalidation guide, meaning the measured-move framework is no longer clean. Expired The projection did not complete within the selected expiration window. Event labels provide a fast visual timeline. The boxes show where the measured structure came from, where the base formed, and where the projected band sits. 🧩 BEST USE CASES This script is best used on 1-hour charts where traders want a clean view of impulse-base-continuation behavior. Strong use cases include: - Measuring continuation structures after a directional leg - Comparing active projections against nearby price action - Reviewing whether a base is compact enough to support a projection - Mapping projected target zones without using a full extension grid - Studying failed measured moves through invalidation labels and zones - Creating cleaner screenshots for price-action review The script can also be used on other timeframes, but the default settings were intentionally tuned around 1-hour structure density and visual balance. 🧠 VISUAL DESIGN PHILOSOPHY The visual design is built around premium restraint. The chart should not look empty, but it also should not look like every candle is receiving a signal. Measured Move Projection Zones keeps the main structural elements visible: - Impulse boxes - Base range boxes - Projected target bands - Invalidation zones or guides - Moderated event labels - Compact AGPro panel Expired labels are disabled by default because they can quickly become noisy on hourly charts. Event labels are still preserved in a moderated amount so the chart has enough visual context. The optional projection guide line is disabled by default because long diagonal lines can dominate a 1-hour screenshot. Users can enable it when they want a more explicit projection path. The goal is a chart that looks structured, premium, and publication-ready while still being easy to read. 🔔 ALERTS The script includes alert conditions for the core lifecycle events: - Measured Move Armed - Projection Active - Target Band Interaction - Projection Invalidated - Projection Expired These alerts are designed around structure states, not trade commands. They help users monitor when a measured-move framework forms, activates, interacts with the projected band, invalidates, or expires. 🔹 LIMITATIONS AND TRANSPARENCY Measured Move Projection Zones is a structural visualization tool. It does not predict future price and does not claim that a projected target band will be reached. Pivot-based swing logic confirms structure after the necessary bars have formed. This creates cleaner anchors, but it also means the script is not trying to label every move in real time before confirmation. The target band is a measured projection derived from the impulse and base, not a certainty zone. Invalidation and expiration states are part of the design because failed measured moves are also useful information. Settings matter. More aggressive inputs will create more structures. More conservative inputs will create fewer, cleaner structures. ✅ IDEAL USER This script is ideal for traders who: - Use 1-hour charts for price-action review - Study impulse-base-continuation behavior - Want measured-move target zones without a cluttered extension grid - Prefer visual structure over heavy signal text - Want a clean AGPro-style panel for quick state review - Care about invalidation and failed projection context - Need a public-chart-friendly tool that looks polished, focused, and easy to understand Measured Move Projection Zones is built for users who want a disciplined projection framework on the chart: enough structure to be useful, enough restraint to stay premium.Индикатор Pine Script®от AGProLabs30
1-2-3 Reversal Map [AGPro Series]1-2-3 Reversal Map 🔹 OVERVIEW 1-2-3 Reversal Map is a focused TradingView overlay built for traders who want a clean, structured way to follow one of the most recognizable reversal formations in price action: the confirmed 1-2-3 reversal. This tool maps the full life cycle of a 1-2-3 structure. It identifies the confirmed swing sequence, marks Point 1, Point 2, and Point 3, projects the neckline from Point 2, evaluates the neckline break, and highlights the retest pocket after confirmation. The goal is not to fill the chart with generic reversal signals. The goal is to make the actual 1-2-3 process easier to see, compare, and track. The script is designed around visual clarity. The latest active structure stays readable through numbered swing labels, restrained guide lines, a clearly identified neckline, and a concept-specific retest pocket. The panel then summarizes the current stage, neckline status, retest status, and reversal score in a compact AG Pro layout. 🔹 WHAT MAKES IT DIFFERENT Most reversal tools try to do too many things at once. They mix candle patterns, double tops, double bottoms, head and shoulders structures, failed breakouts, generic support and resistance zones, trend filters, and broad reversal markers into one crowded chart. 1-2-3 Reversal Map takes a more disciplined approach. It stays inside one lane: the confirmed 1-2-3 reversal sequence. The script does not mark every possible turning point. It waits for a defined swing chain: 1. Point 1 establishes the original swing extreme. 2. Point 2 forms the neckline reference. 3. Point 3 confirms that price has created a structurally relevant retracement. 4. The neckline break turns the structure from a setup into a confirmed map. 5. The retest pocket shows where the broken neckline can be evaluated again. This creates a cleaner workflow than broad reversal scanners. Instead of asking the chart to show everything, the script asks one focused question: has a valid 1-2-3 structure progressed from swing formation to neckline break and retest behavior? 🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS This script was intentionally built to avoid overlapping with other AGPro public tools. It is not a broad reversal pattern scanner. It does not combine double top, double bottom, head and shoulders, inverse head and shoulders, wedge, or candle-pattern logic. It focuses only on the 1-2-3 reversal sequence. It is not a Turtle Soup or failed-breakout tool. It does not begin with a failed range break or liquidity sweep. Its starting point is a confirmed three-point swing structure. It is not a wedge reversal tool. It does not evaluate converging trendlines, compression geometry, or wedge breakout behavior. It is not a generic support and resistance map. The rectangle is not a general zone engine. It is a neckline retest pocket that appears only after a valid 1-2-3 neckline break. It is not a breakout dashboard. Breakout logic exists only as one stage inside the 1-2-3 reversal process. This makes the script narrow enough for a differentiated AGPro release while still being visually useful and searchable for traders who specifically look for 1-2-3 reversal structure, neckline break, and retest confirmation workflows. ⚙️ METHODOLOGY The script uses confirmed pivot structure to define each 1-2-3 sequence. For a bullish 1-2-3 structure: - Point 1 is a confirmed swing low. - Point 2 is the recovery swing high and neckline reference. - Point 3 is a higher low that holds above Point 1. - The neckline break requires price to close beyond Point 2 with a configurable ATR buffer. - The retest pocket is projected around the broken neckline after confirmation. For a bearish 1-2-3 structure: - Point 1 is a confirmed swing high. - Point 2 is the reaction swing low and neckline reference. - Point 3 is a lower high that holds below Point 1. - The neckline break requires price to close beyond Point 2 with a configurable ATR buffer. - The retest pocket is projected around the broken neckline after confirmation. The reversal score is structure-native. It evaluates: - P1-P2 leg size relative to ATR - Point 3 hold quality - P3 retracement balance - Timing symmetry between structure legs - Break distance beyond the neckline - Break candle body quality - Close location inside the break candle - Optional volume participation The score is not designed as a prediction model. It is a ranking layer for comparing the quality of structures that meet the script's own rules. 📊 PANEL The AG Pro panel is built to keep the structure status readable without forcing the user to interpret every chart object manually. Panel rows: - Stage: shows whether the structure is waiting, armed, broken, retested, expired, or invalidated. - Neckline Break: shows whether the neckline has been confirmed. - Retest: shows whether the retest pocket is inactive, being watched, or held. - Reversal Score: shows the current 0-100 score and quality grade. The panel uses the AGPro standard format: - One merged blue header row - Only the script name in the first row - Adjustable panel location - Adjustable panel theme - Adjustable panel font size 🎛️ KEY INPUTS Pivot Left Bars / Pivot Right Bars: Controls how mature the swing points must be before the 1-2-3 structure can form. Higher values create fewer and cleaner structures. Lower values make the script more responsive. Minimum P1-P2 Leg ATR: Filters out small structures by requiring a minimum distance between Point 1 and Point 2. Minimum Point 3 Hold ATR: Defines how much Point 3 must hold relative to Point 1. This helps separate valid structural retracements from weak retests of the original extreme. Minimum / Maximum P3 Retracement: Controls the acceptable retracement range for Point 3. This prevents both shallow noise and near-failed structures from being accepted too easily. Neckline Break Buffer ATR: Adds a configurable buffer beyond the neckline before the break is accepted. Retest Pocket Width ATR: Controls the height of the retest pocket around the broken neckline. Retest Pocket Projection Bars: Controls how far the pocket is projected forward. Show Context Tags: Adds compact labels such as Neckline and Retest Pocket so the visual elements are easier to identify. Show Recent Structure Traces: Keeps a small rolling set of recent structure lines and pockets while keeping numbered swing labels focused on the latest active setup. Label Font Size: Controls all chart labels, including swing numbers, context tags, and optional event labels. Panel Font Size: Controls the AG Pro panel text size separately from chart labels. 🔍 HOW TO READ IT Start with the numbered swing labels. Point 1 marks the original structural extreme. Point 2 marks the neckline reference. Point 3 marks the retracement that must hold for the 1-2-3 structure to remain valid. Next, watch the neckline. The neckline is the main confirmation level. Before it breaks, the panel shows the structure as armed or waiting. After it breaks, the structure becomes a confirmed 1-2-3 map. Then watch the retest pocket. The retest pocket appears around the broken neckline after confirmation. This is the script's key context zone. It helps the user observe whether price can return to the neckline area and hold the structure instead of treating every move after the break as equally important. Finally, use the panel score as a quality filter. A high score means the structure has stronger internal balance according to the script's rules. A lower score means the 1-2-3 sequence may still exist, but its structure quality is weaker. 🧩 BEST USE CASES This script is best suited for: - Traders who use classic 1-2-3 reversal logic - Swing traders who want confirmed pivot structure - Price-action traders who track neckline breaks - Traders who prefer breakout-retest workflows - Users who want fewer, clearer chart objects instead of broad reversal scanners - Multi-timeframe chart review where structure clarity matters - Public chart sharing where visual cleanliness is important It can be useful on crypto, forex, indices, equities, and commodities, especially on charts where swing structure and neckline behavior are visually meaningful. 🧠 VISUAL DESIGN PHILOSOPHY The design goal is clarity through restraint. The script avoids a crowded signal-board style. It uses numbered labels only for the current active swing structure. It separates the neckline from the retest pocket with distinct visual language. Recent traces are kept limited and softened so they provide context without dominating the chart. The active neckline is drawn with a stronger accent color. The retest pocket is shown as a clean rectangle around the broken neckline. Structure legs are dotted and restrained, helping the user understand the geometry without overpowering price. The chart should feel premium, readable, and publication-ready. The indicator is built to support a clean TradingView screenshot rather than create visual noise. 🔔 ALERTS The script includes alerts for the main 1-2-3 lifecycle events: - 1-2-3 structure armed - Bullish 1-2-3 neckline break - Bearish 1-2-3 neckline break - 1-2-3 retest pocket held - 1-2-3 structure invalidated These alerts are designed around structure progression, not generic reversal marking. 🔹 LIMITATIONS AND TRANSPARENCY The script uses confirmed pivots, which means swing points appear only after the required right-side confirmation bars. This is intentional. It prioritizes confirmed structure over instant but unstable markings. The script does not attempt to identify every possible reversal pattern. It does not evaluate macro trend, fundamentals, order flow, news, or external liquidity conditions. The reversal score is a structured quality model, not a certainty model. It helps compare 1-2-3 structures inside this script's framework, but it does not forecast outcomes. Retest pockets are contextual areas around the broken neckline. They are not universal support or resistance zones, and they are not designed to replace broader market analysis. ✅ IDEAL USER This script is ideal for traders who: - Understand classic 1-2-3 reversal structure - Prefer confirmed market structure over early noise - Want a clean neckline and retest workflow - Value visual clarity and chart discipline - Use TradingView for structured price-action review - Want a focused public-free AGPro tool that does one concept well 1-2-3 Reversal Map is built for users who want a focused reversal map, not a crowded reversal scanner. 🔹 RELEASE NOTES - Initial public release of 1-2-3 Reversal Map . - Added confirmed Point 1, Point 2, and Point 3 swing mapping. - Added neckline projection with close-based break confirmation. - Added breakout retest pocket around the broken neckline. - Added context tags for Neckline and Retest Pocket. - Added AG Pro panel with Stage, Neckline Break, Retest, and Reversal Score. - Added adjustable panel location, panel theme, label size, and panel font size. - Added recent structure traces with softened historical visuals. - Added alerts for armed structures, neckline breaks, retest holds, and invalidations.Индикатор Pine Script®от AGProLabs31
Quasimodo Reversal Zones [AGPro Series]Quasimodo Reversal Zones 🔹 OVERVIEW Quasimodo Reversal Zones is a focused Smart Money Concepts tool built around one specific idea: the Quasimodo reversal pattern. Instead of turning the chart into a crowded market-structure dashboard, this script identifies confirmed QM swing sequences, marks the original shoulder-derived QM level, projects a clean reaction zone, and tracks the invalidation threshold from the head. The goal is simple: help traders see where a valid Quasimodo structure formed, where price may revisit the QM level, whether the reaction zone is active, and when the structure has failed. It is designed as a premium public-free AGPro tool for traders who want a clean, visual, and selective Quasimodo framework without generic signal clutter. 🔹 WHAT MAKES IT DIFFERENT Most reversal tools try to detect too many patterns at the same time. They often combine double tops, double bottoms, head and shoulders, order blocks, BOS, CHOCH, liquidity sweeps, and support/resistance zones into one heavy overlay. Quasimodo Reversal Zones stays intentionally narrow. Its only job is to map Quasimodo reversal structures with quality scoring, reaction-zone tracking, and invalidation logic. This makes the script easier to read, easier to trust visually, and more useful as a dedicated QM layer inside a larger trading workflow. The script also avoids marking every small pivot as a pattern. A valid QM structure must pass multiple filters: - confirmed swing sequence, - meaningful head extension, - displacement beyond the pullback swing, - minimum spacing between pivots, - swing amplitude quality, - time-balance evaluation, - optional relative-volume participation. This gives the tool a more selective and professional feel than simple pivot-label scripts. 🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS This script was designed to stay in a very specific lane inside the AGPro Series catalog. It is not a broad reversal-pattern scanner. It is not a BOS or CHOCH dashboard. It is not an order block tool. It is not a generic support/resistance zone engine. It is not a liquidity sweep module. Its focus is the Quasimodo pattern only. The visual logic is built around four QM-specific components: - the shoulder, - the head, - the QM level, - the reaction zone with invalidation. That narrow structure keeps the tool differentiated from broader AGPro pattern, breakout, structure, and zone-based scripts while still giving traders a strong SMC-style visual experience. ⚙️ METHODOLOGY The script uses confirmed swing pivots to build a four-step Quasimodo sequence. For a bullish QM structure, the script looks for: - an initial swing low, - a swing high, - a lower low that forms the head, - a higher high that confirms the sequence break. For a bearish QM structure, the script looks for: - an initial swing high, - a swing low, - a higher high that forms the head, - a lower low that confirms the sequence break. After the sequence is confirmed, the original shoulder becomes the QM level. A compact ATR-based reaction box is projected around that level. The head becomes the invalidation reference, with optional ATR padding. The quality score is built from: - head extension strength, - sequence-break displacement, - spacing between pivots, - average swing size, - internal time balance, - optional relative-volume confirmation. Only structures that meet the selected score threshold are drawn on the chart. 📊 PANEL The AGPro panel summarizes the latest valid QM structure in a compact format. Panel fields: - Pattern Side - Structure Quality - Zone Status - Score The first panel row follows the AGPro standard: one merged blue header row containing only the script name. Panel location, panel theme, and panel font size are adjustable from settings. The default panel size is Normal for a clean publication-ready layout. 🎛️ KEY INPUTS Swing Pivot Length Controls how strict the confirmed swing structure should be. Higher values create fewer but cleaner patterns. ATR Normalization Length Used to normalize zone width, head extension, sequence displacement, label offset, and invalidation padding. Minimum Head Extension Defines how far the head must extend beyond the original shoulder before the sequence can qualify. Minimum Sequence Break Defines how strongly the final swing must break beyond the pullback level. Minimum Pattern Score Filters out weaker QM sequences before they are drawn. Signal Cooldown Bars Controls label density and prevents the chart from becoming overloaded on noisy markets. Reaction Zone Width Controls the ATR-based thickness of the projected QM reaction box. Reaction Zone Length Controls how far the reaction zone projects into the future. Invalidation Buffer Adds optional ATR padding beyond the head-based invalidation level. Maximum Visible QM Zones Limits how many recent QM zones remain visible on the chart. Label Font Size and Panel Font Size Both are adjustable, with Normal as the default setting. 🔍 HOW TO READ IT Start with the panel. Pattern Side shows whether the latest valid structure is bullish or bearish. Structure Quality gives a quick qualitative view of the setup. Zone Status shows whether the reaction zone is waiting, active, confirmed, or invalidated. Score shows the numerical strength of the latest accepted QM pattern. On the chart: - Shoulder marks the original level that later becomes the QM reference. - Head marks the extension that creates the imbalance. - QM Level marks the precise shoulder-derived reaction level. - Reaction Zone shows the area where the QM retest is being tracked. - Invalidation Line shows where the structure is no longer valid. - Status Label shows the live state of the latest zone. The cleanest reads usually come when price returns to the reaction zone after a strong sequence break and then shows a visible response away from the QM level. 🧩 BEST USE CASES This script is best used for: - SMC-style Quasimodo analysis, - swing-based reversal mapping, - reaction-zone planning, - invalidation-based structure review, - higher-timeframe QM context, - clean chart screenshots for public analysis, - traders who want one dedicated QM layer instead of a large all-in-one structure scanner. It can be useful on many markets and timeframes, but the best visual quality usually appears on charts where swings are clear and price action is not excessively compressed. 🧠 VISUAL DESIGN PHILOSOPHY The visual design is built around clarity, not clutter. The script uses the AGPro color palette with a restrained premium look: - blue merged panel header, - teal bullish structures, - pink bearish structures, - gold invalidation or inactive-state emphasis, - compact labels placed away from candles where possible, - projected boxes that stay readable without covering the chart. The chart should not feel empty, but it should also not feel noisy. Labels, zones, and status elements are intentionally controlled with cooldowns, maximum visible zones, adjustable offsets, and configurable font sizes. The goal is to make the QM story easy to understand at first glance. 🔔 ALERTS The script includes alerts for important QM events: - Bullish Quasimodo Sequence - Bearish Quasimodo Sequence - QM Reaction Zone Touched - QM Reaction Confirmed - QM Pattern Invalidated These alerts are designed around structure events rather than generic entry messages. 🔹 LIMITATIONS AND TRANSPARENCY This script uses confirmed pivots, so patterns are confirmed only after enough bars have passed to validate the swing structure. It is intentionally selective. Some early or aggressive QM ideas may not appear if they fail the pivot, spacing, displacement, or score requirements. The script is not designed to predict every reversal. It is designed to identify cleaner Quasimodo structures, display the relevant reaction zone, and provide a clear invalidation reference. It also does not attempt to replace broader market analysis. Trend context, volatility, liquidity conditions, and higher-timeframe structure can still matter. ✅ IDEAL USER This script is ideal for traders who: - understand basic SMC and price-action concepts, - want a clean Quasimodo-specific tool, - prefer visual structure over signal spam, - care about invalidation and reaction-zone logic, - want a focused public-free AGPro tool that does not overlap with broader reversal scanners, - value a premium chart presentation with adjustable labels, zones, and panel controls. Quasimodo Reversal Zones is built for traders who want the QM pattern to be visible, structured, and easy to evaluate without adding unnecessary market-structure clutter.Индикатор Pine Script®от AGProLabs55
ABCD Projection Zones [AGPro Series]ABCD Projection Zones 🔹 OVERVIEW ABCD Projection Zones is a premium price-action projection tool built for traders who want a clean ABCD pattern map without turning the chart into a full harmonic scanner, Auto Fib suite, retracement dashboard, or broad pattern-recognition system. The script focuses on one specific market-structure idea: a confirmed A-B-C swing sequence can project a forward D completion area when the A-B leg is measured from point C. Instead of plotting a single thin target line, the script converts that measured move into a practical projected completion zone. This makes the result easier to read on real charts where reactions often happen around an area rather than at one exact tick. The tool detects the structure, measures the leg relationship, projects the completion zone, tracks the distance to that zone, and then follows the reaction lifecycle after price reaches it. The goal is a premium, readable ABCD projection workflow that helps traders understand where the current structure is, how mature it is, and how price is behaving around the projected completion area. 🔹 WHAT MAKES IT DIFFERENT Many ABCD, projection, and pattern tools try to do too much at once. They combine multiple Fibonacci ratios, harmonic pattern names, extended target ladders, retracement grids, reversal labels, and broad pattern scanning into one chart overlay. That can look busy, but it often makes the active structure harder to understand. ABCD Projection Zones takes a narrower and cleaner route. It does not attempt to label every harmonic family. It does not expose a full Fibonacci framework. It does not place several competing projection targets on the chart. It does not turn the layout into a generic support and resistance map. The difference is the focused lane: confirmed ABCD swing projection, one projected completion zone, one reaction lifecycle, and a concise panel that explains the active setup. The visual language is also different. The D area is shown as a forward rectangle with centered zone text inside the box. Active and archived zones stay named, labels use consistent sizing, and archived context remains muted so the active projection remains dominant. 🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS This script is intentionally separated from other AGPro tools by scope, visual behavior, and analytical purpose. It is not an Auto Fib Structure tool. It does not publish multiple retracement and extension levels, does not expose a full Fib grid, and does not present itself as a broad Fibonacci framework. It is not a harmonic scanner. It does not label Gartley, Bat, Butterfly, Crab, Shark, or other harmonic families. It does not rank multiple harmonic candidates or compare pattern families. It is not a generic support and resistance zone script. The rectangles are not general S/R zones. They are specifically ABCD completion and reaction zones derived from swing-leg symmetry. It is not a trend dashboard, volatility map, liquidity sweep scanner, or broad price-action suite. Its job is only to map a confirmed A-B-C structure into a projected D completion zone and monitor the reaction state around that zone. This makes the public release lane clear: a focused ABCD projection and reaction-zone tool for measured-move structure, not a duplicate of existing AGPro zone, Fib, S/R, harmonic, or dashboard concepts. ⚙️ METHODOLOGY The script starts by detecting confirmed swing highs and lows using pivot-based structure logic. This gives the model cleaner A, B, and C points and helps reduce random candle noise. After the A-B-C sequence is confirmed, the script measures the A-B leg and the B-C pullback. The B-C pullback is evaluated as a ratio of A-B, but this ratio is used as a structure-quality filter, not as a visible Fibonacci grid. The projected D area is calculated by applying the A-B leg from point C. This creates an AB=CD style measured-move projection. The projected D price is then expanded into a rectangle using ATR-based padding so the completion area behaves like a practical reaction zone rather than a thin target. The script then tracks the active projection lifecycle: - Waiting: price has not yet approached the projected zone. - Approaching: price is close enough to the zone to matter. - Completed: price has reached the projected D area. - Reacting: price is moving away from the zone after contact. - Overrun: price has moved beyond the zone buffer. - Expired: the projection window passed without completion. The scoring model combines impulse quality, pullback quality, and structural alignment into a 0-100 score. This score is not a standalone signal; it is a compact way to summarize the quality of the active ABCD projection structure. 📊 PANEL The AGPro panel is designed for quick chart reading without forcing the trader to inspect every object manually. Panel fields: - Leg Ratio: shows the B-C pullback size relative to A-B. - Completion Distance: shows the current distance to the projected D zone in price and ATR terms. - Reaction State: shows the active lifecycle state of the projection. - Symmetry Quality: classifies the active setup as Weak, Developing, Clean, or Strong with directional context. - Projection Progress: shows how far price has traveled from point C toward the projected D area. - Score: summarizes the active setup quality from 0 to 100. Panel standards: - The first row is one merged blue AGPro header row. - The header contains only the panel title. - Panel location is adjustable. - Panel theme is adjustable. - Panel font size is adjustable. 🎛️ KEY INPUTS Detection: - Swing Left Strength - Swing Right Strength - ATR Length - Minimum AB Leg Size ATR - Minimum BC Pullback Ratio - Maximum BC Pullback Ratio Projection Zone: - Projection Length Bars - Zone Padding ATR - Approach Distance ATR - Overrun Buffer ATR - Zone Fill Transparency - Archived Zones - Archived Zone Transparency - Show Text Inside Zones Visuals: - Show ABCD Path - Show ABCD Labels - Show Completion Marker - Label Font Size - Label Offset ATR - Completion Marker Offset Bars Panel: - Show Panel - Panel Location - Panel Theme - Panel Font Size 🔍 HOW TO READ IT Start with the A-B-C labels. Point A and point B define the impulse leg. Point C defines the pullback from which the measured-move projection begins. The dotted projected path shows the C-D measured move. The forward rectangle marks the projected completion zone. If price is still far from that rectangle, the panel will usually show Waiting and a lower Projection Progress value. As price moves toward the rectangle, Projection Progress increases and the Completion Distance decreases. When price reaches the zone, the script marks D Hit and changes the lifecycle state. After that, the most important reading is whether the zone becomes a Reaction Zone or an Overrun Zone. Archived zones should be read as context, not as the main decision layer. They show previous projected reaction areas in a muted style so the chart does not feel empty, but the active zone remains the priority. 🧩 BEST USE CASES This script is best suited for traders who study market structure, measured moves, swing projection, ABCD patterns, and reaction-zone behavior. Strong use cases include: - Mapping a clean ABCD completion area after a confirmed A-B-C structure. - Tracking how close price is to a projected D area. - Separating developing projections from completed projections. - Watching for reaction behavior after price reaches a projected completion zone. - Reviewing recent projected zones without overcrowding the chart. - Keeping a clean price-action workflow without a full harmonic or Fib suite. The script can be useful across different markets and timeframes, but it is most readable when swing structure is clear enough for pivot-based detection to identify meaningful A-B-C sequences. 🧠 VISUAL DESIGN PHILOSOPHY The visual design is built around premium restraint. The chart should not be empty, but it should also not be overloaded. The active ABCD projection needs to stand out clearly, while archived zones should provide background context without taking attention away from the current structure. Visual standards used in this script: - Active completion and reaction zones are drawn as forward rectangles. - Zone text is written inside the rectangle. - Zone text is horizontally and vertically centered. - Zone text uses transparent label-center styling instead of extra external tags. - Active and archived zone text uses the same label font-size control. - Swing labels are offset with ATR so they do not sit inside candle bodies. - The completion marker is compact and shifted away from nearby swing labels. - The projected C-D path is visible but not visually dominant. - Archived zones are muted to keep the active projection clean. The result is a chart that communicates structure, projection, and reaction state without looking like a crowded signal board. 🔔 ALERTS Included alert conditions: - New ABCD Projection Zone: triggers when a new qualified ABCD projection is detected. - ABCD Completion Reached: triggers when price reaches the active projected completion zone. - ABCD Reaction Confirmed: triggers when price reacts away from the active completion zone. - ABCD Zone Overrun: triggers when price moves beyond the configured zone buffer. 🔹 LIMITATIONS AND TRANSPARENCY The script waits for confirmed pivot structure, so A, B, and C labels appear after swing confirmation rather than at the exact live turning point. The projected D area is based on AB=CD symmetry and ATR-based zone padding. It is designed to map structure and reaction context, not to predict every reversal. The script intentionally avoids a full harmonic library and full Fibonacci framework. This is a design choice, not a missing feature. The goal is to keep the public tool focused on ABCD projection zones. During choppy or low-structure conditions, fewer clean setups may appear. Increasing or decreasing swing strength and leg-size filters can make the tool more selective or more responsive depending on the market and timeframe. ✅ IDEAL USER This script is designed for traders who prefer clean structure tools over crowded all-in-one indicators. The ideal user: - Studies price action and swing structure. - Wants a focused ABCD projection tool. - Prefers zones over single-line targets. - Wants reaction-state context after completion. - Values clean chart presentation. - Wants adjustable labels, panel location, and visual density. - Does not want a full harmonic scanner or public Auto Fib suite. ABCD Projection Zones is built for traders who want one clean projected completion lane: A-B-C structure, measured D zone, reaction state, and a premium AGPro visual presentation.Индикатор Pine Script®от AGProLabs22267
Cup and Handle Quality [AGPro Series]Cup and Handle Quality 🧩 OVERVIEW Cup and Handle Quality is a visual pattern-quality overlay for one of the most recognized continuation structures in technical analysis: the cup and handle. The script is designed to map the full pattern lifecycle instead of only marking a breakout candle. It studies the left cup rim, the cup base, the right rim recovery, the controlled handle pullback, the breakout behavior, and the measured projection context. The goal is to make cup and handle structures easier to recognize, compare, and explain directly on the chart. The final visual output is intentionally clear. The detected cup and handle candle ranges are framed with subtle boxes, while thick curved outlines make the formation readable at a glance. The rim line, target line, DEPTH arrow, and MOVE arrow help users understand how the structure is measured, not just where the label appears. ✅ WHAT MAKES IT DIFFERENT Most public cup and handle tools focus on one of two things: either they draw a simple breakout marker, or they scan aggressively and leave the chart crowded with low-context shapes. Cup and Handle Quality takes a narrower approach. It combines three layers: - Structure recognition: left rim, cup base, right rim, and handle low - Quality scoring: cup symmetry, handle depth, and breakout quality - Visual education: cup box, handle box, thick pattern outline, rim line, target line, and measurement arrows This makes the script more than a pattern detector. It is also a visual explanation tool. The chart shows where the cup was detected, where the handle formed, how deep the cup is, and where the measured projection line comes from. 🧭 WHY THIS DOES NOT OVERLAP WITH OTHER AGPRO TOOLS This script has its own lane inside the AGPro Series. It is not a flag scanner, wedge detector, triangle breakout module, inside-bar breakout tool, Donchian breakout validator, double-top detector, head-and-shoulders detector, generic support-resistance map, or supply-demand zone script. Its lane is specifically: Cup rim recovery -> controlled handle depth -> breakout participation -> measured projection line. The script focuses on the complete cup and handle lifecycle. It does not try to replace broader breakout engines, market-structure tools, support-resistance tools, liquidity tools, or trend dashboards. The defining feature is the combination of a recognizable cup-and-handle drawing with a quality panel that grades the actual pattern components. ⚙️ METHODOLOGY The engine builds the pattern from pivot structure. A qualified setup begins with a left rim, moves into a cup low, recovers into a right rim, and then forms a handle pullback after the right rim. The quality model evaluates: 1. Cup Symmetry The script compares the two rim areas and measures how balanced the cup is over time. A cleaner return from the cup base into the right rim area produces a stronger symmetry reading. 2. Handle Depth The handle is measured as a percentage of cup depth. A useful handle should create structure without pulling so deeply that the cup profile loses strength. The input range allows the user to control how strict or flexible the handle requirement should be. 3. Breakout Quality Breakout quality is calculated from candle behavior and participation context. The script checks distance beyond the rim, candle body efficiency, close location, and relative volume against a configurable baseline. 4. Final Score The final score combines the structure score and breakout behavior into a compact quality reading. Developing setups can be shown before breakout confirmation, while confirmed breakouts require the breakout quality gate. 📊 PANEL The AGPro panel displays the main quality dimensions in a compact format: - Cup Symmetry - Handle Depth - Breakout Quality - Score The first row follows the AGPro standard with a merged blue title row. Panel location, panel theme, panel font size, and label font size are adjustable from settings. 🎛️ KEY INPUTS - Pivot Span controls structural sensitivity. - Minimum Cup Bars defines the shortest accepted cup duration. - Maximum Cup Bars defines the longest accepted cup duration. - Maximum Rim Variance % controls how closely the left and right rims must align. - Minimum Cup Depth ATR filters shallow structures. - Minimum Handle Depth % filters handles that are too shallow. - Maximum Handle Depth % filters handles that are too deep. - Breakout Volume Baseline controls the relative volume comparison. - Minimum Setup Score controls developing setup visibility. - Minimum Breakout Quality controls confirmed breakout strictness. - Minimum Pattern Score controls the final quality gate. - Show Developing Setup controls pre-breakout visualization. - Show Cup Path controls the curved cup drawing and cup candle box. - Show Handle Box controls the detected handle range. - Show Target Line controls the measured projection line. - Show Measurement Arrows controls the DEPTH and MOVE explanation arrows. - Pattern Stroke Width controls the thickness of the cup and handle outlines. - Target Projection Bars controls how far the measured target line extends. 🔍 HOW TO READ IT Start with the rim line. This is the reference level the structure must recover into and eventually move beyond. Then read the cup. The subtle cup box marks the detected candle range, while the thick curved outline helps the formation read visually as a cup instead of a simple V-shaped swing. Next read the handle. The handle box marks the controlled pullback area after the right rim. The curved handle outline makes the handle easier to recognize without turning it into a generic rectangle pattern. The DEPTH arrow shows the measured cup depth. The MOVE arrow transfers that depth upward from the rim area. The TARGET line shows the forward measured projection level. The panel summarizes the same structure numerically. Stronger Cup Symmetry, disciplined Handle Depth, and stronger Breakout Quality combine into the final Score. 🧩 BEST USE CASES Cup and Handle Quality is best used on liquid symbols and timeframes where swing structure has enough room to develop. It is especially useful for users who want a clean visual map of a classic continuation pattern without filling the chart with unrelated pattern families. The default settings are tuned for active discovery. Users who want fewer patterns can raise pivot sensitivity or score thresholds. Users who want a more reactive view can lower the score thresholds, while still using the chart visuals to review pattern quality. 🧠 VISUAL DESIGN PHILOSOPHY The design philosophy is simple: make the pattern understandable without making the chart noisy. The cup and handle are drawn with thick curved lines because this pattern is visual by nature. Newer users should be able to see the shape immediately. At the same time, the candle boxes keep the drawing grounded in the actual detected structure. The target is shown as a line rather than a large zone, keeping the projection clean. The DEPTH and MOVE arrows explain the measurement logic without turning the indicator into a crowded education panel. Labels are compact, and the panel is restrained so the chart remains the main focus. 🔔 ALERTS The script includes an alert condition for confirmed cup and handle breakouts. Alert name: Cup and Handle Quality Breakout Alert message: Cup and Handle Quality : high-quality cup and handle breakout confirmed on {{ticker}} at {{close}}. Alerts are tied to confirmed breakout logic, which means the structure, breakout quality, and pattern score must pass the configured gates. 🔹 LIMITATIONS AND TRANSPARENCY Cup and handle structures are pattern-based and depend on pivot interpretation. Different sensitivity settings can produce different structures on the same chart. Very noisy markets, illiquid symbols, extreme gaps, and unusually compressed price action can reduce pattern readability. Lower thresholds may produce more setups, but visual review remains important when using any chart-pattern tool. The thick cup and handle lines are designed as visual guides. The subtle candle boxes identify the detected structure ranges, while the curved outlines make the pattern easier to understand on the chart. ✅ IDEAL USER This script is built for traders and analysts who want a clean, visual, and structured way to study cup and handle formations. It is especially useful for: - Users who want classic chart patterns with a modern quality layer - Price-action traders who care about structure, handle depth, and breakout behavior - Chart reviewers who want a clear visual explanation of the setup - Newer users who benefit from seeing the cup, handle, depth, move, and target drawn directly on the chart - AGPro users who want a focused cup-and-handle tool that does not overlap with broader breakout or market-structure scriptsИндикатор Pine Script®от AGProLabs42
RSI Failure Swing Detector [AGPro Series]RSI Failure Swing Detector 🔹 **Overview** RSI Failure Swing Detector is a focused RSI reversal-structure tool built around one classic momentum concept: the confirmed RSI failure swing. Instead of treating every oversold or overbought RSI reading as a reversal condition, this script waits for the full internal RSI sequence: 1. RSI reaches an extreme zone. 2. RSI recovers or reacts away from that extreme. 3. RSI pulls back while respecting the original RSI extreme. 4. RSI breaks the internal swing level that confirms the failure swing. Only after that sequence is complete does the script mark a confirmed trigger on the chart. The purpose is to make RSI failure swings easier to read in real time without turning the tool into a generic divergence scanner, RSI pressure map, or broad reversal dashboard. 🔹 **What Makes It Different** Most RSI tools focus on one of three common ideas: - RSI overbought and oversold levels. - RSI divergence against price. - RSI momentum or pressure state. This script is intentionally different. RSI Failure Swing Detector does not look for RSI divergence. It does not compare RSI swings against price swings to create hidden or regular divergence logic. It also does not measure RSI pressure, trend pressure, or directional dominance. Its job is narrower and cleaner: **It detects when RSI builds a classic failure swing sequence and then confirms that sequence through an internal RSI swing break.** That keeps the tool separated from existing AGPro momentum scripts such as RSI Pressure Map, Stochastic Exhaustion Map, Multi-Oscillator Consensus Engine, Divergence Stack Scanner, and broader reversal-quality tools. The analytical lane here is not "is pressure building?" or "is price diverging?" The lane is: **Has RSI completed a confirmed failure swing sequence?** 🔹 **Core Logic** The bullish model starts when RSI moves into the oversold zone. The script then tracks the first recovery leg, waits for a pullback that stays meaningfully above the original RSI low, and confirms the pattern only when RSI breaks the recovery high. The bearish model works in the opposite direction. It starts when RSI moves into the overbought zone, tracks the first reaction leg, waits for a bounce that stays meaningfully below the original RSI high, and confirms the pattern only when RSI breaks the reaction low. This creates a clean four-part sequence: - Extreme - Recovery or reaction - Controlled pullback - Confirmed internal break The confirmation step is important. The script is designed to avoid printing premature reversal labels while RSI is still only sitting at an extreme. 🔹 **Trigger Pockets** When a failure swing is confirmed, the script can project a short chart-level trigger pocket from the confirmation bar. These pockets are not generic support or resistance zones. They are failure-swing context zones designed to help the user visually track whether price respects or loses the area around a confirmed momentum trigger. The pocket is time-limited, ATR-scaled, and capped by a maximum visible pocket setting so the chart remains clean. 🔹 **Panel** The AGPro panel summarizes the active environment: - RSI State - Swing Stage - Confirmation - Sequence Score - Trigger Pocket status The first panel row follows the AGPro standard: one merged blue header row containing only the script title. Panel location, panel theme, label size, and panel font size are all configurable from settings. 🔹 **Visual Design** The chart layer is intentionally restrained. Stage labels explain where the RSI sequence is developing, while confirmed trigger labels appear only after the failure swing is complete. The default stage-label mode highlights only the final setup stage before confirmation, keeping lower-timeframe charts cleaner while still preserving the sequence logic. Label cooldowns, maximum visible label limits, ATR-based offsets, compact trigger labels, and capped trigger pockets are included to keep the chart readable. The default visual style is designed for a premium public chart: informative, but not crowded. 🔹 **Inputs** Key settings include: - RSI Length - RSI Source - Oversold Level - Overbought Level - Minimum RSI Separation - Minimum RSI Pullback - Maximum Sequence Bars - Confirm On Bar Close - Stage Label Detail - Trigger Pocket Depth - Trigger Pocket Projection Bars - Panel Signal Memory Bars - Label and panel size controls - Panel location and theme controls These settings allow the user to tune the detector for different symbols and timeframes while preserving the core failure swing structure. 🔹 **Best Use Case** RSI Failure Swing Detector is best used when the trader wants a clean visual framework for RSI reversal structure without adding divergence complexity or broad pressure-state interpretation. It can be useful for reviewing moments when RSI fails to retest its prior extreme and then confirms a momentum turn through its own internal swing level. It is designed to organize one specific RSI pattern with cleaner confirmation, better visual hierarchy, and a focused chart workflow. Индикатор Pine Script®от AGProLabsОбновлено 15
Hidden Divergence Continuation Zones [AGPro Series]Hidden Divergence Continuation Zones 🟦 Overview Hidden Divergence Continuation Zones is a focused trend-continuation indicator built around one specific market behavior: hidden divergence that forms during a structured pullback inside an existing directional move. Most divergence tools are built to search for reversals. They scan regular bullish and bearish divergence, print many labels, and often mix every oscillator event into the same visual map. This script intentionally takes a narrower lane. It does not try to be a general divergence scanner. It looks only for hidden bullish and hidden bearish divergence, because hidden divergence is most useful when the question is not "is the trend ending?" but "is the trend trying to continue after a controlled pullback?" The result is a cleaner continuation framework: - confirmed price swing structure - RSI momentum displacement - EMA and DMI trend filtering - ATR-normalized quality scoring - lower-intensity HDC Watch labels - forward continuation pockets - swing connectors - trigger labels - compact AGPro dashboard The purpose is to make hidden continuation structure visible without filling the chart with every possible divergence mark. 🔹 What Makes This Different This script is separated from both common public divergence tools and our existing AGPro divergence family by design. It is not a multi-oscillator regular divergence stack. It does not score RSI, MACD, CCI, MFI, and OBV together. That lane is already covered by broader stack-style divergence tools. It is not an OBV pressure divergence map. It does not study price-versus-participation disagreement through cumulative volume pressure. It is not a trend dashboard with divergence added as a side feature. Hidden Divergence Continuation Zones focuses on a single continuation workflow: 1. Confirm that the market has an active directional side. 2. Wait for a valid pullback swing. 3. Compare the new swing against the previous swing. 4. Accept only hidden divergence that supports continuation. 5. Draw a forward pocket from the continuation pivot. 6. Track whether price later triggers from that structure. That narrow scope is the edge. The script is designed to avoid visual noise and avoid conceptual overlap. 🧭 Core Logic Bullish hidden continuation: - the trend filter must support a bullish continuation environment - price must form a confirmed higher low - RSI must form a lower low against that higher price low - the two compared swings must be separated by enough bars - the structure must be large enough relative to ATR - the RSI displacement must clear the minimum threshold - the final continuation score must pass the display threshold Bearish hidden continuation: - the trend filter must support a bearish continuation environment - price must form a confirmed lower high - RSI must form a higher high against that lower price high - the two compared swings must be separated by enough bars - the structure must be large enough relative to ATR - the RSI displacement must clear the minimum threshold - the final continuation score must pass the display threshold The script uses confirmed pivots, so events appear only after the pivot is structurally available. This keeps the logic stable and prevents premature labels from appearing on incomplete swings. 📐 Continuation Score Each qualified setup is graded with a 0 to 100 continuation score. The score combines: - ADX strength above the selected minimum - ATR-normalized distance between the compared swings - RSI displacement between the two pivot points - whether the pullback sits in a continuation-relevant EMA area - whether the fast and slow EMA structure remains aligned The default thresholds are designed to keep the chart selective. Normal qualified events are shown as HDC+ or HDC-. Stronger events are shown as PRIME HDC+ or PRIME HDC-. Lower-intensity confirmed hidden divergence candidates can also be displayed as HDC WATCH labels. These marks are intentionally softer: they add visual context and keep the chart informative, but they do not create continuation pockets or trigger tracking unless the full continuation threshold is reached. 🧩 Continuation Pockets When a hidden continuation event qualifies, the script projects a forward pocket from the pivot area. These pockets are not generic support and resistance boxes. They are continuation context zones tied directly to the hidden divergence pivot. Their job is to preserve the important pullback area on the chart after the label appears, so the user can see where the continuation structure was created. Pocket height is ATR-based, which helps the zones adapt across symbols and timeframes. The number of visible pockets is capped, so older structures are automatically removed and the chart remains clean. 🎯 Trigger Labels After a hidden divergence pocket is created, the script monitors a limited trigger window. For bullish continuation, a trigger is printed only when price confirms above the pivot candle reference with the selected ATR buffer. For bearish continuation, a trigger is printed only when price confirms below the pivot candle reference with the selected ATR buffer. This keeps the workflow organized: - hidden divergence creates the continuation pocket - the pocket defines the structure - the trigger label marks follow-through from that structure ⚙️ Dashboard The AGPro panel is built for quick reading: - Oscillator: current RSI value - Trend Side: bullish continuation, bearish continuation, or neutral - Swing Quality: none, building, qualified, or prime - Continuation Score: latest event score - Active Pocket: current pocket state and freshness The first panel row follows the AGPro standard: one merged blue header row with only the script title. Panel location, panel theme, label font size, and panel font size are all adjustable from settings. 🧪 Practical Reading A clean bullish continuation sequence usually looks like this: 1. Trend Side shows Bull Continuation. 2. Price pulls back and forms a confirmed higher low. 3. RSI makes a lower low at that swing. 4. A continuation pocket appears below/around the pullback area. 5. A trigger label appears only if price follows through during the trigger window. A clean bearish continuation sequence usually looks like this: 1. Trend Side shows Bear Continuation. 2. Price pulls back and forms a confirmed lower high. 3. RSI makes a higher high at that swing. 4. A continuation pocket appears above/around the pullback area. 5. A trigger label appears only if price follows through during the trigger window. The best use case is structured trend continuation study, especially when a trader wants to separate controlled pullbacks from random oscillator divergence noise. 🔍 Key Inputs Trend Continuation Filter: - Fast EMA Length - Slow EMA Length - EMA Slope Lookback - DMI Length - ADX Smoothing - Minimum ADX Hidden Divergence Engine: - RSI Length - Confirmed Pivot Length - Minimum Pivot Separation - Minimum Price Swing (ATR) - Minimum RSI Displacement - Minimum Continuation Score - Prime Score Threshold - Show HDC Watch Labels - Watch Label Score Continuation Pockets: - Show Continuation Pockets - Pocket Extension Bars - Pocket Height (ATR) - Maximum Visible Pockets - Trigger Window Bars - Trigger Buffer (ATR) Visual Layout: - EMA Backbone - Swing Connectors - Event Labels - Same-Side Label Cooldown - Label Offset - Label Font Size - Maximum Visible Labels - Maximum Visible Connectors Panel: - Show Panel - Panel Location - Panel Theme - Panel Font Size 🟣 Design Notes The visual design is intentionally restrained: - no regular divergence clutter - no multi-oscillator table overload - no unnecessary signal spam - no permanent background wash - no oversized dashboard - no generic zone engine detached from the core concept The chart should stay readable while still feeling active and premium. Swing connectors explain where the hidden divergence came from. Pockets preserve the continuation area. Labels are offset from candles and controlled by cooldown settings. ✨ Summary Hidden Divergence Continuation Zones is built for traders who want a cleaner way to study trend continuation through hidden divergence. Instead of asking whether every oscillator disagreement matters, this tool asks a more specific question: Is there a confirmed hidden divergence pullback inside a real trend, and did that structure create a continuation pocket worth tracking? That focused question is what keeps the script distinct, lightweight, and visually clean. Индикатор Pine Script®от AGProLabsОбновлено 17
FVG_SWGFVG Liquidity & Gaps is a high-performance technical analysis tool built on the principles of Smart Money Concepts (SMC). This script integrates a dual-layer visualization system to track institutional order flow by identifying extreme liquidity zones (Swings) and price imbalances (Fair Value Gaps) in a single, unified panel. The standout feature of this tool is its Dynamic Mitigation Engine, which physically resizes imbalance boxes as price interacts with them, providing a real-time view of remaining unfilled liquidity. Key Features: 1. Liquidity Swings with Volume Analysis Automatic Detection: Instantly identifies significant fractal highs and lows (Pivot High/Low). Quantitative Insights: Each liquidity level includes a label displaying the Accumulated Volume or Touch Count within that zone. This helps traders distinguish between "weak" retail levels and "high-conviction" institutional walls. Dynamic Projections: Liquidity lines remain solid while active and transition to a dashed style once the level is "purged" (swept), maintaining a clean structural history of the market. 2. Intelligent Fair Value Gaps (FVG) Imbalance Visualization: Automatically detects and plots Bullish and Bearish Fair Value Gaps. Mitigation Reduction (isFvgReduce): This "pro-level" feature automatically shrinks the FVG boxes as price fills the gap. If a wick enters 50% of an FVG, the box resizes to show only the remaining 50% that is yet to be mitigated. Optimized Memory: Includes a history manager to limit the number of active gaps, ensuring the chart remains focused on the most relevant current action. How to Trade with this Script: Liquidity Sweeps (Stop Hunts): Monitor the Swing levels for potential sweeps. When price breaks a high-volume liquidity line and quickly rejects, it provides a high-probability reversal signal. Order Block & Inefficiency Entry: Use the unfilled (or partially reduced) FVG boxes as targets or entry zones where the market is likely to seek balance. Noise Filtering: Adjust the Filter Min Value to only display labels on liquidity levels that have seen significant trading activity—ideal for high-volatility assets like Nasdaq (NAS100), Gold (XAUUSD), or Crypto. Technical Configuration: Pivot Lookback: Define the sensitivity of market structure. Swing Area: Choose between measuring only the mecha (Wick Extremity) or the Full Range for liquidity volume calculations. Custom Aesthetics: Fully customizable colors to match any UI theme (Dark/Light modes).Индикатор Pine Script®от ScalpWolfTraderОбновлено 22502