8. 6. 2021

5 14

TTM Squeeze

TTM Squeeze is a volatility and momentum indicator introduced by John Carter of Trade the Markets (now Simpler Trading), which capitalizes on the tendency for price to break out strongly after consolidating in a tight trading range.

The indicator has two lines:

  1. Squeeze
  2. Momentum

 

A more specific explanation is here.

The indicator will be a part of 133 SQX version.

14 Comments
Oldest
Newest Most Voted
Oliver
30. 9. 2021 3:06 pm

Do you have the pseudo code?

Emmanuel
2. 12. 2021 11:28 pm

Excellent !!!!!!! Thank you ???

mauro
mauro
1. 2. 2022 10:37 am

Hello I tried to install your TTM indicator but it does not expand and on the meta editor it gives me these compilation errors

‘SqTTMSqueeze.mq4’ SqTTMSqueeze.mq4 1 1

check operator precedence for possible error; use parentheses to clarify precedence SqTTMSqueeze.mq4 76 26

check operator precedence for possible error; use parentheses to clarify precedence SqTTMSqueeze.mq4 76 34

expression not boolean SqTTMSqueeze.mq4 76 26

0 errors, 3 warnings, 151 msec elapsed 1 4

can you please remedy?
thanks for your work

tomas262
Admin
Reply to  mauro
1. 2. 2022 6:54 pm

Hi, these are just warnings. It should work as expected

mauro
mauro
Reply to  tomas262
2. 2. 2022 10:29 am

Unfortunately it doesn’t work … I’d like to show you a picture of how it looks on the platform but I don’t know how to post it… it looks like a single straight line instead of an oscillator

Tomas Vanek
Admin
Reply to  mauro
2. 2. 2022 12:37 pm

Please, send us the picture to our email support.com we will take a look at it what could be wrong.

Vishal Rana
12. 5. 2022 12:25 am

I have Build 1.35.868 but I don’t see it in the list, was it added?

tomas262
Admin
Reply to  Vishal Rana
12. 5. 2022 12:35 pm

Please install using the package attached. SQX -> CodeEditor -> Import / Export to add this into your SQX

Vishal Rana
Reply to  tomas262
12. 5. 2022 1:04 pm

Thank you.

pipecool310
pipecool310
28. 9. 2022 7:40 pm

hello, when installing it it does not work, it just shows the blank space of the indicator

tomas262
Admin
Reply to  pipecool310
3. 10. 2022 6:20 pm

Have you installed correctly using SQX -> CodeEditor -> Import / Export?

pipecool310
pipecool310
Reply to  tomas262
3. 10. 2022 11:41 pm
I installed the indicator inside the mt5 folder system but when importing it to the chart, the screen does not show any line
Marcelo Padilla
4. 10. 2025 10:25 pm

I load the scripts to TS, but they don’t appear in Studies. Can’t get it to work. Grok suggests, among other things, “The strategy relies heavily on SQ_TTMSqueeze and SQ_AvgVolume, which are custom indicators exported from SQX. If these aren’t correctly imported or calculate differently in TradeStation, the entry/exit conditions may never trigger.” SOS

Marcelo Padilla
Reply to  Marcelo Padilla
5. 10. 2025 12:26 am

With Grok I get it “working”, but results are poor in relation to SQX. Not sure the correction it made was the right answer. “The issue of zero trades in TradeStation, despite verification, was due to the original LongEntrySignal condition being logically impossible (Value1 = 0 and Value4 = 1 on the same bar). The updated code shifts Value4 to the previous bar ([1]) to detect the squeeze transition (off now, on previously), aligns with the histogram momentum (blue above zero via increasing values), and includes the volume condition. The exit now explicitly checks for two consecutive negative momentum values… Read more »