RSI: What the Length and the 70 and 30 Lines Really Mean

Wait 5 sec.

RSI: What the Length and the 70 and 30 Lines Really MeanGBP/JPYOANDA:GBPJPYKu_Hero"RSI above 70 means overbought" is one of the first things many people learn about charts. This post looks at what RSI actually computes, what the 70 and 30 lines mean in terms of that computation, and what the length changes, on one past section. 1) How RSI is computed For each bar, the change in the close is split into a gain (if the close went up) or a loss (if it went down). RSI averages the gains and the losses separately over N bars and compares them: RS = average gain / average loss RSI = 100 - 100 / (1 + RS) The built-in Relative Strength Index uses N = 14 and RMA, Wilder's average, by default. RMA gives the latest bar a weight of 1/N (about 7% for N = 14); its weights fade like those of an EMA with length 2N - 1, which is 27 for N = 14. 2) What 70, 50 and 30 mean Solving the formula backwards: - RSI 50: average gain equals average loss. - RSI 70: average gain is about 2.33 times average loss. - RSI 80: average gain is 4 times average loss. - RSI 30: average loss is about 2.33 times average gain. So "above 70" means that, over the recent bars, up-closes have dominated down-closes by more than about 2.33 to 1 in size. It describes the balance of recent closes. It does not compare price with any "fair" level. 3) Why RSI can stay above 70 In a long move in one direction, gains keep outweighing losses bar after bar, so RSI can stay above 70 (or below 30) for many bars. The first box on this chart shows such a stretch on RSI 14. Reading every bar above 70 as "too high" would have described that whole stretch the same way. RSI is also a ratio, so a slow move with small but steady up-closes can reach 70 just as a fast move can. 4) What the length changes - Shorter N: each new close moves RSI more, so it reaches 70 and 30 more often. The second box shows RSI 5 touching both lines several times while RSI 14 barely gets there. - Longer N: RSI stays closer to 50 and reaches 70 or 30 less often. Because of this, some people move the lines (for example to 80 and 20) when they use a short length. The lines are conventions; changing N or the lines changes how often a reading appears, not what RSI measures. Common misreadings - "Overbought" is a name for a reading, not a forecast. RSI above 70 does not say that a turn is due. - 70 and 30 are conventions, not special values. - RSI uses closes only. Highs, lows, gaps inside a bar and volume are not in it. - This post does not discuss or test any rule that buys or sells at 70 or 30, or any divergence rule. Limitations - The source, the length and the timeframe all change the line. RSI 14 on a 4-hour chart and on a daily chart describe different windows. - RSI depends on where its calculation starts; on a short history the first values can differ between platforms. - This section was chosen because the two cases are easy to see. One example says nothing about which length or which lines suit any purpose. Chart: OANDA:GBPJPY 1D, a past section (March 2023 to October 2023) used only as an example. Two copies of the built-in Relative Strength Index on the close: length 14 (purple) and length 5 (orange), both with lines at 70, 50 and 30 and no smoothing line. The two boxes and the notes were drawn by hand with TradingView drawing tools. What happened after this section is not discussed here. For education only. This is not investment advice and not a forecast or trade recommendation for this or any symbol.