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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.