OPEN-SOURCE SCRIPT
Pullback to the primary trend confluence Qiuku V2

This advanced indicator is designed to capture explosive trend breakouts while aggressively filtering out false signals in consolidation zones.
Key Strategies:
1. MA Cluster (The Squeeze): Identifies periods where SMA 13, 26, and 100 are tightly compressed (within 1% range), representing coiled energy.
2. Candle Piercing: Requires a strong candle body to physically cross through the entire MA cluster.
3. ADX Trend Filter: Signals are only valid when ADX > 25 and rising, ensuring the market is not in a "dead zone."
4. Structure Confirmation: To exit the "box," price must break the 20-bar highest high (for Long) or lowest low (for Short).
5. Volume Surge: Breakthroughs must be backed by relative volume > 1.2x of the 20-period average.
Visual Guides:
- Green Glowing Box: High-probability Bullish Breakout.
- Red Glowing Box: High-probability Bearish Breakdown.
- Gray Background: "Trash Time" - ADX is below 25, trend is too weak to trade.
- Yellow Cross: Potential "fake-out" detected due to low volume.
Key Strategies:
1. MA Cluster (The Squeeze): Identifies periods where SMA 13, 26, and 100 are tightly compressed (within 1% range), representing coiled energy.
2. Candle Piercing: Requires a strong candle body to physically cross through the entire MA cluster.
3. ADX Trend Filter: Signals are only valid when ADX > 25 and rising, ensuring the market is not in a "dead zone."
4. Structure Confirmation: To exit the "box," price must break the 20-bar highest high (for Long) or lowest low (for Short).
5. Volume Surge: Breakthroughs must be backed by relative volume > 1.2x of the 20-period average.
Visual Guides:
- Green Glowing Box: High-probability Bullish Breakout.
- Red Glowing Box: High-probability Bearish Breakdown.
- Gray Background: "Trash Time" - ADX is below 25, trend is too weak to trade.
- Yellow Cross: Potential "fake-out" detected due to low volume.
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 cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga 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 cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.