Support & Resistance Pro Toolkit [LuxAlgo]The Support & Resistance Pro Toolkit indicator is the ultimate professional structural analysis engine for TradingView, meticulously engineered to provide the definitive solution for modern structural analysis by integrating four sophisticated detection algorithms—Pivots, Donchian Alternating, CSID, and ZigZag—marked by directional triangle signals to identify high-conviction swing points.
This powerhouse tool allows traders to seamlessly toggle between precise level plotting and dynamic ATR-based zones, both featuring a revolutionary security breakout buffer and 25-bar future projections, alongside advanced filtering based on traded volume, liquidity sweeps (marked by prominent dot signals), re-test frequency, and survival duration.
🔶 USAGE
The toolkit identifies significant price structures using one of four sophisticated detection methods. Once a level is identified, it can be displayed as a precise line or a dynamic zone with depth determined by the Average True Range (ATR).
Traders can use this toolkit to filter out market noise by setting minimum requirements for volume, re-tests, or liquidity sweeps. This ensures that only the most significant institutional structures are displayed on the chart.
🔹 Advanced Detection Engines
The foundation of any structural analysis is detection. This toolkit offers four unique methodologies to suit any trading style:
Pivots : The industry-standard approach using left/right strength lookbacks to find peak highs and valley lows.
Donchian (Alternating) : A high-performance state-machine detector. It identifies alternating swings without fixed lag, confirming a previous extreme precisely when price shifts to a new directional state (e.g., a new Higher High confirms the previous Lower Low).
CSID : A momentum-based detector that identifies structural extremes based on a consecutive sequence of N bullish or bearish candles, highlighting areas of strong trend initiation.
ZigZag : A volatility-adjusted method that identifies swings based on a percentage deviation from price, filtering out minor fluctuations and focusing on significant market moves.
🔹 Zone Sizing & The Security Buffer
Structural areas are rarely single prices. This toolkit treats S&R as dynamic regions of interest:
Zone Depth (ATR Mult) : Zones are calculated using the Average True Range (ATR) to ensure they adapt to current market volatility. This sets the thickness from the swing point inwards towards price.
Breakout Buffer (ATR Mult) : A revolutionary "Security Buffer" that extends the zone outwards on the breakout side. This requires price to clear an additional layer of volatility before a breakout is confirmed, significantly reducing "fakeouts" and noise-triggered mitigations.
🔹 Overlap & Structural Hygiene
Keep your charts actionable and clean with institutional-grade overlap management:
Merge Overlapping : When two zones interact, the older zone expands its boundaries to encompass the newer one, creating a "Super Zone" that respects the combined historical context.
Hide Oldest First : Prioritizes the most recent market context by hiding older levels that are overlapped by newer ones.
Hide Youngest First : Respects established, historical structures by ignoring newer, smaller levels that form within the range of existing unmitigated zones.
🔹 Institutional Filtering
Eliminate minor "noise" levels by showing only structures that meet high-conviction criteria:
Price Entries (E) : Shows zones only after they have been re-tested a specific number of times.
Strength (S) : Tracks the number of additional swing points that occur within the zone range during its lifetime.
Sweeps (SW) : Filters for zones that have successfully trapped liquidity through wick-only violations.
Traded Volume (V) : Sums every tick of volume that occurs while price is within the zone, identifying areas of massive institutional participation.
Duration (D) : Requires a level to survive for a minimum number of bars before it is considered a valid structure.
🔶 DETAILS
🔹 Symbols & Analytic Feedback
▲/▼ Triangles : Pinpoint markers at the exact bar of every detected swing high and low.
● Large Dots : Marked at the exact location of "Sweeps"—where price wicks past a boundary but closes back inside, signaling a potential reversal or liquidity grab.
Future Projections : Active, unmitigated levels extend 25 bars beyond the current price action for immediate visual guidance.
Dynamic Shorthand Labels : Positioned at the end of the extension and centered on the zone average, providing a real-time data readout:
E:Entries | S:Strength | SW:Sweeps | V:Volume | D:Duration
🔹 The Performance Dashboard
A 4-column command center providing a side-by-side comparison of structural performance across Support, Resistance, and Totals:
Active / Total : Real-time count of currently valid versus historically detected structures.
Mitigation % : The structural "break rate" of your current settings.
Avg Duration : The average number of bars a level survives before being violated—critical for timing trades.
Avg Volume : The typical "weight" of institutional activity accumulated within zones before they break.
Total Sweeps : A macro-view of liquidity hunting activity on both sides of the market.
🔶 SETTINGS
🔹 Detection Settings
Detection Method : Choose between Pivots, Donchian, CSID, or ZigZag logic.
Swing Sensitivity : Adjusts the lookback or deviation required to confirm a new swing point.
🔹 Zone & Level Sizing
Display Style : Toggles between horizontal levels and ATR-based zones.
ATR Period : Period used for the volatility calculations.
Zone Depth (ATR Mult) : Sets the vertical thickness of the S&R zones.
Breakout Buffer (ATR Mult) : Adds a buffer to the breakout side to filter out false breaks.
🔹 Filtering & Visibility
Overlap Handling : Manages how overlapping zones are displayed (Merge, Hide Oldest, or Hide Youngest).
Max Active (Unmitigated) : Limits the number of unmitigated levels shown on the chart.
Show Broken S&R : Toggles the visibility of levels that have already been mitigated.
Extend Active S&R : Extends active levels into the future for better visibility.
🔹 Minimum Requirements
Min Price Entries : Minimum re-tests required for a level to be visible.
Min Overall Strength : Minimum strength score required based on internal swing points.
Min Sweeps : Minimum liquidity sweeps required.
Min Traded Volume : Minimum accumulated volume required within the zone.
Min Duration (Bars) : Minimum age of the level in bars before display.
Indicador Pine Script®






















