OPEN-SOURCE SCRIPT

EMA Cross + Divergence strategy (Div. signals by The Divergent)

A sample strategy demonstrating the usage of The Divergent divergence indicator and The Divergent Library.

The Divergent is an advanced divergence indicator which you can easily incorporate into your own strategies.

In order to use this strategy (and to use the signals in your own strategy), you need to have the Pro version of The Divergent applied to your chart.

For more information, please see the comments inlined in the code.
Centered OscillatorsDivergenceExponential Moving Average (EMA)macddivergenceOscillatorspinescriptrsidivergencestrategy

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


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

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

Disclaimer