BEST RSI Divergences Screener (Regular and Hidden)

Hello traders

My way to fight this situation is to stay productive.
Hope some of my scripts will help you out as most of us are locked-down at home, hence have more time for trading - and preparing ourselves when the sun will shine on us again

I - Concept

This is an upgrade of this script which captured only the regular divergences

This screener detects whether the regular RSI divergences based on the TradingView Divergence built-in indicator (made by the gentleman @everget I believe)
With this screener, you can see in 1 view which of your favorite cryptos/stocks/forex pairs/etc. showing strong regular and hidden divergences

The gentlemen (and demoiselles) traders can play with the lookback/ranges inputs to adjust the divergences based on what they think is best of their trading/timeframe/instrument/life

On that script screenshot, I'm showing the BYBIT:BTCUSD part of the screener matching with the divergences on the chart

II - How did I set the screener

The visual signals are as follow:

- square: whenever a regular or hidden divergence is detected

Then the colors are:

- green when there is bullish divergence
- red when there is bearish divergence

🔔🔔 I also added the alerts for capturing those bullish / bearish divergences

III - Does it repaint?

It should not :)

Best regards
Ta bort från favoritskript Lägg till som favoritskript
💰 Results/Blogs: https://bit.ly/2ULUtjo

⏩ Signals/Pricing: https://best-trading-indicator.com/pages/pricing

🐦 Twitter: https://twitter.com/bti_trading

👉 Get a $30 discount on TradingView: https://bit.ly/2UM5OA0

📺 Youtube: https://bit.ly/3bKvnZu


This is amazing work for identifying hidden and regular divergences!!!
I would like to know how to apply it for a list of 10 stocks at a time.
Help would be highly appreciated.
+5 Svara
Daveatt AnkurDani
@AnkurDani, Sure should be possible with that one

You have to declare 6 or 7 more lines like this one at the top

string sec00 = input(defval="TSLA", type=input.symbol)
string sec01 = input(defval="FB", type=input.symbol)
string sec02 = input(defval="AMZN", type=input.symbol)
string sec03 = input(defval="ZOOM", type=input.symbol)
string sec04 = input(defval="GOOGL", type=input.symbol)
string sec09 =  input(defval="DELL", type=input.symbol)

And then replicate (understand copy/paste) lines 107 to 136 adding your variables sec00 to sec09

+2 Svara
Hi Daveatt.
It's really a good indicator. Thx a lot.
Can you explain what is :"Pivot Lookback Right" and "Pivot Lookback Left"? Changing this, it will change the divergence that are showed, but I'm not sure to really understand it.
There is some divergence that I would like to see, bit that are not showed on your indicator.
Thx a lot
+1 Svara
Daveatt IppoHnE
@IppoHnE, Divergences are calculated often after the move happened
This is why I don't like them very much
So to estimate retroactively why a divergence happens, we look at how the price behaved with X candles to the right and X candles to the left
From there we estimate the divergence - Generally, this triggers a 1 or sometimes 2 candles delay as it's a retroactive calcul
+1 Svara
yes right bro
IppoHnE Daveatt
@Daveatt, Thank a lot for your answer :)
can i have the code of the divergence?
+1 Svara
Daveatt VinceKhoo
@VinceKhoo It's the built-in Divergence indicator
You can get it by creating a new indicator clicking on New from the pine Editor > select Divergence indicator
Thank you for the work bro.
just a query.....i can add only maximum of 6 scripts.What to do to add more scripts??
+1 Svara
Daveatt Cleemis
Hi @Cleemis, the only way is to upgrade your TradingView subscription and you'll be able to add more than 6 scripts per chart.
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Hänvisade vänner Mynt Mina kölappar Hjälpcenter Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut