TradingView Squeeze Indicators: Compression, Momentum, and Testing
A squeeze indicator compares two volatility envelopes to identify a particular kind of compression. The condition does not specify the direction, timing, or size of a future move. On TradingView, implementations differ in smoothing, momentum calculation, colors, and alert support, so start with the exact script and version.
Compression and direction are separate calculations
In a common squeeze definition, the upper Bollinger Band is below the upper Keltner Channel while the lower Bollinger Band is above the lower Keltner Channel. Both comparisons must hold: the Bollinger envelope is inside the Keltner envelope.
A release means the script's compression condition has ended. It does not mean that price has broken a particular resistance level or that a long entry has become profitable. A momentum histogram provides a separate directional measure and can disagree with the later price move.
Do not assume every implementation uses an EMA-centered Keltner Channel or the same ATR smoothing. Before comparing signals, record each envelope's center, length, width multiplier, range measure, and price source. Changing one of these changes the condition being tested.
Identify the implementation
LazyBear's original publication credits John Carter's TTM Squeeze concept but explicitly uses a different, linear-regression-based histogram. The author's legend describes black crosses for compression and gray crosses for release, rather than a universal red/green-dot scheme. The publication also records a 2014 Bollinger-multiplier correction, making version identification material to reproducing its results.
| Publication | What is documented | Why it matters |
|---|---|---|
| Squeeze Momentum Indicator: LazyBear | Open-source indicator, compression markers, regression-based momentum | An indicator display is not an order simulation |
| Squeeze Momentum vX: DGT | An adapted visualization with its own changes and alert features | A fork can have a different legend or calculation |
| Squeeze Momentum Strategy: PineIndicators | A strategy based on the squeeze concept | Entry, exit, sizing, and costs need separate inspection |
These are documented alternatives to inspect, not a ranking by return. A product carrying "Pro" in its name may belong to a different publisher; do not assume common ownership, identical dot colors, or equivalent compression thresholds.
How to read the histogram
Read the sign and the change separately. A positive value that is falling is still above zero; it is not the same state as a negative value that is rising. Colors often encode these distinctions, but the mapping belongs to the installed version.
For LazyBear's version, the author identifies a linear-regression-based calculation rather than Carter's simple momentum measure. Check the source for the precise series being regressed. A histogram is a transformation of historical price, not a forecast probability.
A reproducible release experiment
- Save the publication URL and code version, then record all envelope and histogram settings.
- Choose one symbol, exchange, session, interval, and date range. Include periods without subsequent large moves.
- Define release exactly: for example, the first closed bar after compression ends. This is a proposed research definition, not a recommended trade.
- Define the direction rule separately, including whether the histogram must be above/below zero or increasing/decreasing.
- Specify entry timing, invalidation, exit, position size, and transaction costs before calculating outcomes.
- Count all eligible signals. Keep a later period separate from parameter selection and compare results with and without each filter.
If adding ADX or volume, record the threshold and exclusions. An ADX cutoff is not proof that a release will succeed, and a volume spike is not required for every price breakout. Neither a universal 70-75% win rate nor a fixed eight-to-ten-bar move duration follows from squeeze arithmetic.
Different timeframes change bar duration, sample size, costs per move, and the meaning of the lookback. Compare them under a stated holding-period question instead of labeling all daily signals reliable and all one-minute signals unusable.
Alerts are version-specific
Open TradingView's alert dialog and inspect the conditions exposed by the selected script. Any alert() function call is available only when the script implements the corresponding calls. Do not assume that a plot or a squeeze label supplies an alert condition, or that every account supports an open-ended expiration. See TradingView's alert documentation.
Compare intrabar alerts with bar-close observations and recreate saved alerts after changing the intended inputs. A historical marker does not prove an identical live notification was available at that moment.
Custom rules in Pineify
Pineify can help create a Pine Script implementation through supported visual conditions or the Coding Agent. Provide the exact squeeze definition, source version, and timing requirements. Compile and inspect the generated result in TradingView; matching an indicator's name does not guarantee that its mathematics or signals match.
Frequently asked questions
Does a squeeze tell me which direction price will break?
The compression condition compares envelope widths and locations. Direction comes from a separate rule, such as a histogram condition, and remains uncertain.
Are LazyBear's markers always red and green dots?
No. The original publication describes black compression crosses and gray release crosses. Forks can use different colors and shapes; check the installed legend.
What settings are best for stocks or crypto?
No universal optimum is established here. Record the calculation and test a bounded parameter question on separate data with appropriate costs.
Can I backtest any squeeze indicator?
A strategy must define orders, timing, exits, and sizing. An indicator alone does not produce a complete trading test; a strategy fork can also use different rules from the original display.

