Cipher Wave PRO › Learn › Why divergences fail
How to read the marksWhy oscillator divergences fail in strong trends
A divergence is one of the most drawn and least understood marks on a chart. It fails often, and it fails most where it looks most tempting: against a strong trend. Here is the mechanism, what the comparison method changes, and what the mark can and cannot tell you.
What a divergence measures
A regular bearish divergence means price made a higher high while the oscillator made a lower high. A regular bullish one is the mirror: a lower low in price, a higher low in the oscillator.
WaveTrend takes the typical price of each bar, measures how far it is from its own short moving average, divides that by the average size of that distance lately, and smooths the result. The reading is not “how high is price”. It is “how stretched is price from its recent average, compared with how stretched it has been recently”.
Why a strong trend prints one divergence after another
Follow that definition through a trend. Momentum is highest when the trend accelerates, usually early, at the breakout. After that two things happen even if price keeps climbing at a steady pace:
- The average catches up. The moving average follows price up, so the distance between price and average stops growing. A steady climb produces a flat or falling oscillator, not a rising one.
- The yardstick grows. The oscillator divides by the recent average distance. After a strong push that divisor is larger, so the same stretch now reads as a smaller number.
The result: every later high in a healthy trend is likely to come with a lower oscillator high. That is a bearish divergence by definition, and the trend has not weakened in any way that matters to someone holding it. It has only stopped accelerating. A trend can stop accelerating and keep going for a long time, printing a second, third and fourth divergence on the way.
The same holds on the oversold side in a sell-off.
Pivot to pivot versus the whole leg
There is a second, more mechanical source of bad marks: which price the script compares.
Many divergence scripts work pivot to pivot. They find a peak on the oscillator, look up the price on that same bar, and compare it with the price on the bar of the previous oscillator peak. The catch is that the oscillator often turns before price does. Price can keep pushing for several bars after the wave has peaked. The real high of the move is then on a bar the script never looks at, so it can miss a divergence that happened, or compare two prices that were not the extremes of anything.
Cipher Wave Lite and PRO use a whole-leg comparison instead:
- Between two wave turns the script tracks the highest high (or lowest low) of the entire leg and stores it with the swing.
- A new swing is compared not with the previous swing but with the most extreme price swing of the last 60 bars (adjustable).
- A structure filter, on by default, uses only swings after the window's major opposite swing, so a new rally is not compared with a high from before a deep sell-off.
What this does not fix. The whole-leg method changes which divergences are drawn. It does not make them predictive, and it does nothing about the trend problem above: a true higher high with a truly lower wave tip is still just a trend that stopped accelerating.

The confirmation delay
A wave peak is only a peak once the bars after it are lower. Lite confirms a wave turn after 1 closed bar by default (2 is a setting, with fewer marks); PRO uses 2. Only then is the divergence drawn, and the line and diamond are placed back on the bars where the tips and the price extreme happened.
Two consequences are easy to miss when you scroll through history:
- You never saw the diamond at the top. On a 4-hour chart, two bars of confirmation is eight hours after the wave peak. In history the mark sits neatly on the high; live, it appeared later and at a different price.
- Faster confirmation is not free. Earlier marks mean more marks that turn out to be nothing. PRO's hollow early diamond appears before confirmation, and roughly 1 in 2–3 of those gets confirmed.
The upside of waiting: a confirmed Lite or PRO divergence uses closed bars only and does not move or disappear later (Lite removes old ones only when the “keep last N” setting pushes them out).
What a divergence says, and what it does not
| It says | It does not say |
|---|---|
| Price pushed further than before while momentum did not. | That price will turn, or when. |
| The move is no longer accelerating. | That the trend is over. Trends run for a long time without accelerating. |
| Which two swings were compared (the line). | Where to enter, where to stop, or how much to risk. |
Context changes how much weight the mark deserves, without turning it into a signal. Divergences near the overbought or oversold zones, or at a clear level on the price chart, are usually more meaningful than ones near zero. A divergence on a higher timeframe usually carries more weight than one on a 1 to 5 minute chart. One more limit: WaveTrend is normalised by recent volatility, so after a long quiet period a small move can push the waves to extremes.
See the failures yourself
The honest way to learn what divergences are worth is to look at all of them, not the ones picked for a screenshot.
- Cipher Wave Lite is free and open source. Put it on a market you know, scroll back through a strong trend and count how many diamonds price ran straight through. Drawn marks stay, so the failures are all there.
Questions
Why do bearish divergences keep failing in an uptrend?
Because an oscillator measures how stretched price is from its recent average, not how high price is. Momentum peaks when a trend accelerates, usually early. Later highs made at a steady pace come with lower oscillator highs, which is a bearish divergence by definition even though the trend is intact. A trend can stop accelerating and still continue for a long time.
What is the difference between pivot-to-pivot and whole-leg divergence?
A pivot-to-pivot script compares the price on the bars where the oscillator peaked. A whole-leg script, like Cipher Wave Lite, stores each oscillator swing together with the highest high or lowest low of the entire price leg, because price often keeps running for a few bars after the oscillator has turned. The whole-leg method measures the real extremes; it does not make divergences predictive.
Do divergences repaint?
It depends on the script. In Cipher Wave Lite a divergence is confirmed 1 or 2 closed bars after the wave turns and is then drawn back on the bars where it happened. After that it does not move or vanish, except when the keep-last-N setting pushes old marks out. So it does not repaint, but it does appear late: you see it after the turn, not at it.
Are hidden divergences more reliable than regular ones?
We make no such claim. A hidden divergence is read as a sign of trend continuation rather than exhaustion, so it does not fight the trend the way a regular one does, but it fails too. Cipher Wave Lite draws regular divergences only; hidden ones are in the paid PRO and in some free scripts.