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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.