OPEN-SOURCE SCRIPT
True Relative Strength Index (True RSI / TRSI) [cI8DH]

This indicator fixes RSI's bullish bias. This asymmetrical bias is illustrated in the chart below (the lower indicator pair).

This chart also shows that TRSI solves this issues (upper indicator pair). So, time to throw away your RSI. It has been fooling you all along.
FYI, this asymmetry is obvious in longer term charts (wide price ranges).
I kept this script simple for use as a reference. I will update my candle RSI indicator to implement this fix in addition to some other advanced features. So stay tuned :)
![RSI Candles [cI8DH]](https://s3.tradingview.com/d/DWKN9FKg_mid.png)
PS:
I included an option to display standard RSI as well for verifying the RSI equation I used. What you see in textbooks is a twisted version of the same equation.
Thanks DennisLeeBTC for the name suggestion.
This chart also shows that TRSI solves this issues (upper indicator pair). So, time to throw away your RSI. It has been fooling you all along.
FYI, this asymmetry is obvious in longer term charts (wide price ranges).
I kept this script simple for use as a reference. I will update my candle RSI indicator to implement this fix in addition to some other advanced features. So stay tuned :)
![RSI Candles [cI8DH]](https://s3.tradingview.com/d/DWKN9FKg_mid.png)
PS:
I included an option to display standard RSI as well for verifying the RSI equation I used. What you see in textbooks is a twisted version of the same equation.
Thanks DennisLeeBTC for the name suggestion.
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.
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.
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.