OPEN-SOURCE SCRIPT
Cập nhật RSI Divergence (Pine v4)

Summary
Script highlights the divergences in RSI worth taking notice of. By comparing current envionment to relative sample we can see more than
the standard divergences that many catch through analysis. This framework aims to remove the bias or noise many see when looking for any supporting
evidence to their given emotion on a market.
Step-by-Step Walkthrough
This RSI Script is intended for public use and can be shared / implemented as needed
Questions? I do not monitor my TradingView inbox. See email address in signature at the bottom of this page for contact information.
Script highlights the divergences in RSI worth taking notice of. By comparing current envionment to relative sample we can see more than
the standard divergences that many catch through analysis. This framework aims to remove the bias or noise many see when looking for any supporting
evidence to their given emotion on a market.
Step-by-Step Walkthrough
- Calculates RSI
- Sets Divergence Framework
- -------> a. Defining variable values, mandatory in Pine 4)
- -------> b. Identify Divergences --> "If bar with lowest / highest is current bar, use it's value"
- Compare high of current bar being examined with previous bar's high --> "If curr bar high is higher than the max bar high in the lookback window range"
- Finds pivot point with at least 2 right candles with lower value
- Finds pivot point with at least 2 right candles with lower value
- Plot
- Set Alerts
This RSI Script is intended for public use and can be shared / implemented as needed
Questions? I do not monitor my TradingView inbox. See email address in signature at the bottom of this page for contact information.
Phát hành các Ghi chú
Complete Upgrade - Logic restructured and implemented. Phát hành các Ghi chú
upgraded to pine v5Phát hành các Ghi chú
Added Alert ParametersPhát hành các Ghi chú
Updating to include the same functionality that the built-in Tradingview RSI Indicator has standard, with SMA/EMA/BBand 'switch' function has recently added + cleaned up some of the syntax to be in alignment with the Pinecoders recommendations. If the former versions are preferred, simply copy the old pinescript and add as your own indicator.
Cheers,
ET
Phát hành các Ghi chú
May 11, 2023 - Terminology updated
- Removal of deprecated 'transp=' color function
- User Menu Reformatted
Phát hành các Ghi chú
Conversion to Pine v6- Faster loading and rending on chart
Phát hành các Ghi chú
Updated to Pine v6 - Added gradient fill for overbought and oversold
- Scales will only show RSI value and RSI MA value
Phát hành các Ghi chú
2/18/2025Updated: Menu Inputs and Formatting
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Eric Thies
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Eric Thies
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.