It is important to realize that the Divergence alert fires a few candles after the new top/bottom is formed. Unfortunately, there is no way of avoiding this. The issue is that Divergence requires tops and bottoms to form. But, one can only conclude that a candle represents a top or bottom a few candles after it has been formed, because at the time a new high is reached it might just as well be the case that the next candle will be even higher.