Daveatt

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
Dave
הסר מסקריפטים מועדפים הוסף לסקריפטים מועדפים

תגובות

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.
+3 השב
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

Cheers
+2 השב
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
Ippo
+1 השב
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
השב
yes right bro
השב
IppoHnE Daveatt
@Daveatt, Thank a lot for your answer :)
השב
can i have the code of the divergence?
+1 השב
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 השב
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.
https://www.tradingview.com/gopro/?share_your_love=Daveatt
השב
בית סורק מניות סורק מט"ח סורק מטבעות-קריפטו יומן כלכלי איך זה עובד‏ תכונות גרף מחירון הפנה חבר כללי הבית מרכז תמיכה כלים לאתרים וברוקרים יישומונים פתרונות גרפיים ספריית גרפים קלי משקל בלוג וחדשות טוויטר‏
פרופיל הגדרות פרופיל חשבון וחיוב חברים מופנים מטבעות לשוניות התמיכה שלי מרכז תמיכה רעיונות שפורסמו עוקבים עוקב הודעות פרטיות צ'אט התנתק