OPEN-SOURCE SCRIPT

RSI Divergence (based on an EMA)

By drink7up
Updated
// Was just bored and thought I'd see what happens if RSI was just based on comparing the EMAs instead of confirmed highs / lows.
// Feel free to test and let me know if you find any useful settings (instrument, timeframe, ema).
Release Notes
Added additional options for the moving averages
OscillatorsTrend Analysis

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?

Disclaimer