Skip to the content

Help / Indicator reference

Divergences

Price and an oscillator disagreeing at swings, regular and hidden.

Drawn on the price chart.

How it’s worked out#

Price making a higher high (lower low) while an oscillator makes a lower high (higher low)

How to read it#

Momentum not confirming price: a warning that the move is weakening, not a reversal by itself.

Note:These are the common readings, not trading advice: no indicator is right every time, and most work better with others and with the trend.

Settings#

  • Oscillator: RSI (RSI, MACD histogram, OBV, MFI, Stochastic %K, Cumulative volume delta)
  • Oscillator length: 14 (2 to 200)
  • Source: close
  • Swing length: 5 (1 to 50)
  • Most bars between swings: 60 (5 to 500)
  • Swings back to compare: 1 (1 to 10)
  • Regular: on
  • Hidden: off
  • Least oscillator difference (× its 100-bar std dev): 0.2 (0 to 5)
  • Least price difference (× ATR): 0.1 (0 to 5)
  • Bullish under 40, bearish over 60 (RSI, MFI, Stochastic): on
  • Nothing through the line between the swings: on

What it draws#

    Add it to a chart#

    On the chart, open Indicators and search for “Divergences”. Its settings open with a double-click on its line or its name in the legend, where the ? button leads back here. Alerts can watch any of its lines.

    Open the chart · Every indicator

    TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.