markcheno/go-talib

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

baofengqqwwff opened this issue · 2 comments

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

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

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