NinjaTrader Multi Divergence Indicator

NinjaTrader Multi Divergence Indicator
NinjaTrader Multi Divergence Indicator detects Classic, Hidden, Forming, and Confirmed divergence by comparing price swing structure against a user-selected indicator source. Unlike fixed-oscillator divergence tools, it works with any compatible NinjaTrader indicator that exposes plot data, including RSI, MACD, Stochastic, CCI, volume-based indicators, custom indicators, and third-party indicators. The indicator includes configurable swing validation, multiple qualification filters, alerts, chart markers, and analytical plot outputs.
Lifetime License
225
one-time payment · this indicator only
1 PC · No recurring payments · Free updates included
Already a subscriber or have purchased a product? Log in to get instant access & download.

What Is Multi Divergence Analysis?

Multi divergence analysis extends the traditional divergence concept by allowing traders to select the indicator source used for divergence detection.

Most divergence indicators are built around a single predefined oscillator such as RSI, MACD, or Stochastic. The NinjaTrader Multi Divergence Indicator uses a different approach. Instead of being tied to one indicator, it can analyze divergence using a selected data source available on the chart.

Price swing highs and lows are compared against swing points from the selected indicator plot. When price and the selected source develop conflicting structural behavior, a divergence condition can be identified.

This allows the same divergence engine to be used with different analytical tools without requiring a separate divergence indicator for each oscillator or custom indicator.

 

Supported Input Sources & Plot Compatibility

The NinjaTrader Multi Divergence Indicator is designed to work with user-selected indicator plots rather than a single predefined oscillator.

Any compatible NinjaTrader indicator that exposes plot data can be used as a divergence source. This allows traders to apply the same divergence engine across different analytical tools without changing the underlying detection methodology.

Common source types include:

  • RSI
  • MACD
  • Stochastic
  • CCI
  • Momentum Indicators
  • Moving Average-Based Indicators
  • Volume-Based Indicators
  • Volatility Indicators
  • Custom Indicators
  • Third-Party NinjaTrader Indicators

 

The indicator requires a continuous numerical plot as the divergence source. Indicators that output values only on selected bars — such as signal arrows or event markers — are not compatible with the divergence detection engine.

The indicator compares price structure against the selected source plot and applies the same divergence detection logic regardless of which compatible source is used.

For custom and third-party indicators, the source must expose plot values that can be accessed through NinjaTrader’s data series framework.

 

Configuring Divergence Sources

Before divergence detection can begin, a source indicator must be selected through the Input Series configuration.

1
 

Configure the indicator

Set your preferred divergence type, swing settings, filters, and alerts. See the Key Features and Indicator Settings sections for all available options.

2
 

Open Data Series → Input Series

Navigate to the Input Series section in the Data Series settings of the indicator.

3
 

Select the source indicator

Choose the desired indicator from the list. Any compatible NinjaTrader indicator that exposes plot data can be used as a divergence source.

4
 

Configure source parameters

Adjust the source indicator’s parameters in the Properties section according to your analysis requirements.

5

Select the desired plot

If the selected indicator exposes multiple plots, choose the specific plot to use as the divergence source. Different plots may produce different divergence conditions.

The indicator will compare price structure against the selected source plot and identify divergence conditions according to the configured detection rules.

FootPrint Divergence Example

The same workflow applies to custom and third-party indicators. For example, when using the Nordman Algorithms FootPrint Indicator as a divergence source, select it through Data Series → Input Series and choose the desired plot in the Properties section. 

ninjatrader multi-divergence indicator-input series configuration

ninjatrader multi-divergence indicator cumulative delta source

 

Divergence Detection Engine & Key Features

Classic & Hidden Divergence Detection

The NinjaTrader Multi Divergence Indicator supports both Classic and Hidden divergence detection.

Classic divergence occurs when price forms a new structural high or low while the selected indicator source fails to confirm the same movement.

Hidden divergence uses the opposite relationship. Price does not create a new structural extreme while the selected source continues to create a new high or low.

Divergence Type Bullish Condition Bearish Condition
Classic Divergence Price forms a lower low while the selected source forms a higher low or fails to create a corresponding low. Price forms a higher high while the selected source forms a lower high or fails to create a corresponding high.
Hidden Divergence Price does not create a new low while the selected source forms a lower low. Price does not create a new high while the selected source forms a higher high.

 

Both divergence types can be enabled independently, allowing traders to monitor one or both divergence models simultaneously.

Forming & Confirmed Divergence States

The NinjaTrader Multi Divergence Indicator supports both Forming and Confirmed divergence detection modes.

Forming divergence identifies divergence conditions before the associated swing structure has been fully confirmed. Confirmed divergence requires all involved swing points to be validated according to the selected Swing Strength setting.

State Detection Timing Advantages Considerations
Forming Divergence Detected before swing confirmation is complete. Potential divergence conditions become visible earlier, allowing developing divergence structures to be monitored before full swing confirmation. Requires a different approach to risk management because the divergence is based on an unconfirmed swing structure. If confirmation does not occur, the divergence may disappear and no longer satisfy the conditions required for Confirmed divergence.
Confirmed Divergence Detected only after all required swing points have been confirmed. Based on completed swing structures that satisfy the selected validation rules. Divergence markers appear later because confirmation requires additional bars to complete the swing structure.

 

Forming and Confirmed divergence are also visually distinguished on the chart by line style. Forming divergence is displayed with a dashed line, Confirmed divergence with a solid line — making it easy to separate developing conditions from fully validated structures at a glance.

Both states can be enabled independently, allowing traders to monitor Forming divergence, Confirmed divergence, or both simultaneously.

 

Swing Structure & Divergence Validation

Divergence detection is built around configurable swing structure analysis rather than fixed candle patterns.

Swing Strength controls how strictly highs and lows must be validated before they qualify as structural swing points. Higher values create stricter structure, while lower values allow swing points to form more frequently.

Vertex Match Tolerance defines how closely swing points between price and the selected indicator source must align in time. Matching swing points do not need to occur on the exact same bar. For example, with a tolerance of 3, a price swing and a corresponding source swing can be matched if they occur within ±3 bars of each other.

DIV Min Bars Distance prevents divergence from being detected between swing points that form too close together. This helps filter out smaller divergence structures that can occur during short-term market fluctuations.

These settings control how swing structures are identified and matched during divergence detection.

Filters & Signal Qualification

The NinjaTrader Multi Divergence Indicator includes multiple optional filters that can be used to restrict when divergence conditions are allowed to appear.

Volume Filter
The Volume Filter restricts divergence detection to bars where volume meets a configured minimum threshold, evaluated against a lookback-based average with a configurable multiplier. This focuses divergence detection on periods of higher relative volume activity.

Higher Timeframe (HTF) Filter
The HTF Filter adds a higher-timeframe EMA reference to divergence qualification. Divergence detection is limited to conditions that align with the selected higher-timeframe directional reference. This adds higher-timeframe directional context to divergence qualification.

EMA Filter
The EMA Filter uses a moving average on the current chart timeframe to qualify divergence events. Only divergence conditions that align with the selected EMA direction are registered. This can help keep detection consistent with a defined trend reference on the trading timeframe.

VWAP Filter
The VWAP Filter evaluates divergence conditions relative to the current session VWAP. Bullish divergence requires price to be above session VWAP, bearish divergence requires price to be below. This adds a volume-weighted price reference to divergence qualification.

Kill Zone Filter
The Kill Zone Filter restricts divergence detection to selected trading session windows — Asia, London, New York, or a custom session. This is useful for traders who focus their analysis on specific trading sessions and want divergence detection to occur only during selected market hours.

Each filter can be enabled independently, allowing divergence detection to be configured using a single filter or multiple filters simultaneously.

Alerts, Markers & Plot Outputs

The NinjaTrader Multi Divergence Indicator supports alerts, chart markers, and analytical plot outputs for both visual analysis and strategy integration.

