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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。