Skip to main content
Track Price-indicator divergence
7 / 16
Library

1996issue C011-6

Building a range-normalized divergence index from relative strength index

Lock which neighboring bars define a comparable high or low, place price and a relative strength index reading on the same range, then treat the signed remainder as a next-bar hypothesis instead of a freehand chart call.

  • A candidate peak is accepted only after a chosen peak-strength count of lower highs appears on each side, so a small count compares nearby turns and a large count compares more substantial turns.
  • Range-normalization divides each series change between two turns by that series own range over the same interval, mapping both terms onto a span from -1 to +1.
  • The divergence index subtracts the indicator term from the price term at peaks, reverses the order at troughs, and reports a signed score bounded from +100 to -100.
  • When the index is used as a timed condition, it is taken on the close of the confirmation bar, after a lower high confirms a peak or a higher low confirms a trough.
Entries in this reading2 entries

Start with the swing filter

Editorial framing: begin with the swing filter, not with the oscillator. The first lock is which neighboring bars define a comparable high or low.

A candidate peak is accepted only after a chosen count of lower highs appears on each side of it. A small peak-strength count compares nearby turns. A large peak-strength count compares more substantial turns.

Peak strength is that integer count of lower neighboring highs, or higher neighboring lows, required before a bar is accepted as a comparable turning point.

Place both series on the same range

To stop raw price units from dominating the score, each series change between two turns is divided by that series own range over the same interval. Range-normalization maps both terms onto a span from -1 to +1.

After that scaling, the construction subtracts the indicator term from the price term at peaks, reverses the order at troughs, and reports a signed divergence index bounded from +100 to -100.

Classic divergence is a joint case

Classic divergence is the joint case in which the current price extreme is beyond the prior price extreme while the indicator extreme is not.

Read the index on the confirmation bar

When the index is used as a timed condition, it is taken on the close of the following bar, after a lower high confirms a peak or a higher low confirms a trough. That following bar is the confirmation bar.

The construction treats a more positive reading as a reversal-leaning condition and a negative reading as a failed-extreme condition that then continues the prior move.

Two documented illustrations

A documented daily gold-futures case versus a 5-period relative strength index, with peak strength set to 1, computes a classic peak reading of 40 and a classic trough reading of 57.

A second documented case uses 15-minute equity-index futures versus a 10-period relative strength index with peak strength set to 5, requiring five lower highs on each side of an accepted peak.

Classic divergence index on December 1995 gold

Three confirmed classic divergences between daily December gold and a five-period RSI. The September 5 trough printed the strongest reversal reading at +57, the September 10 false peak printed −14 and the rally continued, and the September 18 new high against a weaker RSI printed +40. A trader should treat the large positive prints as reversal hypotheses on the next bar, not as freehand chart calls. The three values are the article’s own worked results, not traces off the candles.
Three confirmed classic divergences between daily December gold and a five-period RSI. The September 5 trough printed the strongest reversal reading at +57, the September 10 false peak printed −14 and the rally continued, and the September 18 new high against a weaker RSI printed +40. A trader should treat the large positive prints as reversal hypotheses on the next bar, not as freehand chart calls. The three values are the article’s own worked results, not traces off the candles.December 1995 gold futures · Daily · 1995-09-05T00:00:00.000Z to 1995-09-18T00:00:00.000Z

Peak-strength parameter is 1, so a peak is a high with a lower high on the neighboring bars. Only classic divergences are shown. The printed 40 and 57 are the formula results 39.64 and 56.63 rounded. The article’s figure note dates the +40 peak on September 16; the arithmetic in the body uses September 18. The trading signal is taken on the close of the confirmation bar after the swing.

The same comparison on any two series

The same range-normalized comparison can be applied to any two series, including two prices or two indicators, not only price versus one oscillator.

The construction is presented with two controls, peak strength and the chosen indicator expression, and is described as better applied when a market is not trending.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
7 of 16 in the Price-indicator divergence track
19981-11 pp.Next on Price-indicator divergenceTreat RSI as a testable filter rather than a triggerRSI is a 0-100 oscillator of a security's own up closes versus down closes, not a comparison of one security with another.
All readings on this track · 16 readings
  1. 1989Volume confirmation windows and exponential average construction
  2. 1990Constructing stochastic %K and %D from range position
  3. 1990Build a weekly leading sector composite from scaled transports and financials
  4. 1990Constructing stochastic K and D lines and divergence cues
  5. 1993Relative strength index events depend on the chosen input combination
  6. 1995Constructing a dual-horizon force index
  7. 1996Building a range-normalized divergence index from relative strength index
  8. 1998Treat RSI as a testable filter rather than a trigger
  9. 1999Primary-cycle windows, then stochastic confirmation
  10. 1999Stochastic rules versus buy and hold
  11. 2001Constructing confirmation filters for RSI overbought and oversold extremes
  12. 2003Constructing divergence-equivalent relative strength index and stochastic oscillators
  13. 2003Reverse-engineered RSI as a next-close projection
  14. 2003Scoring open versus resolved relative strength divergences
  15. 2003Bull-and-bear-balance from OHLC bar patterns
  16. 2003Constructing bull and bear balance from session paths
All 19 readings tagged Price-indicator divergence
Also on Price-indicator divergence5 readings