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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน