...It's time for financial transactions...

Main menu

Squeeze Momentum Indicator

Translate from Pine: Squeeze Momentum Indicator [LazyBear]


This is a derivative of John Carter’s
“TTM Squeeze” volatility indicator, as discussed in his book “Mastering the Trade” (chapter 11).

Black crosses on the midline show that the market just entered a squeeze
( Bollinger Bands are with in Keltner Channel).
This signifies low volatility , market preparing itself for an explosive move (up or down).
Gray crosses signify “Squeeze release”.

Mr.Carter suggests waiting till the first gray after a black cross, and taking a position in the
direction of the momentum (for ex., if momentum value is above zero, go long).
Exit the position when the momentum changes (increase or decrease – signified by a color change).

Mr. Carter uses a simple momentum indicator, here’s a linreg based method to plot the histogram.

More info:
– Book: “Mastering The Trade by John F Carter”

The appendix contains two versions of the source code:

  • MetaTrader 5
  • NinjaTrader 8




    1. Hi!
      Gray and light gray colors are used by default, like neutral. Do not use them in any way.

  1. The 2nd plot “IsSqueezes” gives only the midline value which always remains at zero. Is there a way to plot the color change of the dots, or signal change when a dot prints on the line?

  2. I have not made this indicator for MT4. MT4 does not have such color change options.

  3. Hello,

    Thank you so much for making this indicator available for Ninjatrader. I was taught how to trade using this method. Nonetheless, I’m trying develop an automated trading bot using the strategy builder and it can’t seem to read the plot of “IsSqueezes.” Ninjatrader Support said to reach out to you in order understand how to correctly use the strategy builder for the automation to recognize a Squeeze and take action. Thank you very much for helping me.

    Warm Regards,

    1. Thank you for your attention)
      Source code is available for the indicator. It is not complicated and should be understood. And you have the right to change it as you wish.

  4. Hi Thank you very much for the Squuez MT5. Installed it without a problem. But it doesn’t show up on the panel. Can you help please? I have compiled it once and it still doesn’t show up. Thanks in advance

    1. Hello, JJ
      Look for the “AUN_Indi” folder at the top of the list of indicators

  5. Hello! Thank you so much for converting this into MT5 code! I’m also trying to install this indicator on MT5 but it shows up blank. I didn’t understand what was said about the “AUN_Indi” folder. Could you please help me? Thank you so much!

    1. “AUN_Indi folder” refers to the implementation for NinjaTrader 8.
      The indicator for MT5 works. I just checked.

Leave a Reply

Your email address will not be published. Required fields are marked *

8 + 14 =

Политика обработки персональных данных