OPEN-SOURCE SCRIPT
Quant Squeeze: Institutional Grade

Quant Squeeze: Institutional Grade
This indicator is a comprehensive volatility trading system designed to identify high-probability Breakouts and Reversions using a quantitative scoring engine (0-100). It combines the classic TTM Squeeze logic with Multi-Timeframe (MTF) trend filtering, Statistical Volume analysis, and Linear Momentum.
Key Features:
Institutional Squeeze Logic: Identifies periods where Bollinger Bands (2.0) contract inside Keltner Channels (1.5). This indicates potential energy accumulation.
Quantitative Scoring (0-100): Every signal is graded based on 5 factors: Trend Alignment, Volume Strength, Momentum Delta, Squeeze Duration (Energy), and RSI Context.
MTF Trend Filter: Confirms the current chart signal with a Higher Timeframe (e.g., Daily) trend to filter out fake-outs.
Hybrid Volume Engine:
Sniper Mode (BB): Uses Bollinger Bands on the Volume oscillator to detect statistical anomalies (Best for Crypto/Forex).
Sensitive Mode (SMA): Uses a simpler threshold for low-float or lower liquidity assets.
Kill Zone Protection: Automatically disables "Reversion" signals immediately after a Squeeze fires, preventing trading against a fresh explosion.
Dashboard: A real-time table displays the current Market Phase, Momentum direction, HTF Trend status, and Risk Targets (SL/TP based on ATR).
3. Operational Guide: How to read the chart
The indicator visualizes the market in a 3-Act structure. Follow the colors to understand the market phase.
Phase 1: The Squeeze (Gray Background)
What it means: The market is compressing. Volatility is low, and energy is building up (Accumulation).
Action: WAIT. Do not enter trades here.
Context: Watch the dashboard. The "Energy" of the squeeze increases the longer this phase lasts. Longer squeezes often result in more explosive moves.
Phase 2: The Firing Zone (Purple Background)
What it means: The Squeeze has fired. The bands have expanded, and price is breaking out.
Signals: Look for "BO" (Breakout) labels.
Strategy: This is the primary entry zone for trend-following trades.
BO + High Score (80+): Institutional Grade setup. Strong trend, volume spike, and momentum.
Note: Reversion signals are strictly disabled in this zone to protect you from catching a falling knife.
Phase 3: The Trend Run (Blue Background)
What it means: Volatility has normalized. The price is trending or ranging normally.
Signals: Look for "REV" (Reversion) labels.
Strategy: These are "Pullback" or "Mean Reversion" entries. They are only valid if they align with the trend (or if scoring suggests a high-probability scalp).
Understanding the Score (0-100)
Each signal comes with a numeric score:
65-75: Standard Setup. Good momentum, but perhaps lacking Volume or HTF confirmation.
75-85: Strong Setup. Solid confluence.
85-100: "All-In" Setup. Perfect alignment of Chart Trend, Higher Timeframe Trend, Statistical Volume Spike, and Accelerating Momentum.
This indicator is a comprehensive volatility trading system designed to identify high-probability Breakouts and Reversions using a quantitative scoring engine (0-100). It combines the classic TTM Squeeze logic with Multi-Timeframe (MTF) trend filtering, Statistical Volume analysis, and Linear Momentum.
Key Features:
Institutional Squeeze Logic: Identifies periods where Bollinger Bands (2.0) contract inside Keltner Channels (1.5). This indicates potential energy accumulation.
Quantitative Scoring (0-100): Every signal is graded based on 5 factors: Trend Alignment, Volume Strength, Momentum Delta, Squeeze Duration (Energy), and RSI Context.
MTF Trend Filter: Confirms the current chart signal with a Higher Timeframe (e.g., Daily) trend to filter out fake-outs.
Hybrid Volume Engine:
Sniper Mode (BB): Uses Bollinger Bands on the Volume oscillator to detect statistical anomalies (Best for Crypto/Forex).
Sensitive Mode (SMA): Uses a simpler threshold for low-float or lower liquidity assets.
Kill Zone Protection: Automatically disables "Reversion" signals immediately after a Squeeze fires, preventing trading against a fresh explosion.
Dashboard: A real-time table displays the current Market Phase, Momentum direction, HTF Trend status, and Risk Targets (SL/TP based on ATR).
3. Operational Guide: How to read the chart
The indicator visualizes the market in a 3-Act structure. Follow the colors to understand the market phase.
Phase 1: The Squeeze (Gray Background)
What it means: The market is compressing. Volatility is low, and energy is building up (Accumulation).
Action: WAIT. Do not enter trades here.
Context: Watch the dashboard. The "Energy" of the squeeze increases the longer this phase lasts. Longer squeezes often result in more explosive moves.
Phase 2: The Firing Zone (Purple Background)
What it means: The Squeeze has fired. The bands have expanded, and price is breaking out.
Signals: Look for "BO" (Breakout) labels.
Strategy: This is the primary entry zone for trend-following trades.
BO + High Score (80+): Institutional Grade setup. Strong trend, volume spike, and momentum.
Note: Reversion signals are strictly disabled in this zone to protect you from catching a falling knife.
Phase 3: The Trend Run (Blue Background)
What it means: Volatility has normalized. The price is trending or ranging normally.
Signals: Look for "REV" (Reversion) labels.
Strategy: These are "Pullback" or "Mean Reversion" entries. They are only valid if they align with the trend (or if scoring suggests a high-probability scalp).
Understanding the Score (0-100)
Each signal comes with a numeric score:
65-75: Standard Setup. Good momentum, but perhaps lacking Volume or HTF confirmation.
75-85: Strong Setup. Solid confluence.
85-100: "All-In" Setup. Perfect alignment of Chart Trend, Higher Timeframe Trend, Statistical Volume Spike, and Accelerating Momentum.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.