RSI divergence occurs when the RSI and the price of an asset move in opposite directions, indicating a potential trend reversal.