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.
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.
All readings on this track · 26 readings
- 1991Constructing the relative strength index from seed and recursive averages
- 1991Inverting relative-strength-index closes for same-session rules
- 1991Seeded averages and the recursive-update
- 1993Restating relative-strength-index parameters after a smoothing change
- 1993Relative momentum construction by stretching the relative strength lookback
- 1994Constructing relative strength index lookbacks, bands, and confirmation filters
- 1994Building the relative-strength-index from signed close changes
- 1997Constructing the relative strength index as a bounded up-down close oscillator
- 2002Four-line oscillator construction for rule-based entries
- 2004Assembling a bounded RSI path
- 2004Constructing RSI on highs, lows, and reverse targets
- 2004Reverse-engineered RSI as an explicit next-bar price target
- 2006Self-adjusting RSI thresholds from the oscillator's own spread
- 2006Constructing adaptive overbought and oversold levels for a relative strength index
- 2006Relative Strength Index 50-line entry beyond the 70 and 30 extremes
- 2007Lock a followable rule set before testing RSI exits
- 2008RSI bands as a one-day shift of reverse-engineered levels
- 2008Constructing an asymmetrical RSI from adaptive up and down averages
- 2010Building a bounded oscillator from a rainbow smoother, relative strength, and inverse Fisher
- 2011Two-horizon weekly RSI with moving averages and stops
- 2011Percent-offset simple moving average bands with relative-strength confirmation
- 2011Fast and slow relative strength index as one mechanical rule book
- 2011Price-zone oscillator construction from signed closes
- 2015Constructing a zero-lag oscillator against a relative strength index baseline
- 2015Relative Strength Index as a baseline in 2015 software listings
- 2018Building a Fisherized deviation-scaled oscillator