OPEN-SOURCE SCRIPT
TTM Squeeze Momentum MTF [Cometreon]

TTM Squeeze Momentum MTF [Cometreon] combines the core logic of both the Squeeze Momentum by LazyBear and the TTM Squeeze by John Carter into a single, unified indicator. It offers a complete system to analyze the phase, direction, and strength of market movements.
Unlike the original versions, this indicator allows you to choose how to calculate the trend, select from 15 different types of moving averages, customize every parameter, and adapt the visual style to your trading preferences.
If you are looking for a powerful, flexible and highly configurable tool, this is the perfect choice for you.
๐ท New Features and Improvements
๐ฉ Unified System: Trend Detection + Visual Style
You can decide which logic to use for the trend via the "Show TTM Squeeze Trend" input:
โ Enabled โ Trend calculated using TTM Squeeze
โ Disabled โ Trend based on Squeeze Momentum
You can also customize the visual style of the indicator:
โ Enable "Show Histogram" for a visual mode using Histogram, Area, or Column
โ Disable it to display the classic LazyBear-style line
Everything updates automatically and dynamically based on your selection.

๐ฉ Full Customization
Every base parameter of the original indicator is now fully configurable: lengths, sources, moving average types, and more.
You can finally adapt the squeeze logic to your strategy โ not the other way around.
๐ฉ Multi-MA Engine
Choose from 15 different Moving Averages for each part of the calculation:

๐ฉ Dynamic Signal Line
Apply a moving average to the momentum for real-time cross signals, with full control over its length and type.
๐ฉ Multi-Timeframe & Multi-Ticker Support
You're no longer limited to the chart's current timeframe or ticker. Apply the squeeze to any symbol or timeframe without repainting.
๐ท Technical Details and Customizable Inputs
This indicator offers a fully modular structure with configurable parameters for every component:
1๏ธโฃ Squeeze Momentum Settings โ Choose the source, length, and type of moving average used to calculate the base momentum.
2๏ธโฃ Trend Mode Selector โ Toggle "Show TTM Squeeze Trend" to select the trend logic displayed on the chart:
โ Enabled โ Shows the trend based on TTM Squeeze (Bollinger Bands inside/outside Keltner Channel)
โ Disabled โ Displays the trend based on Squeeze Momentum logic
๐ The moving average type for the Keltner Channel is handled automatically, so you don't need to select it manually, even if the custom input is disabled.
3๏ธโฃ Signal Line โ Toggle the Signal Line on the Squeeze Momentum. Select its length and MA type to generate visual cross signals.
4๏ธโฃ Bollinger Bands โ Configure the length, multiplier, source, and MA type used in the bands.
5๏ธโฃ Keltner Channel โ Adjust the length, multiplier, source, and MA type. You can also enable or disable the True Range option.
6๏ธโฃ Advanced MA Parameters โ Customize the parameters for advanced MAs (JMA, ALMA, FRAMA, VIDYA), including Phase, Power, Offset, Sigma, and Shift values.
7๏ธโฃ Ticker & Input Source โ Select the ticker and manage inputs for alternative chart types like Renko, Kagi, Line Break, and Point & Figure.
8๏ธโฃ Style Settings โ Choose how the squeeze is displayed:
9๏ธโฃ Multi-Timeframe Options - Timeframe โ Use the squeeze on higher timeframes for stronger confirmation
๐ Wait for Timeframe Closes -
โ Enabled โ Prevents multiple signals within the same candle
โ Disabled โ Displays the indicator smoothly without delay
๐ง Default Settings Reference
To replicate the default settings of the original indicators as they appear when first applied to the chart, use the following configurations:
๐ฉ TTM Squeeze (John Carter Style)
๐ฉ Squeeze Momentum (LazyBear Style)
โ ๏ธ These values are intended as a starting point. The Cometreon indicator lets you fully customize every input to fit your trading style.
๐ท How to Use Squeeze Momentum Pro [Cometreon]
๐ Identifying Trends
Squeeze Momentum Pro [Cometreon] supports two different methods for identifying the trend visually, each based on a distinct logic:
Squeeze Momentum Trend (LazyBear-style):
Displays 3 states based on the position of the Bollinger Bands relative to the Keltner Channel:
๐ต Blue = No Squeeze (BB outside KC and KC outside BB)
โช๏ธ White = Squeeze Active (BB fully inside KC)
โซ๏ธ Gray = Neutral state (none of the above)
TTM Squeeze Trend (John Carter-style):
Calculates the difference in width between the Bollinger Bands and the Keltner Channel:
๐ฉ Green = BB width is greater than KC โ potential expansion phase
๐ฅ Red = BB are tighter than KC โ possible compression or pre-breakout
๐ Interpreting Signals
Depending on the active configuration, the indicator can provide various signals, including:
Trend color โ Reflects the current compression/expansion state (based on selected mode)
Momentum value (above or below 0) โ May indicate directional pressure
Signal Line cross โ Can highlight momentum shifts
Color change in the momentum โ May suggest a potential trend reversal
๐ Integration with Other Tools
Squeeze Momentum Pro [Cometreon] works well alongside other indicators to strengthen market context:
โ Volume Profile / OBV โ Helps confirm accumulation or distribution during squeezes
โ RSI โ Useful to detect divergence between momentum and price
โ Moving Averages โ Ideal for defining primary trend direction and filtering signals

