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

why the macd result is very diffenent from original talib result? #1

Open
baofengqqwwff opened this issue May 6, 2017 · 2 comments

Comments

@baofengqqwwff
Copy link

i look into your code,what is k1 and k2?

@baofengqqwwff
Copy link
Author

sorry,it's same,gogland just show 100 result。。。

@iamjinlei
Copy link

I found it is due the factor that go-talib uses different initial skip period from the C version.
I fixed the issue in https://github.com/iamjinlei/go-tart/blob/master/macd.go

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