The RSI indicator in gold trading
RSI is one of the best-known indicators, but many people use it without understanding the number. Here we explain how it is calculated and what it does and does not say.
RSI measures the strength of recent moves on a 0 to 100 scale. Above 70 means strong upward moves, below 30 strong downward moves, and 50 is balance. In our strategy it is a filter: we only sell when it is below 50.
What is RSI?
The relative strength index. It compares the average of up moves with the average of down moves over a set period, usually 14 candles, and gives a number from 0 to 100.
How is it calculated?
We take the average gain and the average loss, divide them to get RS, and convert it to a number from 0 to 100. (The real calculation uses Wilder smoothing, but the idea is the same.)
Examples with numbers
If the average gain is 2 and the average loss is 1, RS = 2 and RSI is about 66.7. If they are equal it is 50. If gain is 1 and loss is 2 it is about 33.3.
| Average gain | Average loss | RS | RSI |
|---|---|---|---|
| 2 | 1 | 2 | 66.7 |
| 1 | 1 | 1 | 50 |
| 1 | 2 | 0.5 | 33.3 |
| 3 | 1 | 3 | 75 |
What the levels mean
Above 70 is called overbought and below 30 oversold, but that does not guarantee a reversal. In a strong trend RSI can stay above 70 for a long time. The 50 level is used as a divider between upward and downward momentum.
How we use it
The strategy is sell-only: it needs Supertrend to flip down on a closed 5-minute candle and RSI to be below 50. So it is a filter that blocks selling when momentum is rising.
Its limits
RSI lags because it is built from past prices, and it can give false signals in a sideways market. It does not replace a stop or risk management.
A tip
Test any indicator on a demo account and record results before relying on it, and do not change its settings after every loss.