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 aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.