Alerts and markers can be configured independently for Forming and Confirmed divergence events, allowing divergence conditions to be monitored during swing formation or after full swing confirmation.

In addition to chart visualization, the indicator exposes analytical plot outputs that can be used by NinjaTrader strategies and third-party automation frameworks.

Available outputs include divergence state information, divergence type information, directional conditions, and structural swing data. These outputs can be referenced by custom strategies, automated trading systems, market scanners, and other analytical tools that support NinjaTrader plot integration.

 

Indicator Settings & Parameters

Alerts

  • Enable Pop Up Alert — Enables on-screen notification windows when divergence events are detected.
  • Enable Sound Alert — Enables audible alerts for divergence events.
  • Alert Sound File — Specifies the sound file used when sound alerts are enabled.
  • Enable Email Alert — Enables email notifications when divergence conditions are detected.
  • Email To — Specifies the recipient email address used for divergence notifications.

DIV Settings

  • Swing Strength — Controls how strictly highs and lows must be validated before they qualify as swing points. Higher values create stricter structure, while lower values allow swing points to form more frequently.
  • Enable Classic DIV — Enables detection of Classic divergence structures.
  • Enable Hidden DIV — Enables detection of Hidden divergence structures.
  • DIV Min Bars Distance — Defines the minimum number of bars required between swing points before a divergence can be registered. This helps prevent divergence detection between swing structures that form too close together.
  • Vertex Match Tolerance — Defines how closely swing points between price and the selected indicator source must align in time. For example, with a tolerance of 3, a price swing and a corresponding source swing can be matched if they occur within ±3 bars of each other.
  • Enable Forming DIV — Enables Forming divergence detection before full swing confirmation has occurred.

Filters

  • Enable Volume Filter — Enables volume-based divergence qualification.
  • Volume Lookback — Defines the lookback period used when evaluating volume conditions.
  • Min Volume Multiplier — Specifies the minimum volume threshold required for divergence qualification relative to the calculated average volume.
  • Enable HTF Filter — Enables higher timeframe trend qualification using an EMA calculated from a selected higher timeframe.
  • Higher Timeframe Type — Defines whether the HTF Filter uses a minute, hourly, or daily timeframe reference.
  • Higher Timeframe Minutes / Hours / Days — Defines the specific higher timeframe used by the HTF Filter.
  • HTF EMA Period — Defines the EMA period applied to the selected higher timeframe reference.
  • Enable EMA Filter — Enables divergence qualification relative to an EMA on the current chart timeframe. The EMA Filter Period setting defines the moving average period used by the filter.
  • Enable VWAP Filter — Enables divergence qualification relative to the current VWAP reference.
  • Enable KillZones — Enables session-based divergence qualification.
  • Session Configuration (#1–#4 Sessions) — Up to four independent trading sessions can be configured. Each session includes individual enable controls, custom labels, start and end times (EST), background color settings, and opacity controls. Divergence detection can then be limited to the selected session windows.

Alerts & Markers

  • Enable Confirmed DIV Alert — Enables alert notifications when a Confirmed divergence is detected.
  • Enable Confirmed DIV Marker — Displays chart markers for Confirmed divergence events.
  • Enable Forming DIV Alert — Enables alert notifications when a Forming divergence is detected.
  • Enable Forming DIV Marker — Displays chart markers for Forming divergence events.

Styling

  • Labels Font Size — Controls the font size used for divergence and swing labels displayed on the chart.
  • Divergence Label — Enables or disables divergence text labels.
  • Swing Labels Color — Defines the color used for swing structure labels.
  • Confirmed DIV Bullish Color — Defines the color used for bullish Confirmed divergence markers.
  • Confirmed DIV Bearish Color — Defines the color used for bearish Confirmed divergence markers.
  • Forming DIV Bullish Color — Defines the color used for bullish Forming divergence markers.
  • Forming DIV Bearish Color — Defines the color used for bearish Forming divergence markers.

 

Custom Programming

NinjaTrader custom programming

Need changes to this indicator? We can customize it to your specifications — adding new functions, modifying logic, refining visuals, or integrating it with other NinjaTrader tools.

We also convert indicators into Automated Trading Strategies with advanced features such as trailing stops, position parameter controls, execution filters, and rule-based automation built to your technical specifications.

Request a free consultation to discuss the technical scope, timeline, and available development options.

 

We Value Your Feedback

We are committed to the ongoing development and refinement of our indicators. If you’ve spotted a bug, feel that something essential is missing, or have ideas that could make the indicator even better, just send us a message. Your feedback helps us improve and deliver tools that truly meet traders’ needs.

 

Exposed Analytical Plots for Strategy Builder Integration

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.

Analytical Plot Name Output Values
  Input Value
  Classic Confirmed Short > 0
  Classic Confirmed Long > 0
  Classic Forming Short > 0
  Classic Forming Long > 0
  Hidden Confirmed Short > 0
  Hidden Confirmed Long > 0
  Hidden Forming Short > 0
  Hidden Forming Long > 0
  Swing HH Value
  Swing LH Value
  Swing EH Value
  Swing LL Value
  Swing HL Value
  Swing EL Value

Plot output names and descriptions are technical identifiers intended solely for software integration purposes and do not constitute trading advice, signals, or recommendations.

 

Frequently Asked Questions

1. What makes the Multi Divergence Indicator different from a standard RSI Divergence Indicator?

Traditional divergence indicators are usually tied to a single oscillator such as RSI or MACD. The Multi Divergence Indicator allows traders to select the divergence source through NinjaTrader’s Input Series framework, making it possible to apply the same divergence engine to a wide range of compatible indicators.

2. Can I use custom or third-party indicators as a divergence source?

Yes. Any compatible NinjaTrader indicator that exposes plot data can be selected through the Input Series configuration and used as the divergence source.

3. Does the indicator compare price to an indicator or indicator to indicator?

The indicator compares price structure against a selected indicator source. Divergence detection is performed between price swing points and swing points from the selected indicator plot.

4. What is the difference between Classic and Hidden divergence?

Classic divergence occurs when price creates a new structural high or low while the selected source fails to confirm the same movement.

Hidden divergence uses the opposite relationship. Price does not create a new structural extreme while the selected source continues to create a new high or low.

5. What is the difference between Forming and Confirmed divergence?

Forming divergence is detected before full swing confirmation has occurred. Confirmed divergence is detected only after all required swing points have been validated according to the selected Swing Strength setting.

Forming divergence may appear earlier but is based on an unconfirmed swing structure. Confirmed divergence appears later but is based on completed swing confirmation.

6. Can multiple filters be used at the same time?

Yes. Volume, HTF, EMA, VWAP, and Kill Zone filters can be enabled independently and combined according to individual analysis requirements.

7. What happens if the selected indicator contains multiple plots?

When multiple plots are available, the desired plot can be selected through the Input Series configuration. Divergence calculations will then be performed using the selected plot only.

8. Can I use the Multi Divergence Indicator with Strategy Builder, BloodHound, or other automation frameworks?

Yes. The indicator exposes analytical plot outputs that can be referenced by NinjaTrader strategies, automated trading systems, market scanners, and other compatible analytical frameworks.

9. Which indicators can be used as a divergence source?

The indicator can be used with many built-in, custom, and third-party NinjaTrader indicators that expose compatible plot data. Common examples include RSI, MACD, Stochastic, CCI, volume-based indicators, FootPrint plots, and other analytical tools that provide accessible data series.

10. Why would traders use Forming divergence instead of waiting for Confirmed divergence?

Forming divergence becomes visible before full swing confirmation has occurred. Some traders prefer to monitor developing divergence structures as they form rather than waiting for completed swing validation.

The trade-off is that Forming divergence is based on an unconfirmed swing structure and may not later qualify as a Confirmed divergence. Confirmed divergence appears later but requires all swing validation conditions to be satisfied before a marker is generated.

See other indicators on a single subscription
NinjaTrader Order Block Indicator
NinjaTrader Kill Zones Indicator
NinjaTrader SMT Divergence Indicator