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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.