Skip to main content
Track Relative Strength Index
11 / 26
Library

2004issue C091

Constructing RSI on highs, lows, and reverse targets

The relative-strength-index is a 0-100 ratio of a smoothed up-change series to the sum of that series and a smoothed down-change series. The same construction applied to closes, highs, or lows also inverts a chosen projected-rsi into the next series value.

  • The relative-strength-index of an arbitrary series is a 0-100 ratio of a smoothed up-change series to the sum of that series and a smoothed down-change series.
  • A wilder-lookback of k periods smooths the up-change and down-change series with a (2k-1)-period exponential moving average, forming the average-up and the average-down.
  • Substituting highs or lows yields high-based-rsi and low-based-rsi readings with matching reverse-engineered companions; substituting closes recovers the classic construction.
  • Reverse-engineered-rsi converts a projected-rsi, defaulting to 50 and bounded from 1 to 100, into the next series value from the prior value and a signed increment that is scaled differently when negative.
Entries in this reading1 entry

The 0-100 ratio

The relative-strength-index of an arbitrary series is a 0-100 ratio of a smoothed up-change series to the sum of that series and a smoothed down-change series.

An up-change equals the period-to-period rise in the series when that rise is positive and equals zero otherwise. A down-change equals the period-to-period fall when that fall is positive and equals zero otherwise. Those smoothed series are the average-up and the average-down.

Smoothing with a wilder-lookback

When the RSI lookback is k periods, the up-change and down-change series are each smoothed with a (2k-1)-period exponential moving average. The wilder-lookback is that period count k. It sets the exponential smoother length at twice k minus one.

Worked implementations use a default wilder-lookback of 14 and set the exponential length to twice that lookback minus one.

The 0-100 RSI ratio is formed with a tiny positive addend in both the numerator and the denominator so a zero pair of average-up and average-down values does not divide by zero.

Highs, lows, and closes

Substituting highs or lows for the chosen series yields high-based-rsi and low-based-rsi readings together with matching reverse-engineered companions.

Substituting closing prices for the chosen series recovers the classic close-based RSI and its reverse-engineered counterpart.

A reverse-engineered next value

Reverse-engineered-rsi converts a chosen projected-rsi reading into the next value of the series from the prior series value and a signed increment that is scaled differently when that increment is negative.

Reverse-engineered implementations take a target RSI reading, defaulting to 50 and bounded from 1 to 100, plus the wilder-lookback.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
11 of 26 in the Relative Strength Index track
20041-12 pp.Next on Relative Strength IndexReverse-engineered RSI as an explicit next-bar price targetReverse-engineered RSI solves for the next price that would produce a chosen oscillator reading by combining the current price with a signed increment built from the Wilder lookback, average up change, and average down change.
All readings on this track · 26 readings
  1. 1991Constructing the relative strength index from seed and recursive averages
  2. 1991Inverting relative-strength-index closes for same-session rules
  3. 1991Seeded averages and the recursive-update
  4. 1993Restating relative-strength-index parameters after a smoothing change
  5. 1993Relative momentum construction by stretching the relative strength lookback
  6. 1994Constructing relative strength index lookbacks, bands, and confirmation filters
  7. 1994Building the relative-strength-index from signed close changes
  8. 1997Constructing the relative strength index as a bounded up-down close oscillator
  9. 2002Four-line oscillator construction for rule-based entries
  10. 2004Assembling a bounded RSI path
  11. 2004Constructing RSI on highs, lows, and reverse targets
  12. 2004Reverse-engineered RSI as an explicit next-bar price target
  13. 2006Self-adjusting RSI thresholds from the oscillator's own spread
  14. 2006Constructing adaptive overbought and oversold levels for a relative strength index
  15. 2006Relative Strength Index 50-line entry beyond the 70 and 30 extremes
  16. 2007Lock a followable rule set before testing RSI exits
  17. 2008RSI bands as a one-day shift of reverse-engineered levels
  18. 2008Constructing an asymmetrical RSI from adaptive up and down averages
  19. 2010Building a bounded oscillator from a rainbow smoother, relative strength, and inverse Fisher
  20. 2011Two-horizon weekly RSI with moving averages and stops
  21. 2011Percent-offset simple moving average bands with relative-strength confirmation
  22. 2011Fast and slow relative strength index as one mechanical rule book
  23. 2011Price-zone oscillator construction from signed closes
  24. 2015Constructing a zero-lag oscillator against a relative strength index baseline
  25. 2015Relative Strength Index as a baseline in 2015 software listings
  26. 2018Building a Fisherized deviation-scaled oscillator
All 261 readings tagged Relative Strength Index
Also on Relative Strength Index5 readings