OPEN-SOURCE SCRIPT
AlgoPilotX - Squeeze Confluence PRO

This indicator combines multiple squeeze models into one powerful signal engine. Traditional squeeze setups (like TTM Squeeze) identify when price volatility contracts and is “ready to fire.” Instead of relying on a single squeeze method, this tool merges three different squeeze models:
BB/KC Squeeze – Bollinger Bands inside Keltner Channels (classic & TTM logic).
Donchian Squeeze – Bollinger Bands inside Donchian Channels.
TTM Proxy – same BB/KC logic, extended for confirmation.
It then checks for confluence — meaning a squeeze is only considered valid when 2 or more models agree. Once the squeeze releases, the direction is determined by MACD momentum.
✅ Buy signals: appear as green triangles when a squeeze releases to the upside.
❌ Sell signals: appear as red triangles when a squeeze releases to the downside.
🔴 Red dots: squeeze is ON (volatility contraction).
🟢 Green dots: squeeze is released (volatility expansion).
A built-in dashboard panel shows:
Status of each squeeze model (ON/OFF).
Momentum bias (Bullish / Bearish / Neutral).
Confluence strength (0–3).
Final Buy/Sell/Wait recommendation.
📖 How to Use
Add to your chart → works on all timeframes and symbols (stocks, options, crypto, forex, futures).
Watch the squeeze dots:
🔴 Red = market is coiling (low volatility).
🟢 Green = market is expanding (squeeze released).
Follow Buy/Sell signals:
✅ Green triangle = bullish breakout probability.
❌ Red triangle = bearish breakdown probability.
Check the dashboard (top right):
If multiple squeeze models agree (Confluence ≥ 2) → signal strength is higher.
Momentum must align with the breakout direction (Bullish vs Bearish).
Best practice:
Use alongside support/resistance, volume, or trend filters.
Confirm with higher-timeframe bias before trading lower-timeframe signals.
Adjust BB/KC/Donchian lengths in settings to fit your asset’s volatility profile.
⚠️ Disclaimer
This is a research & educational tool. It does not guarantee profits. Always use proper risk management and confirm signals with your own strategy.
BB/KC Squeeze – Bollinger Bands inside Keltner Channels (classic & TTM logic).
Donchian Squeeze – Bollinger Bands inside Donchian Channels.
TTM Proxy – same BB/KC logic, extended for confirmation.
It then checks for confluence — meaning a squeeze is only considered valid when 2 or more models agree. Once the squeeze releases, the direction is determined by MACD momentum.
✅ Buy signals: appear as green triangles when a squeeze releases to the upside.
❌ Sell signals: appear as red triangles when a squeeze releases to the downside.
🔴 Red dots: squeeze is ON (volatility contraction).
🟢 Green dots: squeeze is released (volatility expansion).
A built-in dashboard panel shows:
Status of each squeeze model (ON/OFF).
Momentum bias (Bullish / Bearish / Neutral).
Confluence strength (0–3).
Final Buy/Sell/Wait recommendation.
📖 How to Use
Add to your chart → works on all timeframes and symbols (stocks, options, crypto, forex, futures).
Watch the squeeze dots:
🔴 Red = market is coiling (low volatility).
🟢 Green = market is expanding (squeeze released).
Follow Buy/Sell signals:
✅ Green triangle = bullish breakout probability.
❌ Red triangle = bearish breakdown probability.
Check the dashboard (top right):
If multiple squeeze models agree (Confluence ≥ 2) → signal strength is higher.
Momentum must align with the breakout direction (Bullish vs Bearish).
Best practice:
Use alongside support/resistance, volume, or trend filters.
Confirm with higher-timeframe bias before trading lower-timeframe signals.
Adjust BB/KC/Donchian lengths in settings to fit your asset’s volatility profile.
⚠️ Disclaimer
This is a research & educational tool. It does not guarantee profits. Always use proper risk management and confirm signals with your own strategy.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.