Relative strength index
Measures smoothed upward movement relative to total price movement.
Purpose and construction
Measures smoothed upward movement relative to total price movement.
Relative strength index is applied to the chart series using the local definition below. Each period counts one bar on the active chart. The same period therefore covers a different amount of time on daily and intraday charts.
How to read it
Read the midpoint and extreme zones in context. Extreme readings can persist during trends.
Confirm the inputs and settings before comparing the indicator with price. On an open bar, close, extremes and volume can still change, so the reading can update before the bar closes.
Parameters
| Parameter | Default |
|---|---|
N1 | 6 |
N2 | 12 |
N3 | 24 |
Parameter names match the variables in the calculation. After changing a lookback or smoothing period, recalculate on the same data to compare response speed. Defaults from another platform may not match this definition.
Original illustrated case
This original daily-bar case moves through an advance, a pullback and a wider-range recovery. It does not represent a real security. Where available, outputs are calculated by the project’s formula engine using the defaults above.

From bar 91 to bar 180, the close rose from 106.7006 to 111.4203. Compare each output below, then use the reading rules above to distinguish direction, momentum, participation or a pattern condition.
| Point | Bar | Close | Volume | Calculated outputs |
|---|---|---|---|---|
| A | 91 | 106.7006 | 14187 | RSI1: 14.42RSI2: 31.9514RSI3: 44.9315 |
| B | 131 | 107.8753 | 19368 | RSI1: 40.2593RSI2: 60.5722RSI3: 60.2941 |
| C | 180 | 111.4203 | 15024 | RSI1: 16.4176RSI2: 34.6827RSI3: 50.7569 |
At A, the fastest RSI is 14.42 while the slowest is 44.9315. At C, price is higher than at A, but the fastest line is still weak at 16.4176 and the slowest is 50.7569. Different lookbacks describe different recent histories; a higher price does not require every RSI line to be high. This implementation exposes multiple lookbacks rather than assuming a single 14-bar RSI.
To reproduce: retain the same OHLCV series and default settings, then compare outputs bar by bar. Warm-up bars can have no value. The case-generation script and local definition are stored with the project, so plotted curves are calculated rather than hand-drawn.
Local calculation
The local definition is shown below. Display labels can be translated; the case calculation uses original source identifiers. A shared indicator name does not guarantee identical calculations across platforms.
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;Limitations
- Read the midpoint and extreme zones in context. Extreme readings can persist during trends.
- Timeframe, adjustments, warm-up length and data units affect results. Align these before comparing charts.
Questions
Why can Relative strength index differ across platforms?
Compare inputs, default periods, smoothing, offsets and data units before comparing the final value. This guide uses the local source definition rather than assuming that an external example has the same settings.
Does the example show a real trade?
No. The figure and table use simulated data to explain calculations and chart reading. They contain no real orders and make no return or win-rate claim.
References
The calculation comes from the project’s indicator registry. Primary references below provide related conceptual reading. Figures and numerical cases are independently produced for this project.