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

Indicators #7

Open
johnnynunez opened this issue May 14, 2021 · 1 comment
Open

Indicators #7

johnnynunez opened this issue May 14, 2021 · 1 comment

Comments

@johnnynunez
Copy link

I have one question. Shouldn't the indicators be for more days? I mean if you get 1h candles and the RSI is calculated with 14 days, shouldn't it be 24 x 14 = 336 margin rows? Because I understand that the library takes the days as rows of the data frame, as if the rows were days.

@kianfa
Copy link

kianfa commented Mar 27, 2024

As far as I know, RSI is calculateb by 14 previous candles. In 1h timeframe, last 14 hourly candles are used.
It's worth noting that the value of 14 is a default parameter, but can be adjusted to accommodate different analysis preferences or trading strategies.

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

2 participants