Skip to content

Divergence

A divergence happens when a stock’s price and a momentum indicator move in opposite directions. It often suggests that the current trend is losing strength and may be about to reverse.

  • Bullish divergence: The price makes a lower low, while the indicator makes a higher low. This can signal a possible upward reversal.
  • Bearish divergence: The price makes a higher high, while the indicator makes a lower high. This can signal a possible downward reversal.

Tradomate detects regular (classic) divergences. You can see them on the company page chart and screen for them in the Screener.


Click the Divergence button in the toolbar above the chart, next to Bar Replay and Show Support/Resistance Levels. A dropdown opens with four momentum indicators: RSI, TDI, MACD and Stochastic.

Tick one or more indicators. The button shows how many are selected, for example Divergence (1). Untick an indicator to remove it from the chart.

Divergence dropdown

Each indicator you select is added in its own pane below the price chart, and its divergences are marked on both the price chart and the indicator:

  • Two lines per divergence: One line connects the two swing points on the price candles, and a matching line connects the same points on the indicator.
  • Colours: Green lines show bullish divergences, and red lines show bearish divergences.

Price is compared using the candle highs and lows. Each indicator is compared using its main line: the RSI line, the TDI Price Line, the MACD line, or the Stochastic %K line. If you change an indicator’s own settings, such as the RSI length, the divergences update to match.

Divergence works on 1-minute, 5-minute, 15-minute, 30-minute, 1-hour, 4-hour, daily, weekly, monthly and quarterly charts. It is not available on custom intervals. As you scroll back in time, divergences for older candles are loaded too.

Divergence on the chart

Click any divergence line to open the Divergence Settings panel. The same settings apply to all four indicators.

The Inputs tab controls how divergences are detected:

  • Show divergence: Show or hide the divergence lines.
  • Pivot lookback: How many candles on each side are used to identify a swing high or swing low.
  • Confirmation candles and Swing confirmation candles: How many candles must form before a swing or divergence is confirmed.
  • Min and max candles between pivots: How close together or far apart the two swings can be.
  • Pivots to compare: How many earlier swings each new swing is compared with.
  • Minimum price move and Minimum indicator move: How large the difference between the two swings must be for a divergence to count.

Divergence Settings, Inputs tab

The Style tab lets you change the colour and thickness of the bullish and bearish lines separately.

Divergence Settings, Style tab


You can screen for stocks with a fresh divergence using two operators in the condition builder: Bullish Divergence and Bearish Divergence.

Place the price on the left side of the condition and the indicator on the right, for example Close – Bullish Divergence – RSI(14). Price fields are under the Price Actions tab, and indicators are under the Technical Indicators tab.

  • Supported inputs: Either side can be a price field, such as close, open, high or low, or a technical indicator, such as RSI, MACD, Stochastic, TDI, CCI, ADX or a moving average. You can also compare two indicators with each other.
  • Supported options only: Once you choose a divergence operator, the lists only show options that work with it.
  • Same candle size: Both sides must use the same candle size, for example both daily.
  • Fresh divergences only: The screen finds stocks where the second swing of the divergence formed on the previous candle. A divergence appears in the results for one candle and then drops off.
  • Yes / No: The results column shows Yes or No for each stock.
  • Combining conditions: You can combine divergence conditions with other conditions using AND or OR, and turn them on or off like any other condition.
  • Default settings: The Screener always uses the default divergence settings, the same defaults as the chart. If your condition compares the indicator with Close, the results may differ from the divergences on the chart, which are based on highs and lows.

You can run backtests on screens that include divergence conditions, just like any other screen.


  • Why does a divergence line point to a swing that the price later broke? The chart shows each divergence as it appeared at the time it formed. Later price moves do not remove it.