Skip to content

SQZ (TTM Squeeze)

Whether the market is very quiet ("squeeze on": the Bollinger Bands are inside a Keltner channel) and a momentum line that shows which way price is pushing.

Settings

Setting Default What it does
BB length 20 Length of the Bollinger Bands.
BB std dev 2.0 Width of the Bollinger Bands. Narrower bands are inside the channel more often (more squeezes).
KC length 20 Length of the Keltner channel.
KC multiplier 1.5 Width of the Keltner channel. Wider means more squeezes.
Momentum length 20 Candles used for the momentum line. Shorter turns faster.

Ready-made conditions

For Condition Fires when
Buy or sell Squeeze is on (Bollinger Bands inside the Keltner channel) every candle it is on (1)
Buy or sell Squeeze is not on every candle it is not on (0)
Buy or sell Squeeze is off (bands outside the channel) every candle the bands are outside the channel (1)
Buy Squeeze momentum above 0 every candle Squeeze momentum is above 0
Buy Squeeze momentum rising every candle Squeeze momentum is higher than 1 candle before
Sell Squeeze momentum below 0 every candle Squeeze momentum is below 0
Sell Squeeze momentum falling every candle Squeeze momentum is lower than 1 candle before

Warnings

  • Outside 0–1 (Squeeze on, Squeeze fired): the condition can never be true, or is always true. You can still save it.
  • Blocks Save: BB length 1–1000 (whole number); BB std dev 0.1–10; KC length 1–1000 (whole number); KC multiplier 0.1–10; Momentum length 1–1000 (whole number).

Good to know

  • To catch "fires after a squeeze", combine "Squeeze is on" with a lookback (for 5 candles in a row, ending 1 candle ago) and "Squeeze is not on" now. The squeeze uses its own Keltner channel (built on a simple average), not the Keltner Channels indicator.
  • Needs the longest of its windows: BB length, KC length + 1, or KC length + Momentum length - 1 candles (39 at the defaults).
  • The squeeze states are 1 (yes) or 0 (no).