NinjaTrader TTM Squeeze Divergence Indicator
NinjaTrader TTM Squeeze Divergence Indicator enhances the standard TTM Squeeze by adding divergence analysis. It defines squeeze conditions through Bollinger Bands and Keltner Channels, then compares momentum with price to reveal divergences. The tool detects three types (classic, hidden, exaggerated), marks squeeze states with red/green dots, and integrates momentum confirmation to help traders identify breakout conditions, momentum shifts, and trend continuation scenarios.
Already a subscriber or have purchased a product?
What the TTM Squeeze Divergence Indicator Does
The NinjaTrader TTM Squeeze Divergence Indicator is based on the concept of the classic TTM Squeeze, which combines volatility and market pressure analysis. Unlike the standard version, however, this tool focuses on identifying divergences between price action and momentum, providing traders with a deeper view of market dynamics.
Two Analytical Steps
The indicator’s methodology is built on two key analytical steps:
Defining market conditions with TTM Squeeze
A “squeeze” reflects a period of decreasing volatility, where the market is consolidating energy before a potential directional move. At this stage, the indicator identifies a volatility compression phase, highlighting a shift from low to high-intensity price action.
Comparing momentum with price
When price forms new highs or lows but momentum fails to confirm the move, a divergence occurs. This acts as an additional filter, helping traders evaluate whether the trend still has strength or is beginning to weaken.
Three Types of Divergence
The indicator identifies three types of divergence:
Classic divergence
Highlights trend exhaustion and potential momentum shifts.
Hidden divergence
Often appears in trending markets and is used to identify potential trend continuation scenarios.
Exaggerated divergence
Highlights local price extremes and identifies points of potential momentum exhaustion.
The primary purpose of the indicator is to help traders spot critical moments when price action diverges from momentum. Such discrepancies highlight potential areas where momentum may be shifting, assisting in the systematic evaluation of trend sustainability.
Compared to the standard TTM Squeeze Indicator, this version goes beyond identifying market squeezes and expansions — it incorporates divergence analysis. This allows the tool to be used not only for monitoring consolidation phases but also for evaluating the internal dynamics and sustainability of price movements.
In practice, the TTM Squeeze Divergence Indicator for NinjaTrader helps traders address a common challenge: recognizing potential momentum exhaustion and identifying inconsistent price-momentum relationships. By combining volatility analysis with divergence detection, it provides a framework for the systematic observation of market structure.
How to Interpret and Use the TTM Squeeze Divergence Indicator
The TTM Squeeze Divergence Indicator combines two methods of technical analysis: volatility compression/expansion (the TTM Squeeze concept) and divergence detection between price and momentum. Understanding how these elements interact is essential for the consistent interpretation of market structural events.
The Squeeze Concept
The foundation of the indicator is the TTM Squeeze setup, which measures volatility by comparing Bollinger Bands and Keltner Channels:
- When the Bollinger Bands contract and move inside the Keltner Channels, it identifies a period of very low volatility. This condition is defined as a squeeze.
- When the Bollinger Bands expand and move outside the Keltner Channels, the squeeze is said to be fired. This expansion marks rising volatility and is often associated with a move outside the prior consolidation range.
On the indicator panel, this state is visualized with small dots plotted on the zero line:
Red dots
There is a squeeze (Bollinger Bands inside the Keltner Channels) → low volatility, market is in consolidation.
Green dots
The squeeze has released (Bollinger Bands outside the Keltner Channels) → volatility expansion, breakout conditions are present.
Integrating Divergence Analysis
The added value of the TTM Squeeze Divergence Indicator lies in combining volatility compression events with divergence detection. These occurrences highlight phases when price action and momentum move in opposite directions, identifying points of inconsistent market momentum and potential exhaustion.
Confluence Conditions
For a confluence condition to be identified, three conditions should align:
- Identified divergence — classic, hidden, or exaggerated, depending on market context.
- Squeeze condition (green dots) — analysis is prioritized during the volatility expansion phase (when the squeeze has fired). This confirms the shift from a period of market compression to directional momentum.
- Momentum direction confirmation — for a bullish setup, the momentum histogram must be rising, and for a bearish setup, it must be declining.
When all three factors coincide, the indicator identifies a structured confluence that confirms alignment between volatility expansion, divergence detection, and momentum analysis. This multi-layered approach highlights periods of potential structural shifts.
The indicator identifies divergences based on fractal extremes. This means that a structural marker is plotted only after a local high or low has been confirmed according to fractal logic — when the extreme point is flanked by the required price action on both sides. The number of bars used to define these fractal formations is controlled by the Swing Strength parameter, allowing for precise adjustment of the detection criteria.
This approach helps filter market noise, but it also introduces a methodological lag in marker appearance. The divergence is not identified at the moment the price touches an extreme, but only once the fractal structure is fully validated. This characteristic is a core part of the analytical logic and should be considered when integrating the indicator into a broader market observation framework.
Indicator Settings & Parameters
Full parameter reference, grouped by configuration area.
| Parameter | Description |
|---|---|
| Divergence Detection | |
| Swing Strength | Defines the number of bars the indicator considers when identifying local highs and lows based on fractal logic. A higher value increases the strictness of the swing definition, as the extreme must be surrounded by more bars with lower highs (for a top) or higher lows (for a bottom). This parameter directly influences the sensitivity of divergence detection. |
| Max Signal Wait Bars | Defines the maximum bars the indicator waits after divergence detection for all confluence conditions to align (volatility status + momentum direction). |
| Divergences Settings | Configuration for enabling/disabling specific divergence types (classic, hidden, exaggerated) and customizing their visual style (line color, type, and size). |
| Squeeze Calculation | |
| Base Period | Number of bars used to calculate Bollinger Bands and Keltner Channel. |
| Bollinger Bands Std. Deviation | Standard deviation multiplier applied to Bollinger Bands. |
| Keltner Channel Multiplier | Multiplier applied to Keltner Channel for squeeze detection. |
| Display | |
| Show Swing Points | Enables or disables the display of Swing Points on the chart. |
| Swing Label Font Size | Adjusts the font size for Swing Point labels. |
| Alerts | |
| Alerts | Configure various types of alerts. |
Plot Outputs for Strategy Builder & Automation
The indicator provides a set of exposed analytical plot outputs designed for structured integration with third-party strategy builders and automation tools such as BloodHound and BlackBird (SharkIndicators), as well as other algorithmic trading environments.
Squeeze & Momentum
- MomentumValue
- SqueezeOnValue
- SqueezeOffValue
Bullish Divergence
- Bullish> 0
- Bullish Hidden> 0
- Bullish Exaggerated> 0
Bearish Divergence
- Bearish> 0
- Bearish Hidden> 0
- Bearish Exaggerated> 0
Plot output names are technical identifiers intended solely for software integration purposes and do not constitute trading advice, signals, or recommendations.
System Requirements & Installation
What you need to run the indicator, how to download and install it in NinjaTrader 8, and how the license works.
System Requirements
- Platform
- NinjaTrader 8 (Desktop)
- Operating system
- Windows 10 or Windows 11
- Instruments
- Futures, forex, stocks and ETFs supported by NinjaTrader
- Data
- NinjaTrader’s native data connections
Not available on NinjaTrader Web or Mobile. NinjaScript indicators run in NinjaTrader Desktop only.
License Terms
- Lifetime License
- This indicator only, 1 PC, one-time payment, free updates included.
- All-Access Subscription
- All indicators and trade copiers, billed monthly, cancel anytime, updates included while the subscription is active.
- Free trial
- 5 days on the subscription plan. If not cancelled, the subscription starts automatically.
- License binding
- Linked to your email and to the computer on which it was first activated.
- Moving to another computer
- Available on request through support.
Installation
- Get access
Start the free trial, subscribe, or buy a lifetime license on this page.
- Download
The indicator is not sent by email. Open (top right of this page) and enter the email you used for your trial, subscription or purchase. The installation file (.zip) downloads to your computer.
- Import into NinjaTrader 8
In the Control Center, go to
Tools → Import → NinjaScript Add-Onand select the downloaded .zip file. Do not unzip it. - Add to a chart
Open a chart, click Indicators, select the indicator from the list and apply it.
- Activate the license
In the indicator settings, enter the same email. On first activation, the license is linked to that email and to your computer.
Updating: When a new version is released, download it again through and import it the same way over the existing version.
Installation questions? Contact support, Monday to Friday.
"Best Seller" and "Trending" reflect Nordman Algorithms sales and usage data, January–September 2026.
Disclaimer — Software Use & Risk Disclosure
Nordman Algorithms is a trade name of Nordman Algorithms OÜ (Reg. No. 14435535), registered in Tallinn, Estonia.
Software Use
Software Nature & User Responsibility — Nordman Algorithms provides algorithmic software tools for technical analysis. Nordman Algorithms is not a financial advisor and is not liable for any losses. All trades conducted based on the software’s output are executed at the user’s sole discretion and risk.
Visual Markers & Signal Disclosure — This software may display visual markers (such as arrows, dots, or alerts) when predefined mathematical conditions are met. These markers are provided for educational and analytical purposes only, must not be interpreted as financial guidance, and do not constitute a recommendation to buy, sell, or hold any financial instrument. Users must independently validate all visual cues within their own trading methodology.
No Financial Advice — Nordman Algorithms does not provide discretionary trading signals, investment advice, or managed signal services. Our software represents a mathematical visualization of historical and real-time data. The appearance of a visual marker does not guarantee a profitable trade or predict future market behavior.
Read the full Terms of Service →Risk Disclosure
Trading Risk Warning — Futures, Forex, and options trading involve significant risk. Risk capital is money that can be lost without jeopardizing financial security. Only risk capital should be used for trading. Past performance is not indicative of future results. An investor could potentially lose all or more than the initial amount committed.
ESMA Risk Warning — Financial instruments, especially those involving leverage such as CFDs and Forex, are complex and carry a high risk of rapid financial loss. Our software provides analytical outputs and visual markers based on predefined mathematical conditions and does not mitigate or reduce inherent market risks. You should carefully consider whether you understand how leveraged financial instruments work and whether you can afford the high risk of losing your capital.
CFTC Rule 4.41 — Hypothetical or simulated performance results have inherent limitations. Unlike actual performance records, simulated results do not represent real trading. Because trades have not actually been executed, these results may under- or over-compensate for the impact of market factors such as liquidity. Simulated results are also subject to the benefit of hindsight. No representation is being made that any account will achieve profits or losses similar to those shown.
Read the full Risk Disclosure →Trademark Notice — NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.
Need a different setup?
We can customize this indicator to your workflow, or convert it into a fully automated trading strategy with risk management and trailing-stop logic. Fixed-price quote before development begins.