โ๏ธ If you find this indicator useful, leave a Boost to support its development!
Every piece of feedback helps improve the tool and deliver an even better trading experience.
๐ฅ Share your ideas or feature requests in the comments!
Unlike the original versions, this indicator allows you to choose how to calculate the trend, select from 15 different types of moving averages, customize every parameter, and adapt the visual style to your trading preferences.
If you are looking for a powerful, flexible and highly configurable tool, this is the perfect choice for you.
๐ท New Features and Improvements
๐ฉ Unified System: Trend Detection + Visual Style
You can decide which logic to use for the trend via the "Show TTM Squeeze Trend" input:
โ Enabled โ Trend calculated using TTM Squeeze
โ Disabled โ Trend based on Squeeze Momentum
You can also customize the visual style of the indicator:
โ Enable "Show Histogram" for a visual mode using Histogram, Area, or Column
โ Disable it to display the classic LazyBear-style line
Everything updates automatically and dynamically based on your selection.
๐ฉ Full Customization
Every base parameter of the original indicator is now fully configurable: lengths, sources, moving average types, and more.
You can finally adapt the squeeze logic to your strategy โ not the other way around.
๐ฉ Multi-MA Engine
Choose from 15 different Moving Averages for each part of the calculation:
- SMA (Simple Moving Average)
- EMA (Exponential Moving Average)
- WMA (Weighted Moving Average)
- RMA (Smoothed Moving Average)
- HMA (Hull Moving Average)
- JMA (Jurik Moving Average)
- DEMA (Double Exponential Moving Average)
- TEMA (Triple Exponential Moving Average)
- LSMA (Least Squares Moving Average)
- VWMA (Volume-Weighted Moving Average)
- SMMA (Smoothed Moving Average)
- KAMA (Kaufmanโs Adaptive Moving Average)
- ALMA (Arnaud Legoux Moving Average)
- FRAMA (Fractal Adaptive Moving Average)
- VIDYA (Variable Index Dynamic Average)
๐ฉ Dynamic Signal Line
Apply a moving average to the momentum for real-time cross signals, with full control over its length and type.
๐ฉ Multi-Timeframe & Multi-Ticker Support
You're no longer limited to the chart's current timeframe or ticker. Apply the squeeze to any symbol or timeframe without repainting.
๐ท Technical Details and Customizable Inputs
This indicator offers a fully modular structure with configurable parameters for every component:
1๏ธโฃ Squeeze Momentum Settings โ Choose the source, length, and type of moving average used to calculate the base momentum.
2๏ธโฃ Trend Mode Selector โ Toggle "Show TTM Squeeze Trend" to select the trend logic displayed on the chart:
โ Enabled โ Shows the trend based on TTM Squeeze (Bollinger Bands inside/outside Keltner Channel)
โ Disabled โ Displays the trend based on Squeeze Momentum logic
๐ The moving average type for the Keltner Channel is handled automatically, so you don't need to select it manually, even if the custom input is disabled.
3๏ธโฃ Signal Line โ Toggle the Signal Line on the Squeeze Momentum. Select its length and MA type to generate visual cross signals.
4๏ธโฃ Bollinger Bands โ Configure the length, multiplier, source, and MA type used in the bands.
5๏ธโฃ Keltner Channel โ Adjust the length, multiplier, source, and MA type. You can also enable or disable the True Range option.
6๏ธโฃ Advanced MA Parameters โ Customize the parameters for advanced MAs (JMA, ALMA, FRAMA, VIDYA), including Phase, Power, Offset, Sigma, and Shift values.
7๏ธโฃ Ticker & Input Source โ Select the ticker and manage inputs for alternative chart types like Renko, Kagi, Line Break, and Point & Figure.
8๏ธโฃ Style Settings โ Choose how the squeeze is displayed:
- Enable "Show Histogram" for Histogram, Area, or Column style
- Disable it to show the classic LazyBear-style line
- Use Reverse Color to invert line colors
- Toggle Show Label to highlight Signal Line cross signals
- Customize trend colors to suit your preferences
9๏ธโฃ Multi-Timeframe Options - Timeframe โ Use the squeeze on higher timeframes for stronger confirmation
๐ Wait for Timeframe Closes -
โ Enabled โ Prevents multiple signals within the same candle
โ Disabled โ Displays the indicator smoothly without delay
๐ง Default Settings Reference
To replicate the default settings of the original indicators as they appear when first applied to the chart, use the following configurations:
๐ฉ TTM Squeeze (John Carter Style)
- Squeeze
Length: 20
MA Type: SMA
Show TTM Squeeze Trend: Enabled - Bollinger Bands
Length: 20
Multiplier: 2.0
MA Type: SMA - Keltner Channel
Length: 20
Multiplier: 1.0
Use True Range: ON
MA Type: EMA - Style
Show Histogram: Enabled
Reverse Color: Enabled
๐ฉ Squeeze Momentum (LazyBear Style)
- Squeeze
Length: 10
MA Type: SMA
Show TTM Squeeze Trend: Disabled - Bollinger Bands
Length: 20
Multiplier: 1.5
MA Type: SMA - Keltner Channel
Length: 10
Multiplier: 1.5
Use True Range: ON
MA Type: SMA - Style
Show Histogram: Disabled
Reverse Color: Disabled
โ ๏ธ These values are intended as a starting point. The Cometreon indicator lets you fully customize every input to fit your trading style.
๐ท How to Use Squeeze Momentum Pro [Cometreon]
๐ Identifying Trends
Squeeze Momentum Pro [Cometreon] supports two different methods for identifying the trend visually, each based on a distinct logic:
Squeeze Momentum Trend (LazyBear-style):
Displays 3 states based on the position of the Bollinger Bands relative to the Keltner Channel:
๐ต Blue = No Squeeze (BB outside KC and KC outside BB)
โช๏ธ White = Squeeze Active (BB fully inside KC)
โซ๏ธ Gray = Neutral state (none of the above)
TTM Squeeze Trend (John Carter-style):
Calculates the difference in width between the Bollinger Bands and the Keltner Channel:
๐ฉ Green = BB width is greater than KC โ potential expansion phase
๐ฅ Red = BB are tighter than KC โ possible compression or pre-breakout
๐ Interpreting Signals
Depending on the active configuration, the indicator can provide various signals, including:
Trend color โ Reflects the current compression/expansion state (based on selected mode)
Momentum value (above or below 0) โ May indicate directional pressure
Signal Line cross โ Can highlight momentum shifts
Color change in the momentum โ May suggest a potential trend reversal
๐ Integration with Other Tools
Squeeze Momentum Pro [Cometreon] works well alongside other indicators to strengthen market context:
โ Volume Profile / OBV โ Helps confirm accumulation or distribution during squeezes
โ RSI โ Useful to detect divergence between momentum and price
โ Moving Averages โ Ideal for defining primary trend direction and filtering signals
โ๏ธ If you find this indicator useful, leave a Boost to support its development!
Every piece of feedback helps improve the tool and deliver an even better trading experience.
๐ฅ Share your ideas or feature requests in the comments!
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Advanced trading tools that simplify complex analysis into actionable insights. Save time and trade smarter with precision indicators.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Advanced trading tools that simplify complex analysis into actionable insights. Save time and trade smarter with precision indicators.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.