INVITE-ONLY SCRIPT

The Divergent (Pro) - Advanced Divergence Indicator

Updated
Automated divergence detection with unparalleled customizability for any market on TradingView.

This is the Pro version of The Divergent - Advanced Divergence Indicator.

The Pro version contains everything that is in the Basic version, plus:

1. Access to a 2nd indicator, called "The Divergent's Companion"

By applying the companion indicator to the same chart you have The Divergent on, you will have the divergence lines and labels plotted on your price chart as well:

snapshot

2. Hidden Divergences

While the Basic version can only detect Regular Divergences, the Pro version can detect both Regular and Hidden Divergences:

snapshot

3. Seven more oscillators to detect divergences on

The Basic version comes with the two most popular oscillators, the MACD and the RSI.

With the Pro version you get access to 7 more oscillators:

- CMF (Chaikin Money Flow)
- Stochastic RSI
- MFI (Money Flow Index)
- TCI (Trading Channel Index), also known as WaveTrend
- Balance of Power
- CCI (Commodity Channel Index)
- Awesome Oscillator

snapshot

4. Alerts

With the Pro version you can set up alerts on The Divergent indicator, allowing you to get alerted to one of the following events:

1. Regular Bullish Divergence
2. Hidden Bullish Divergence
3. Regular Bearish Divergence
4. Hidden Bearish Divergence
5. Pivot Low Confirmed
6. Pivot High Confirmed

snapshot

5. Divergence Verification

The Pro version allows you to measure the quality of the detected divergences.

With divergence verification enabled, The Divergent will tell you how many times a particular divergence "played out", i.e. how many times a bullish or bearish divergence has actually resulted in the change in price in the direction predicted by the divergence. You can configure the price % levels which are used to categorise the divergences as valid or invalid (or unknown).

snapshot

6. Use the signals in your own Pine Script strategy / indicator

The Pro version comes with access to a Pine Script Library called The Divergent Library.

Just add The Divergent onto the same chart you have your strategy on, link the two together using a "source" input, and use the functions in the library to process the signals from The Divergent:

snapshot

You can think of The Divergent being a DaaS (Divergece as a Service)!

7. Customise the look of the divergence lines and labels

The Pro version allows you to change the style of the divergence lines and labels:

snapshot

---
Release Notes
Version: 2022.01.05-r4
  • Fix: Make early divergence lines show up in the companion indicator
Release Notes
Version: 2022.03.03-r11
  • Fix "script takes too long to execute" issue when the MACD / RSI filters are enabled
Release Notes
Version: 2022.03.04-r12
  • Fix "calculation takes too long to execute" issue when the MA filter is enabled
Release Notes
Version: 2022.03.31-r13
  • Fixed an error that prevented the indicator from loading
Release Notes
Version: 2022.04.01-r14
  • Fixed another error that prevented the indicator from loading on the chart
Release Notes
Version: 2022.04.28-r70
  • New alerting mechanism: now a single alert is enough to get notified of any type of divergence occurring on a chart (this is in addition to the previous mechanism where you had to create a single alert per divergence)
  • When Pivot Lookback Right was set to 1, sometimes the indicator showed an error - this has been fixed
  • "Number Of Bars To Check Around Pivot" can now be set to 3 (the max. was 2 before) - this allows the indicator to select a better pivot on the source opposite to the divergence detection source
  • Split Divergence MA filter into two - now you can configure the MA filter individually for regular and hidden divergences
  • Added a new "Verify Both Pivots" option to the RSI overbought / oversold filter - with this you can tell the indicator to consider those RSI divergences valid where only a single pivot is in the expected (overbought / oversold) area
  • Improved customizability for oscillator bands (upper band / lower band)
  • Hide blue circles that appeared while the chart was zoomed out
Release Notes
Version: 2022.05.25-r74
  • Hide unused divergence statistics from indicator widget
Release Notes
Version: 2022.06.23-r87
  • Add time range filter for alerts
DivergencedivergencedetectionMoving Average Convergence / Divergence (MACD)MFIRelative Strength Index (RSI)Stochastic RSI (STOCH RSI)

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact WhiteboxSoftware for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases, you can find a good open-source alternative for free in our Community Scripts.

Author's instructions

To get access to the Pro version of The Divergent, please visit https://www.thedivergent.io

Want to use this script on a chart?

Warning: please read before requesting access.

Experiment with popular trading strategies without risking your capital: whitebox.so

Get access to The Divergent Pro indicator at thedivergent.io
Also on:

Disclaimer