We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relative_strength_index calculation is not correct; there is huge difference with actual RSI
The text was updated successfully, but these errors were encountered:
These 2 lines below are inaccurate: the variables gains and losses should be 0 or positive, but they can return negative values.
gains
losses
pyti/pyti/relative_strength_index.py
Line 22 in 2f78430
Line 25 in 2f78430
Removing is True or substituting it with == True in the for loop work. (though I don't know why..)
is True
== True
Sorry, something went wrong.
it works now. Need to run with different samples.
No branches or pull requests
relative_strength_index calculation is not correct; there is huge difference with actual RSI
The text was updated successfully, but these errors were encountered: