Skip to content
New issue

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

RSI calculation #613

Open
eugenpro opened this issue Sep 3, 2023 · 2 comments
Open

RSI calculation #613

eugenpro opened this issue Sep 3, 2023 · 2 comments

Comments

@eugenpro
Copy link

eugenpro commented Sep 3, 2023

Hello. During usage RSI function I've touched that with the same timeperiods e.g. 14 RSI still changes depending on data size. for instance if I calculate RSI from 1 Jan 2023 to 01 Aug 2023 or 1 Jan 2022 to 01 Aug 2023 RSI value on 01 Jun 2023 will be different in both cases that makes me crasy. How to reach RSI cosistensy across the time?

@mrjbq7
Copy link
Collaborator

mrjbq7 commented Sep 3, 2023

Probably has to do with it's definition in TA-Lib, using smoothing:

https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_RSI.c#L341

@bttger
Copy link

bttger commented Nov 30, 2023

@eugenpro how big is the difference for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants