In simple terms
Both versions buy after a confirmed close above the previous 20-bar high. The squeeze version also requires a recent release. At base costs it returned +22.46% and +19.52%, versus +121.72% and +5.37% for the plain breakout.
Contents
What a squeeze measures
The squeeze measures how Bollinger Bands fit inside Keltner Channels. It describes volatility compression. The separate price breakout sets the direction in this study.
Data and test periods
We use SOL/USDT spot H4 candles in UTC from Binance. History from October 2021 initializes the indicators. The tests cover 2022–2023 and 2024–2025, each starting flat with 10,000 USDT.
How the bands and channels are built
Bollinger Bands use SMA20 of closes and two population standard deviations. Keltner uses EMA20 of closes and 1.5 Wilder ATR(20). EMA starts from the mean of the first 20 closes, and each ATR from the mean of its first true ranges.
BB = SMA₂₀(C) ± 2σ₂₀(C) · KC = EMA₂₀(C) ± 1.5 × ATR₂₀
σ₂₀ = √[Σ(Cᵢ − SMA₂₀)² / 20] · α_EMA = 2 / 21
From compression to release
Both Bollinger edges must be strictly inside the corresponding Keltner edges for at least three consecutive completed H4 bars. Release is the first completed bar outside that condition. The release bar and the next two qualify until a completed bar puts both Bollinger edges strictly back inside Keltner.
BB_low > KC_low ∧ BB_high < KC_high
The 20-bar price breakout
The completed close must exceed the highest high of the 20 bars immediately before it, excluding the signal bar. Entry uses the first price of the next H4 as recorded by the open, with adverse slippage.
H₂₀(t) = max(Hₜ₋₂₀, …, Hₜ₋₁) · Cₜ > H₂₀(t)
A control with the same price rule
The control accepts the same breakouts without the release gate. Both versions can hold one spot long at a time. We skip a new signal when already holding into its opening, even when an exit is scheduled there.
The initial stop
Set a fixed stop two Wilder ATR(14) below the modeled entry, using ATR at the signal close. The first archived aggregate trade at or below the level is the sale reference. Adverse slippage applies to that price.
S = P_E − 2 × ATR₁₄(t)
Time limit and period boundary
An open trade exits at the next opening reference after 12 complete H4 bars, or at the period boundary if earlier. A scheduled opening exit comes before later prints. Drawdown uses every H4 closing equity value with estimated exit costs plus the start and end balances.
Sizing and the fee test
A buy uses the available USDT balance including its entry fee. Commission is 10 bp per side in base and 20 bp in the higher-fee case. Adverse slippage stays at 5 bp per side. One basis point is 0.01%.
What counts as a return below the breakout
We check whether a close in the next three H4 bars returns to or below the original 20-bar ceiling. The denominator includes qualifying signals with all three follow-up bars in the same window, before the position limit. This is a diagnostic.
| Case | Qualifying signals | Already invested | Completed trades | Signals assessed | Returned to or below ceiling | Share returned |
|---|---|---|---|---|---|---|
| 2022–2023 · Squeeze filter | 40 | 11 | 29 | 40 | 13 | 32.50% |
| 2022–2023 · Plain breakout | 198 | 107 | 91 | 198 | 85 | 42.93% |
| 2024–2025 · Squeeze filter | 44 | 15 | 29 | 44 | 19 | 43.18% |
| 2024–2025 · Plain breakout | 256 | 158 | 98 | 256 | 120 | 46.88% |
Results at base costs
In 2022–2023 the squeeze returned +22.46% and the control +121.72%. In 2024–2025 they returned +19.52% and +5.37%. The table also gives maximum H4-close drawdowns.
| Case | Net return | Max. H4-close drawdown |
|---|---|---|
| 2022–2023 · Base fees · Squeeze filter | +22.46% | 32.69% |
| 2022–2023 · Base fees · Plain breakout | +121.72% | 41.70% |
| 2022–2023 · Base fees · Buy and hold SOL | −40.35% | 95.09% |
| 2022–2023 · Higher fees · Squeeze filter | +15.56% | 34.68% |
| 2022–2023 · Higher fees · Plain breakout | +84.82% | 44.54% |
| 2022–2023 · Higher fees · Buy and hold SOL | −40.47% | 95.09% |
| 2024–2025 · Base fees · Squeeze filter | +19.52% | 17.71% |
| 2024–2025 · Base fees · Plain breakout | +5.37% | 29.41% |
| 2024–2025 · Base fees · Buy and hold SOL | +22.17% | 66.06% |
| 2024–2025 · Higher fees · Squeeze filter | +12.78% | 18.36% |
| 2024–2025 · Higher fees · Plain breakout | −13.39% | 34.52% |
| 2024–2025 · Higher fees · Buy and hold SOL | +21.92% | 66.06% |
Higher fees and passive SOL
At 20 bp commission per side the squeeze returned +15.56% and +12.78%. At base costs buying and holding SOL returned −40.35% and +22.17%. That benchmark buys at each start and sells at the boundary.
Reading the example
The chart shows the first later-window base squeeze stop with at most 18 compression bars and at least two bars between entry and exit. R marks release, B the breakout, E and X modeled fills and S the stop. The archive verifies the UTC trade times in this example.
- R · UTC
- B · UTC
- E · UTC
- X · UTC
- E · USDT/SOL
- 192.8764
- X · USDT/SOL
- 180.0399
- S · USDT/SOL
- 180.1321
- Net account return for trade
- −6.84%
Which part of TTM Squeeze we study
The relationship between the two envelopes is one component of TTM Squeeze. Our direction and entry come from the 20-bar price breakout. The published test isolates the channel condition from the momentum histogram.
How to reproduce the figures
The JSON provides the protocol, archive hashes, scenarios and account marks. The CSV records completed trades. An independent calculation checked the channels, gate, stops and arithmetic.
What the comparison supports
The squeeze cut trades, return-below rates and drawdown in both windows. It trailed the plain breakout in 2022–2023 and led it in 2024–2025. With higher fees it stayed positive in both windows, while the later control became negative. Each squeeze window has 29 trades.
Questions and answers
Does a narrow Bollinger Band qualify on its own?
Both Bollinger edges must stay strictly inside the Keltner edges for three or more completed bars.
Can the release candle also be the breakout?
Yes. It qualifies at its close if the 20-bar price rule is met. The next two completed bars are eligible until a completed bar puts both Bollinger edges strictly back inside Keltner.
Does a return below the ceiling exit a trade?
We count it for analysis. The position follows the stop, time limit or period boundary.
When is the time exit?
At the first price after 12 complete H4 bars in the trade, unless the period boundary arrives sooner.
Why might the stop fill be below the level?
The first qualifying market trade can already be below the level. We then apply adverse slippage.
What changes in the higher-fee test?
Commission doubles from 10 to 20 bp per side. Slippage remains 5 bp per side.
Sources and reproducibility
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.
Risk disclosure
Educational material. Spot SOL can lose value. Actual execution, stops and costs can differ from the model. Historical results do not predict future performance.