Divergence occurs when the price trend and cci values move in opposite directions, signaling a potential trend reversal.