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

momentValue undefined on period-matching count #38

Open
cluxig opened this issue May 17, 2023 · 0 comments
Open

momentValue undefined on period-matching count #38

cluxig opened this issue May 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@cluxig
Copy link

cluxig commented May 17, 2023

Create SMA(10) and add 9 numbers, using nextValue(). Now the 10th value is added via momentValue(). Currently, this leads to undefined, which is also proven by code review.

The 10th added momentValue() must result in a "momentally" of the 10th next-value pendant. Only after the SMA (and other indicators) are lifted over their undefined states, incoming moment-values are suitable.

@BusinessDuck BusinessDuck added the bug Something isn't working label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants