PROTECTED SOURCE SCRIPT
Cập nhật RSI Divergence

Hi!
Lately I had quite a few requests for an RSI divergence development, so I decided to make a publish version of such indicator. This is how it works:
It searches for peaks on the RSI indicator (not on the price!):
NOTE: The peak/trough could be detected only after two new bars are formed!
The indicator remembers high/low price on the bar with the peak/trough. When the indicator value at the peak is lower than the indicator value at the previous peak and the low price at the current peak is higher than the low price at last peak then it's a hidden bullish. Vice versa for the trough.
So, this indicator can detect the next cases:
You can donate ETH (0xa961e3866f58c36aaef958714d4f75d9c081b8bc) if you want to thank me more than just a like or a comment.
Lately I had quite a few requests for an RSI divergence development, so I decided to make a publish version of such indicator. This is how it works:
It searches for peaks on the RSI indicator (not on the price!):
- when the RSI values greater than two values before and after that value it's a peak
- when the RSI values lesser than two values before and after that value it's a trough
NOTE: The peak/trough could be detected only after two new bars are formed!
The indicator remembers high/low price on the bar with the peak/trough. When the indicator value at the peak is lower than the indicator value at the previous peak and the low price at the current peak is higher than the low price at last peak then it's a hidden bullish. Vice versa for the trough.
So, this indicator can detect the next cases:
- indicator fall + high rise = regular bearish
- indicator rise + high fall = hidden bearish
- indicator rise + low fall = regular bullish
- indicator fall + low rise = hidden bullish
You can donate ETH (0xa961e3866f58c36aaef958714d4f75d9c081b8bc) if you want to thank me more than just a like or a comment.
Phát hành các Ghi chú
Alerts addedMã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.