-
Notifications
You must be signed in to change notification settings - Fork 566
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
Calculated EMA seems not accurately #220
Comments
Same for MACD |
Probably because it's using EMA by default |
@redstrike EMA looks correct. Depending on the parameters they can yield the same results or not. Look at this example:
|
@juanvisoler I did an EMA calculation with a larger dataset before trying the above simple example and compare it with other true sources such as TradingView, and believe that EMA result is not accurate. |
@redstrike can you give an example? |
我用EMA计算的结果也是有问题哎 |
是我错了,当数据量较小时计算结果似乎不正确,但当数据量足够大时是没问题的,这个库非常棒 |
唯一的遗憾是只能nextValue不能updateCurrentValue |
@anandanand84 can you please look into this issue please? |
Also comparing it to TradingView's EMA and seems incorrect |
I am trying to calculate EMA and SMA of the same data values. However, the result is the same.
When comparing to TradingView's calculated EMA, it's not matched.
The text was updated successfully, but these errors were encountered: