TradingView
faytterro
1. Dez. 2022 11:01

RSI Divergence 

Bitcoin / TetherUSBinance

Beschreibung

What is "RSI Divergence"?
"RSI Divergence" is a indicator that find RSI divergence automatically.

What it does?
When it finds an RSI divergence, it draws a line on the indicator.

How it does it?
The lines are found using the least squares method. If the signs of the linear regression on the graph and the linear regression plotted on the RSI are different, this is considered divergence.

How to use it?
RSI lenght = RSI lenght
source = source of RSI
RSI Divergence Lenght = lenght of lines that draws on indicator
zoom = zoom
examples:




Versionshinweise

from now on we have a strategy for this indicator: https://tr.tradingview.com/script/ASVRhqFM/

Versionshinweise

buy and sell alert added. alarms are triggered (in real time) without waiting for the close on each candle when the conditions are met.

Versionshinweise

From now on, you can see previous divergences, with newly added inputs.
price scale has changed.
Kommentare
z3r0day
i added this and backtested on a half dozen stocks i didn't get a single divergence, even changed the length to several different settings (i have no idea what zoom is)
UnknownUnicorn15320316
is repaint? is realtime?
faytterro
@Bafrali1453, don't worry it doesn't repaint and it doesn't fix the signals afterwards. actually the array function works like this. As long as divergence continues, the lines shift to one side at each candle, and when divergence ends, the lines stay at the bar where divergence ends. so far from being a repaint, on the contrary, it signals much earlier than it seems. but you see the latest signals on the chart. because as long as divergence continues, it continues to shift the lines by one bar. but it never changes the signals afterwards.
faytterro
@Bafrali1453, you can see how it works here:
lukricky
this is good indicator
faytterro
@lukricky, thanks.
IanLip
Nice work ... seems promising, will add and back test ... thanks :)
suleygulasi94
Just an FYI it is not showing any divergences at all. Like nothing. So something is wrong.
vatsal1512
Does it work on shorter timeframes (5m, 15m, etc.)
Mehr