Divergence Analysis
NinjaTrader 8 Indicator  ·  Multi-Timeframe Stochastic Divergence  ·  v4.2

StoDiver

A multi-stochastic divergence detection indicator that requires simultaneous alignment across four independent stochastic readings before surfacing a divergence condition — producing higher-confidence analytical output through multi-confirmation logic.

MNQ · MES · MGC3-min · 5-minNinjaTrader 84-Stochastic AlignmentPivot Confirmation
Live Chart Example

StoDiver In Action

Real chart screenshot showing the indicator in a live NinjaTrader 8 session.

StoDiver chart screenshot
What It Does

Analytical Overview

StoDiver operates four independent stochastic oscillators simultaneously and requires a configurable number of them — defaulting to all four — to agree on an oversold or overbought divergence condition before a signal is surfaced. This multi-stochastic alignment requirement substantially reduces condition frequency, trading raw quantity for analytical specificity.

Divergence detection operates through a pivot-based comparison system: the indicator identifies price pivot lows and stochastic pivot lows, then evaluates whether the two are moving in opposite directions — a classic divergence structure. Pivot strength (the number of confirming bars on each side) is configurable, allowing adjustment between responsiveness and confirmation rigor.

An ATR filter can suppress conditions when current volatility exceeds a configurable threshold, blocking output during abnormally wide or news-driven conditions. An EMA trend gate optionally restricts bullish divergence to above-EMA price action and bearish divergence to below-EMA, filtering counter-trend setups when enabled.

Important Notice: This indicator is a non-customized charting tool provided for educational and informational market analysis only. It highlights conditions that meet proprietary analytical criteria and does not constitute financial advice, trading recommendations, or a solicitation to buy or sell any instrument. All signal output is analytical in nature. Users remain solely responsible for whether, when, and how they trade. Past performance of any analytical method is not indicative of future results.

StoDiver v4.2 — Feature Set
Four Simultaneous Stochastics
Runs four independent stochastic calculations simultaneously. All four — or a configurable subset — must agree on divergence direction before a condition is surfaced.
Pivot-Confirmed Divergence Structure
Uses a genuine pivot-based comparison requiring confirmed price pivots and corresponding stochastic pivots, rather than simple oscillator threshold crossings.
Configurable Alignment Count
The number of stochastics required to agree is configurable (1–4), allowing traders to tune between sensitivity and confirmation strictness.
ATR Volatility Filter
Suppresses conditions when ATR exceeds a configurable threshold, blocking divergence output during abnormally wide or news-driven volatility.
EMA Trend Filter Gate
Optional EMA-based filter restricts bullish divergence conditions to above-EMA environments and bearish conditions to below-EMA.
Divergence Line Visualization
Optional dashed lines connecting the two pivot points forming the divergence structure, providing visual confirmation of the price–oscillator relationship.
Inside Candle Signal Placement
Signal arrows can be placed at the candle midpoint or offset above/below the candle, with tick-distance configurable for clean chart presentation.
WPF HUD Panel
Heads-up display overlay shows current EMA trend state, ATR reading, and bar context, updating on each bar.
Use Cases

How Traders Use It

Common analytical applications of this tool in live futures session workflows.

🔄

Reversal Zone Identification

Identifies conditions where price is making a new extreme while momentum oscillators show reduced participation — a classic divergence structure.

🛡️

Multi-Confirmation Filtering

The four-stochastic alignment requirement provides a built-in multi-confirmation mechanism, surfacing fewer but potentially higher-specificity divergence conditions.

📉

Oversold / Overbought Context

Designed for use at structural extremes where price has moved to a potential exhaustion area and the multi-stochastic system agrees on divergence.

Technical Specifications

Indicator Specs

Configuration
Stochastic Count4 simultaneous (alignment count configurable 1–4)
Divergence MethodPivot-based price vs. stochastic comparison
Pivot StrengthConfigurable (2 for <5-min, 3 for 5-min+)
Recommended Timeframes3-min, 5-min
Platform Details
Supported InstrumentsMNQ, MES, MGC (and others)
ATR FilterConfigurable maximum ATR threshold
Trend FilterEMA-based directional gate (optional)
Alert TypeScreen flash + visual markers