TradingView
Daveatt
18 de Mar. de 2020 11:58

BEST RSI Divergences Screener (Regular and Hidden)Β 

DescripciΓ³n

β‹…
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
Comentarios
trendingpip
β‹…
Is it possible @Daveatt to have the script alert if any of the conditions are met for any of the pairs listed in it?
Plus, does it use the
AnkurDani
β‹…
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.
Daveatt
β‹…
@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
dipen06754
β‹…
@Daveatt, it is working as expected ...great work.
Is it possible to scan for all S&p 500 and NASDAQ 100 stocks without adding individual stocks (I am able to scan hand pick stocks from above suggestion) ... Thanks?
Daveatt
β‹…
@dipen06754, unfortunately for now, it's impossible technically with pinescript. We can't use pinescript to screen tons of assets
ManhDN
β‹…
@Daveatt, what did you use offset for? it looks like repainting man ;)
Daveatt
β‹…
@ManhDN, of course, it's repainting, it's based on fractals
As fractals are calculated with delay, I did offset to the left the signals
ManhDN
β‹…
@Daveatt, so can you please offer a profitable strategy to work with this sir?
trendingpip
β‹…
@AnkurDani, Hey, were you able to implement the solution @Daveatt gave?
I am not a coder and really struggling with the same issue as you. I would really appreciate if you would assist. Thank you in advance and thank you @Daveatt for such a brilliant tool.
Shark_C
β‹…
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
MΓ‘s