1994issue C091-2
Building the relative-strength-index from signed close changes
A cell-by-cell construction of the relative-strength-index: split close-to-close change into up-session and down-session series, place a seed-average, apply a recursive-smooth, form RS, and finish with a bounded-transform on a 0-100 range.
- The relative-strength-index is assembled as a momentum measure from net close-to-close change, split into advancing sessions and declining sessions.
- An up-session-change stores the positive close-to-close difference or zero, and a down-session-change stores the absolute close-to-close drop or zero.
- A seed-average is the first simple mean of each signed-change series, placed only on the completed 14-period seed row, after which a recursive-smooth weights the prior average by 13, adds the newest session value, and divides by 14.
- RS is the up-session average divided by the down-session average, and the bounded-transform subtracts 100 divided by one plus RS from 100, confining the reading to a 0-100 range.
Assemble a momentum measure from signed closes
The relative-strength-index is assembled as a momentum measure from the net close-to-close change, split into advancing sessions and declining sessions.
The columns to keep in view are the signed-change series, the averages built from them, RS, and the final 0-100 reading.
Store up-session and down-session changes
An advancing session stores the positive close-to-close change; a non-advancing session stores zero. That stored value is the up-session-change.
A declining session stores the absolute close-to-close drop; a non-declining session stores zero. That stored value is the down-session-change.
Place the seed-average on the completed lookback row
The first 14-period averages of the up-session and down-session series are simple means placed only on the completed seed row.
Each seed-average is computed once over the full lookback before recursion starts.
Continue with the recursive-smooth
After that seed row, each new average equals 13 times the prior average plus the newest session value, all divided by 14.
That update is the recursive-smooth: it weights the prior average by 13, adds the newest signed change, and divides by 14.
Form RS and apply the bounded-transform
RS is the up-session average divided by the down-session average, and the worksheet then adds 1 to that ratio.
The final step is 100 minus 100 divided by that one-plus-RS quantity, which confines the oscillator to a 0-100 range. That map is the bounded-transform.
Inspect the completed worksheet
A completed 14-period worksheet is shown for an example listed equity series so the full column layout can be checked.
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