OPEN-SOURCE SCRIPT

MA Divergences for any indicator

This is a mod of Tistas mod of the default RSI divergences.
tradingview.com/u/tista/

This is a SMA that can be applied to any indicator for divergence seeking. This can be useful if you use a custom indicator script and want divergences added, or for any oscillator really. Set the length to 1 and it will mirror the oscillator in question.
DivergenceOscillatorsSimple Moving Average (SMA)

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?


take the brown acid
Also on:

Disclaimer