OPEN-SOURCE SCRIPT
已更新

RSI Divergence

41 621
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:
快照
快照
快照
快照
快照
版本注释
from now on we have a strategy for this indicator: https://tr.tradingview.com/script/ASVRhqFM/
版本注释
buy and sell alert added. alarms are triggered (in real time) without waiting for the close on each candle when the conditions are met.
快照
版本注释
From now on, you can see previous divergences, with newly added inputs.
price scale has changed.
版本注释
Thanks to the new "force overlay" function added to Pinescript after I published this indicator, we can now draw lines showing divergences both on the RSI and on the main chart.
版本注释
some bugs fixed.
版本注释
It now shows all divergences, not just the latest ones, including past ones.
版本注释
Labels have been added to understand exactly which bar gives divergence signals. Additionally, alarm options have been diversified.

免责声明

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.