INVITE-ONLY SCRIPT
VCP + TTM Squeeze Breakout Strategy

Overview
This strategy combines Mark Minervini’s Volatility Contraction Pattern (VCP) with the TTM Squeeze momentum framework to detect explosive breakouts in strong trending markets.
It identifies periods of volatility contraction within up-trending stocks and executes only when price, momentum, and volume confirm a valid breakout.
The system was designed to be robust and non-optimized, using one set of parameters that performs consistently across multiple stocks and indices without overfitting.
This strategy is based on the previously published “VCP + TTM Squeeze Breakout Detection Tool”, which is a public indicator by the same author.
The strategy expands upon that indicator by adding position management, ATR-based stop logic, Supertrend trailing, and full backtesting functionality.
Core Concept
Input Parameters
🔹 VCP Settings
🔹 TTM Squeeze Settings
🔹 ATR Stop Loss
🔹 Trailing Stop (Supertrend)
Entry Conditions
Breakout occurs when:
• Close > Pivot High
• Volume > average of past 5 bars
• Momentum > 0
• (If enabled) TTM Squeeze = No Squeeze (green)
• Price > Supertrend
A new position is entered the next bar when all conditions are true.
Exit Logic
Visualization
Performance and Risk Considerations
Disclaimer
This strategy is for educational purposes only and does not constitute financial advice.
Past performance from backtesting does not guarantee future results.
Use responsibly and adjust risk according to your account size and broker conditions.
This strategy combines Mark Minervini’s Volatility Contraction Pattern (VCP) with the TTM Squeeze momentum framework to detect explosive breakouts in strong trending markets.
It identifies periods of volatility contraction within up-trending stocks and executes only when price, momentum, and volume confirm a valid breakout.
The system was designed to be robust and non-optimized, using one set of parameters that performs consistently across multiple stocks and indices without overfitting.
This strategy is based on the previously published “VCP + TTM Squeeze Breakout Detection Tool”, which is a public indicator by the same author.
The strategy expands upon that indicator by adding position management, ATR-based stop logic, Supertrend trailing, and full backtesting functionality.
Core Concept
- VCP detects volatility contraction using ATR and volume.
- TTM Squeeze measures compression between Bollinger Bands and Keltner Channels.
- EMA filter ensures that trades only occur in established uptrends.
- Pivot logic tracks recent highs and resets automatically after failed attempts.
- Breakout triggers when price closes above pivot, volume exceeds its average, momentum is positive, and—if enabled—the TTM Squeeze releases (green).
- Stop-loss is ATR-based and transitions to a Supertrend trailing stop once profits exceed ≈ 1 %.
- This creates a mechanical system that mirrors institutional-style breakout trading while minimizing noise and false signals.
Input Parameters
🔹 VCP Settings
- VCP Period (10) – ATR lookback for volatility contraction
- Pivot Lookback (5) – number of bars used to define resistance
- Volatility Tolerance (1.1) – ATR compression threshold
- Volume & TrueRange Comparisons (5) – lookbacks for breakout validation
- Max Days Active (50) – how long the pattern remains valid
- EMA 50 / 100 / 200 – trend filter; must be aligned upward
- Use TTM Squeeze (true) – activates compression filter
🔹 TTM Squeeze Settings
- Length (20) – core period for BB and KC calculations
- Bollinger STD (2.0) – standard deviation multiplier
- Keltner Channels (1.5 / 2 / 3) – three compression zones
- Green = No Squeeze
- Orange/Red/Black = Compression levels
🔹 ATR Stop Loss
- ATR Length (14)
- Smoothing (RMA)
- Multiplier (1.0) – defines distance below swing low
- Show Lines (true) – optional visualization
🔹 Trailing Stop (Supertrend)
- ATR Length (10)
- Factor (3.0) – standard Supertrend setting
- Active after ≈ 1 % profit – replaces initial ATR stop
Entry Conditions
- Price > EMA 50/100/200 and EMAs in ascending order
- ATR indicates volatility contraction (≤ lowest ATR × 1.1)
- A Pivot High is set over the last 5 bars
Breakout occurs when:
• Close > Pivot High
• Volume > average of past 5 bars
• Momentum > 0
• (If enabled) TTM Squeeze = No Squeeze (green)
• Price > Supertrend
A new position is entered the next bar when all conditions are true.
Exit Logic
- Initial Stop-Loss: Low[1] − ATR × Multiplier
- Trailing Stop: Supertrend (ATR 10 × Factor 3) after ≈ 1 % gain
- Exit Condition: Triggered if price hits stop or volume/TR drops below average.
- Stops are handled through strategy.exit() to ensure immediate execution.
Visualization
- Yellow dots = VCP setup (active contraction)
- Green dots = active breakout
- Red/Blue lines = current stop loss
- Green line = entry price
- Colored bars (top) = momentum strength
- Bottom squares = Squeeze status (green = free, orange/red = compressed)
Performance and Risk Considerations
- Designed for daily or 4-hour charts of trending equities or ETFs.
- Best results in high-momentum stocks (e.g., tech, growth sectors).
- Avoid using on range-bound or low-volume assets.
- Typical backtests show a high profit factor (> 2) with controlled drawdowns.
- Each trade risks ≈ 1 – 2 % of equity when sized per ATR.
Disclaimer
This strategy is for educational purposes only and does not constitute financial advice.
Past performance from backtesting does not guarantee future results.
Use responsibly and adjust risk according to your account size and broker conditions.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 kaspareit-trading에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Access to this strategy is granted manually to approved users.
Please send an access request via the "Request access" button on this page.
Requests are reviewed individually.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 kaspareit-trading에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Access to this strategy is granted manually to approved users.
Please send an access request via the "Request access" button on this page.
Requests are reviewed individually.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.