Before you begin: Complete swing confirmation, RSI or MACD, and information-availability lessons.
Define which price and indicator points are paired
Timestamp divergence confirmation
Separate nonconfirmation from a reversal forecast
Mechanism and interpretation
Indicator divergence compares price extrema with an indicator's values or extrema. A common bearish form pairs a higher price high with a lower indicator reading; a bullish form pairs a lower price low with a higher reading. The pairing rule is the central modelling choice. Reading the indicator exactly at each price pivot differs from choosing its nearest local peak, or its maximum within a tolerance window. Those rules can disagree on the same chart.
Declare the pivot detector, allowed time separation, minimum price and indicator differences, and handling of unmatched points. If price pivots require right-hand bars, divergence cannot be confirmed at the pivot's original timestamp. Searching an indicator window extending into future bars adds further delay. Store all relevant availability times and use the latest one as the earliest possible confirmed decision time. Avoid hand-drawing lines only through extrema that support a later reversal story.
Worked case — synthetic data
Synthetic confirmed price highs occur at bar 10 with price 100 and bar 20 with price 110. Indicator values at those exact bars are 70 and 65. The same-time pairing rule labels bearish divergence because price rises while the indicator falls. But the indicator has a local peak 75 at bar 19. A nearest-peak rule allowing a one-bar mismatch might pair 70 with 75 and find no bearish divergence. Neither result is reproducible without naming the pairing convention.
Suppose the second price pivot needs two right-hand bars and is confirmed at bar 22. Even the same-time indicator values were insufficient to confirm the complete divergence at bar 20 because the price high could still be exceeded before pivot confirmation. A research entry at bar 20 based on the final confirmed label would look ahead. After confirmation, price may reverse, continue or consolidate; divergence itself only describes the relative history.
Context and failure modes
Bounded oscillators can show smaller peaks during persistent trends for mechanical reasons, and different indicator parameters alter extrema. Multiple possible pivot pairs create a large hidden search space. Count all rule-qualified divergences and define an outcome horizon rather than selecting only those followed by large turns.
Practice task
Price lows occur at bars 5 and 12 with values 50 and 45; indicator values at those bars are 30 and 35. Use exact-time pairing and two-right-bar price confirmation. Classify the divergence and state its earliest confirmed availability.
Worked practice answer
It is bullish nonconfirmation under the stated rule: price makes a lower low while the indicator is higher. The second price pivot is confirmable at bar 14, assuming both required later bars satisfy the pivot rule. The final label cannot justify a confirmed entry at bar 12.
Topic assessment
Choose an answer before opening each explanation. These questions test the specific mechanism in this lesson.
1. What can change a divergence label without changing the price chart?
The investor's account balance
The indicator-pivot pairing rule
The font size alone
Reveal answer and explanation
B. Exact-time and nearby-extreme pairing can select different indicator values.
2. When is the case's second price pivot confirmed?
Bar 20 automatically
Bar 10
Bar 22
Reveal answer and explanation
C. Two subsequent bars are required by the chosen detector.
3. Does bearish divergence guarantee a decline?
No
Yes
Only when RSI is used
Reveal answer and explanation
A. It is a historical nonconfirmation pattern whose future response must be tested.
Primary references and scope
Original explanation and synthetic calculations. Chart thresholds are explicit research conventions, not exchange rules or proof of predictive ability.