OPEN-SOURCE SCRIPT
SQVIGU-- Master & Wizards Pattern Action

This indicator is a strictly filtered scanner that hunts for the precise Volatility Contraction and Momentum Anomalies popularized by legendary market wizards like Mark Minervini, Dan Zanger, Nicolas Darvas, and Kristjan Kullamägi.
Instead of cluttering your chart with arbitrary lines, this suite only triggers when the broader market regime is in a confirmed uptrend with exhausting volume.
⚙️ Core Innovations
• Smart Trade Plan Tooltips: Hover over or click any pattern label to instantly view the calculated 🟢 Entry Trigger, 🔴 Stop Loss, and 🎯 Target Strategy for that specific setup.
• Transparent Overlays: Uses Pine Script v6 to draw shaded boxes exactly over the historical footprint of the pattern, highlighting the structural zone.
• Strict Regime Filters: Eliminates false positives in choppy markets. Patterns only print if the asset is trending (Price > 20 EMA > 50 SMA) and volume is contracting.
🔍 The 5 Patterns Detected
1. Minervini’s VCP: Highlights sequential volatility contraction (e.g., depths of 25% ➔ 12% ➔ 4%). Buy the final pivot.
2. Zanger’s High Tight Flag (HTF): Detects a massive >90% "Pole" move followed by a tight flag consolidation (<25% drawdown).
3. Darvas Box: Maps the classic 3-day confirmed top and bottom accumulation zones for trend-following.
4. Kullamägi’s Episodic Pivot (EP): Flags high-volume, high-close gap ups (>5%). Wait for the 3-5 day tight flag to form before entry.
5. Crabel’s NR7 & ID/NR4: Identifies extreme micro-compression (narrowest range in 7 or 4 days) signaling an imminent 1-3 day volatility thrust.
How to use: Let the indicator find the coiled springs. Check the tooltip for your trade plan, wait for price to breach the trigger level on high relative volume, and always respect the structural stop loss.
Instead of cluttering your chart with arbitrary lines, this suite only triggers when the broader market regime is in a confirmed uptrend with exhausting volume.
⚙️ Core Innovations
• Smart Trade Plan Tooltips: Hover over or click any pattern label to instantly view the calculated 🟢 Entry Trigger, 🔴 Stop Loss, and 🎯 Target Strategy for that specific setup.
• Transparent Overlays: Uses Pine Script v6 to draw shaded boxes exactly over the historical footprint of the pattern, highlighting the structural zone.
• Strict Regime Filters: Eliminates false positives in choppy markets. Patterns only print if the asset is trending (Price > 20 EMA > 50 SMA) and volume is contracting.
🔍 The 5 Patterns Detected
1. Minervini’s VCP: Highlights sequential volatility contraction (e.g., depths of 25% ➔ 12% ➔ 4%). Buy the final pivot.
2. Zanger’s High Tight Flag (HTF): Detects a massive >90% "Pole" move followed by a tight flag consolidation (<25% drawdown).
3. Darvas Box: Maps the classic 3-day confirmed top and bottom accumulation zones for trend-following.
4. Kullamägi’s Episodic Pivot (EP): Flags high-volume, high-close gap ups (>5%). Wait for the 3-5 day tight flag to form before entry.
5. Crabel’s NR7 & ID/NR4: Identifies extreme micro-compression (narrowest range in 7 or 4 days) signaling an imminent 1-3 day volatility thrust.
How to use: Let the indicator find the coiled springs. Check the tooltip for your trade plan, wait for price to breach the trigger level on high relative volume, and always respect the structural stop loss.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.