Concept

Disparity Index

Disparity Index, also known as price vs MA %, Kairi relative index, is a Momentum & Oscillators concept. The Library holds 5 implementations, each one a working definition you can pull into Quant.

Top Disparity Index indicators

5 total

What is the Disparity Index?

The Disparity Index measures how far price has stretched away from its own moving average, expressed as a percentage. The calculation is direct: take the latest close, subtract a chosen moving average (commonly a simple or exponential one), divide the difference by that average, and multiply by 100. A reading of +5 means the close sits 5% above its average, -5 means 5% below, and zero means price and average are exactly equal.

The result is an unbounded oscillator swinging around a zero line: positive territory means price trades above its average, negative below, and every zero-line cross is by definition a price/MA crossover. The idea comes out of Japanese technical analysis, where the same calculation is known as the kairi (separation) index; Steve Nison helped introduce it to Western readers in the 1990s. Because the distance is a percentage rather than points, readings are comparable across instruments and across price levels in a way raw price-minus-average measures are not.

It matters because it puts a number on the rubber-band logic behind most mean-reversion trading: the further price stretches from its average, the more tension there is for a snap back, while a persistently one-sided reading is evidence of trend rather than excess. The honest caveat is that the index is unbounded and has no universal overbought or oversold levels; what counts as extreme depends on the instrument, timeframe, and volatility regime, so thresholds must be calibrated rather than copied.

How to calculate the Disparity Index

The index needs only a close series and one moving average, which makes it one of the simplest oscillators to compute or audit by hand.

  1. 1Choose the moving average. Type and lookback are both open choices: sources vary between simple and exponential averages, and between short lookbacks that track swing-level stretch and long ones (such as a 200-period average) that track how extended a whole trend is. The average defines what "normal" price means, so this setting is the indicator's entire personality.
  2. 2Compute the percentage gap. Subtract the moving-average value from the current close, divide by the moving-average value, then multiply by 100. Repeat on every bar to build the oscillator series.
  3. 3Read it around zero. Above zero, price trades over its average; below zero, under it. Zero crossings mark the bars where the close crosses its average, and the distance from zero is the stretch.
  4. 4Calibrate the extremes. There are no standard bands, so mark overbought and oversold from the instrument's own history: a percentile rank of past readings or a standard-deviation band around zero are common approaches.

How traders use it

  • As a mean-reversion trigger: extreme readings flag price as stretched, and traders fade the stretch back toward the average, usually requiring the index to roll over or a reversal candle to print first, since strong trends can stay stretched for many bars.
  • As a trend filter read at the zero line: sustained positive disparity keeps the bias long and sustained negative keeps it short, restating a moving average used as dynamic support or resistance in oscillator form.
  • For divergence: a new price high paired with a lower disparity high means each push is gaining less ground on the average, an early hint that the thrust behind the trend is fading.
  • As an anti-chasing rule: a cap such as "no new longs while disparity exceeds a set level" keeps breakout entries from triggering when price is already far above value; because the reading is a percentage rather than points, the rule's structure carries across symbols, though the level itself still needs calibrating to each market's volatility.

Disparity Index vs similar measures

ROC: Both are percentage oscillators, but ROC compares the current close with the close n bars ago, a pure speed measure, while the Disparity Index compares the close with an average of many closes. ROC answers "how fast is price moving"; disparity answers "how far is price from normal".

CCI: CCI also measures deviation from a moving average, but it uses typical price rather than the close and rescales the deviation by mean absolute deviation with a 0.015 constant, so most readings land between -100 and +100. The Disparity Index skips the rescaling: it is the raw percentage gap, with no expected range.

Z-score: A Z-score also asks how far price sits from its mean, but it divides that distance by standard deviation, so its extremes adapt automatically to volatility. Disparity divides by the average itself, so a 5% reading means something different in a quiet market than a volatile one; that is why its thresholds need per-market calibration.

MA Envelope: An envelope is the same measurement drawn the other way: bands a fixed percentage above and below a moving average on the price chart. Price tagging a 5% envelope band and the Disparity Index printing 5 are the same event; the oscillator form just makes the distance easier to compare over time.

More Disparity Index implementations

Related concepts · Rate-of-change cluster

Concept family

Momentum & Oscillators

91 concepts mapped · 72 in the Library

Disparity Index FAQ

What is the formula for the Disparity Index?

Disparity Index equals the close minus the moving average, divided by the moving average, times 100: the percentage distance between the latest close and its chosen average. Positive values put price above the average, negative values below, and zero means the two are equal. The moving-average type and length are user choices rather than part of the definition, so state them when comparing readings.

Is the Disparity Index the same as the Kairi Relative Index?

For practical purposes, yes. Both compute the percentage gap between price and a moving average; kairi is the older Japanese name, meaning roughly "separation", and its exact originator is unknown. Some platforms fix kairi to a simple moving average while letting the Disparity Index use any average type, but the reading and the interpretation are the same.

What are good overbought and oversold levels for the Disparity Index?

There are none that transfer across markets. The index is unbounded, and a stretch that is extreme for a major currency pair is routine for a small-cap stock or a cryptocurrency. Most traders calibrate per instrument, flagging readings in the top and bottom few percent of recent history, and even those extremes mark stretch, not a guaranteed turn.

Does a high Disparity Index mean I should sell?

Not by itself. A high reading says price is far above its average; in strong uptrends that condition can persist while price keeps rising, so shorting stretch alone fights the trend. Most approaches wait for confirmation, such as the index rolling over, a bearish candle, or divergence, and plan for the possibility that the stretch extends further.

What moving average length should I use for the Disparity Index?

There is no canonical default; published sources and platforms vary. Short lookbacks, roughly 10 to 25 bars, make a fast oscillator suited to swing-level mean reversion, while long ones such as 100 or 200 bars measure how extended an entire trend is. Match the average to the horizon you trade, then calibrate thresholds to that specific choice.

Build Disparity Index your way.

Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.