OPEN-SOURCE SCRIPT
@Complete Squeeze Cycle Detector v2.0 FINAL

Description:
The Complete Squeeze Cycle Detector identifies and tracks the full lifecycle of squeeze formations, from pre-squeeze consolidation through active squeeze periods to squeeze completion. The indicator systematically detects the characteristic conditions that precede and accompany squeeze events.
The indicator monitors multiple factors associated with squeeze development including:
• Volatility compression relative to recent volume activity
• Elevated market stress conditions as measured by VIX levels
• Momentum compression through rate of change measurements across multiple time periods
• Alignment of multiple exponential moving averages indicating consolidation
The squeeze cycle is classified into three distinct phases: Pre-Squeeze Setup, Active Squeeze, and Squeeze Complete. Each phase is identified based on threshold levels of multiple compression metrics, with adjustable sensitivity settings to control the strictness of detection.
The indicator provides visual identification of each phase through labels, background coloring, and an optional dashboard, allowing users to distinguish between the preparation phase where volatility contracts, the active squeeze phase where compression reaches critical levels, and the completion phase where the squeeze releases and directional movement resumes.
This systematic approach enables users to identify squeeze formations throughout their complete development cycle rather than focusing only on the breakout phase.
The Complete Squeeze Cycle Detector identifies and tracks the full lifecycle of squeeze formations, from pre-squeeze consolidation through active squeeze periods to squeeze completion. The indicator systematically detects the characteristic conditions that precede and accompany squeeze events.
The indicator monitors multiple factors associated with squeeze development including:
• Volatility compression relative to recent volume activity
• Elevated market stress conditions as measured by VIX levels
• Momentum compression through rate of change measurements across multiple time periods
• Alignment of multiple exponential moving averages indicating consolidation
The squeeze cycle is classified into three distinct phases: Pre-Squeeze Setup, Active Squeeze, and Squeeze Complete. Each phase is identified based on threshold levels of multiple compression metrics, with adjustable sensitivity settings to control the strictness of detection.
The indicator provides visual identification of each phase through labels, background coloring, and an optional dashboard, allowing users to distinguish between the preparation phase where volatility contracts, the active squeeze phase where compression reaches critical levels, and the completion phase where the squeeze releases and directional movement resumes.
This systematic approach enables users to identify squeeze formations throughout their complete development cycle rather than focusing only on the breakout phase.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no pretenden ser, ni constituyen, asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no pretenden ser, ni constituyen, asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.