OPEN-SOURCE SCRIPT
Harris RSI

This is a variation of Wilder's RSI that was altered by Michael Harris.
CALCULATION
I have added some signals and filtering options with moving averages:
The signals I added are just some potential ideas, always backtest your own strategies.
CALCULATION
- The average change of each of the length's source value is compared to the more recent source value.
- The average difference of both positive or negative changes is found.
- The range of 100 is divided by the divided result of the average incremented and decremented ratio plus one.
- This result of the above is subracted from the range value of 100
I have added some signals and filtering options with moving averages:
- Trend OB/OS: Uptrend after above Overbought Level. Downtrend after below Oversold Level\n(For the traditional RSI OB=60 and OS=40 is used)
- OB/OS: When above Overbought, or below oversold
- 50-Cross: Above 50 line is uptrend, below is downtrend
- Direction: Moving up or down
- RSI vs MA: RSI above MA is an uptrend, RSI below MA is a downtrend
The signals I added are just some potential ideas, always backtest your own strategies.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
tanhef.com/
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
tanhef.com/
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
Scripts and content from TanHef are solely for information and education. Past performance does not guarantee of future results.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.