OPEN-SOURCE SCRIPT

RSI high/low [experiment]

Updated
This is an experiment.

This is a RSI based on candle high / low instead of close.
If the candle is up / green then the high is used.
If the candle is down / red then the low is used.

Feel free to ask if you have any question.
Release Notes
- Now using the native RSI function
- Fixed an error in the code caused by doji candles
experimentalRelative Strength Index (RSI)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer