OPEN-SOURCE SCRIPT
Aggiornato Kyber Cell's – TTM Squeeze Pro

Kyber Cell's TTM Squeeze Pro is an all-in-one overlay that rebuilds John Carter’s TTM Squeeze, then layers on two extra confirmation tools—ALMA trend and a scroll-aware VWAP—so you can track contraction, momentum, trend and value without stacking indicators.
⸻
What each visual means
• Candles = Momentum histogram
Instead of a separate lower pane, every bar is tinted by a linear-regression slope:
• Rising & above zero → aqua→blue (bullish strength)
• Falling & below zero → yellow→red (bearish strength)
• Dots above the bars = Squeeze status
I’ve modernized Carter’s original black→red→orange→green sequence (it didn't feel natural to me):
• Blue “Cool” – bands wide apart, no compression yet
• Orange “Warming” – loose compression building
• Red “Ready” – tightest compression, watch for release
• Green “GO!” – first bar the squeeze fires (breakout begins)
• I added a Red/Green Backdrop that tracks the squeeze so you can easily identify the entry and exit based on the squeeze momentum. Appears only after a squeeze fires. Stays green while momentum remains > 0, red while it is < 0. Clears when momentum flips or a new squeeze starts.
• ALMA ribbon
A 50-period Arnaud Legoux moving average (user-tunable).
Price and ribbon rising above it → bullish tilt; price under a falling ribbon → bearish tilt.
• VWAP with optional σ bands
Anchored to the left-most visible bar every time you pan/zoom, so it always reflects the range on your screen. Staying above VWAP supports longs; below supports shorts.
• Entry labels
A triangle ▲/▼ or arrow ↑/↓ (your choice) prints on the exact bar a squeeze fires. Color, size and ATR padding are adjustable.
Key inputs you can adjust
• Squeeze length, Bollinger σ, three Keltner multipliers (High/Mid/Low).
• ALMA length, offset (0 = fast, 1 = smooth) and sigma.
• VWAP on/off, deviation-band σ (set to 0 to hide bands).
• Marker shape, size, colours and vertical padding in ATR multiples.
Typical workflow
1. Watch dot color: blue → orange → red.
2. When the dot flips green, momentum bar confirms aqua/blue (bull) or yellow/red (bear).
3. Enter in the direction of the bar color if price is also on the supportive side of ALMA and/or VWAP.
4. Trail until momentum changes side, the backdrop disappears, or your target is hit.
Disclaimer — This script is for educational purposes only and is not financial advice. Test thoroughly and manage risk before live trading.
Note di rilascio
Kyber Cell’s TTM Squeeze Pro is an all-in-one overlay that rebuilds John Carter’s TTM Squeeze, then layers on auxiliary confirmations—ALMA trend, a scroll-aware VWAP, and a user-defined protective-stop line—so you can track contraction, momentum, trend, value and risk without stacking indicators.⸻
What each visual means
• Candles = Momentum histogram
– Rising & above zero → aqua → blue (bullish strength)
– Falling & below zero → yellow → red (bearish strength)
• Dots above the bars = Squeeze status (modernized palette)
– Blue “Cold” – bands wide, no compression
– Orange “Warmer” – loose compression building
– Red “Hot” – tightest compression, watch for release
– Green “GO!” – first bar the squeeze fires (breakout begins)
• Backdrop
Appears only after a squeeze fires. Stays green while momentum > 0, red while < 0. Clears when momentum flips or a new squeeze starts.
• ALMA ribbon
50-period Arnaud Legoux MA (user-tunable). Price above a rising ribbon → bullish tilt; price below a falling ribbon → bearish tilt.
• VWAP with optional σ bands
Anchored to the left-most visible bar, so it always fits the range on your screen. Above VWAP favors longs; below favors shorts.
• Entry labels
▲/▼ triangle or ↑/↓ arrow (your choice) prints on the exact bar a squeeze fires. Color, size and ATR offset are adjustable.
• Suggested-stop line (new)
A thin grey line auto-plots the moment an entry label appears:
– Swing-stop mode – line just beyond the most recent swing low/high.
– ATR-stop mode – line = entry price ± (ATR × your multiple in settings, 1.5 default).
The line persists while the backdrop is active and vanishes when the run ends.
⸻
Key inputs you can adjust
• Squeeze length, Bollinger σ, three Keltner multipliers (High / Mid / Low)
• ALMA length, offset (0 = fast, 1 = smooth) and sigma
• VWAP on/off, deviation-band σ (set to 0 to hide bands)
• Marker shape, size, colors, vertical ATR padding
• Stop settings – toggle on/off, choose Swing or ATR, set swing look-back, ATR length and multiple, pick line color
⸻
Typical workflow
1. Watch dot colour: blue → orange → red → green.
2. When the dot flips green, confirm candle tint (aqua/blue for bulls, yellow/red for bears).
3. Enter in the candle’s direction if price is also on the supportive side of ALMA and/or VWAP; note the suggested-stop line for risk placement.
4. Manage the trade: trail until momentum crosses zero or the backdrop disappears; slide the stop line as needed.
5. Exit (John Carter method) – close the position when either
• Momentum tint flips sides: the candle colours that represent momentum change from the bullish pair (aqua/blue) to the bearish pair (yellow/red) or vice-versa. That colour-flip means the linear-regression momentum value has just crossed the zero line, signalling the impulse is losing strength.
• A new squeeze forms: the dots revert from green to blue → orange → red, telling you volatility is compressing again..
In plain words: stay in while the candles keep their original “bull” or “bear” color set, and get out when the color set changes or a fresh squeeze starts.
Use these five steps together and you have the full Carter-style “squeeze → release → exit on momentum change” cycle, with built-in stop guidance for risk control.
⸻
Disclaimer — This script is for educational purposes only and is not financial advice. Test thoroughly and manage risk before live trading.
Note di rilascio
Sorry, I forgot to add Alerts to the script. Alerts now support both long and short triggers. Note di rilascio
Added an option to switch between traditional TTM Histogram Bar overlay and John Carter's TTM Trend bar overlay. The Trend overlay attemtps to show if Bulls or Bears are in control of the price action while still maintaining the TTM Squeeze compression dots. Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.