After creating the Mechanical MACD Divergence indicator the natural thing to do would be to make an automated RSI divergence indicator. So, I did.

Like the Mechanical MACD Divergence indicator that preceded this one, the Automated RSI Divergence indicator will work on any time frame. Several examples are shown below.

ThinkScript: Automated RSI Divergence (weekly)
ThinkScript: Automated RSI Divergence (weekly)

ThinkScript: Automated RSI Divergence (daily)
ThinkScript: Automated RSI Divergence (daily)

ThinkScript: Automated RSI Divergence (daily)
ThinkScript: Automated RSI Divergence (daily)

ThinkScript: Automated RSI Divergence (60 min)
ThinkScript: Automated RSI Divergence (60 min)

ThinkScript: Automated RSI Divergence (60 min)
ThinkScript: Automated RSI Divergence (60 min)

ThinkScript: Automated RSI Divergence (5 min)
ThinkScript: Automated RSI Divergence (5 min)

ThinkScript: Automated RSI Divergence (5 min)
ThinkScript: Automated RSI Divergence (5 min)

Once again, I have included both bullish and bearish divergence scans in the package.