Hi @codeplea, I have checked your Stochastic RSI implementation and was wondering why it becomes negative (-0.54) at the end of your "Example Calculation"? From what I have read on Investopedia the Stochastic RSI ranges only between 0 and 1: https://www.investopedia.com/terms/s/stochrsi.asp
Your tests actually show the same by expecting 0.000 at the end:
Hi @codeplea, I have checked your Stochastic RSI implementation and was wondering why it becomes negative (
-0.54
) at the end of your "Example Calculation"? From what I have read on Investopedia the Stochastic RSI ranges only between 0 and 1: https://www.investopedia.com/terms/s/stochrsi.aspYour tests actually show the same by expecting
0.000
at the end:https://github.com/TulipCharts/tulipindicators/blob/0bc8dfc46cfc89366bf8cef6dfad1fb6f81b3b7b/tests/untest.txt#L382-L384
So how come your website lists "-0.54"?