Request A Free Quote
NinjaTrader 8

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.

ttm squeeze divergence indicator classic hidden TTM Squeeze Divergence NinjaTrader ninjatrader 8 ttm squeeze divergence signal
5-Day Free Trial Cancel Anytime Continuous Product Updates Mon-Fri Free Support
Lifetime License
€200one-time
This indicator only · 1 PC · No recurring payments · Free updates included
Start Free Trial — 5 Days Free
Try all indicators & trade copiers free. If you don’t cancel within 5 days, a €25/mo subscription starts automatically.

Already a subscriber or have purchased a product?

Overview

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 Use

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:

Squeeze Dots

Red dots

There is a squeeze (Bollinger Bands inside the Keltner Channels) → low volatility, market is in consolidation.

Squeeze Dots

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:

  1. Identified divergence — classic, hidden, or exaggerated, depending on market context.
  2. 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.
  3. 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.

Important

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.

Settings

Indicator Settings & Parameters

Full parameter reference, grouped by configuration area.

ParameterDescription
Divergence Detection
Swing StrengthDefines 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 BarsDefines the maximum bars the indicator waits after divergence detection for all confluence conditions to align (volatility status + momentum direction).
Divergences SettingsConfiguration for enabling/disabling specific divergence types (classic, hidden, exaggerated) and customizing their visual style (line color, type, and size).
Squeeze Calculation
Base PeriodNumber of bars used to calculate Bollinger Bands and Keltner Channel.
Bollinger Bands Std. DeviationStandard deviation multiplier applied to Bollinger Bands.
Keltner Channel MultiplierMultiplier applied to Keltner Channel for squeeze detection.
Display
Show Swing PointsEnables or disables the display of Swing Points on the chart.
Swing Label Font SizeAdjusts the font size for Swing Point labels.
Alerts
AlertsConfigure various types of alerts.
Strategy & Automation

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.

Valuenumeric plot value > 0condition active when the value is above zero

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.

Requirements & Installation

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

  1. Get access

    Start the free trial, subscribe, or buy a lifetime license on this page.

  2. 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.

  3. Import into NinjaTrader 8

    In the Control Center, go to Tools → Import → NinjaScript Add-On and select the downloaded .zip file. Do not unzip it.

  4. Add to a chart

    Open a chart, click Indicators, select the indicator from the list and apply it.

  5. 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.

Developed by Nordman Algorithms

Developed, tested, documented, and maintained by our algorithmic trading software development team.

Meet the Team →
We Value Your Feedback Help us make it better

If you’ve spotted a bug, feel something essential is missing, or have ideas that could make this indicator better — we want to hear it.
Your feedback directly shapes future updates.

Send Feedback →
Custom Programming

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.

Custom Logic Strategy Automation Risk & Trailing-Stop Logic Alert & Automation Outputs