MarketTechnicals.jl icon indicating copy to clipboard operation
MarketTechnicals.jl copied to clipboard

"merge" function messes up MACD values

Open iuliancioarca opened this issue 3 years ago • 0 comments

I was wondering why the macd function does not return the same values as a manually computed one so I started debugging. So far so good up until (just the classical MACD implementation): https://github.com/JuliaQuant/MarketTechnicals.jl/blob/f0b6e221a375f40162cff6efcaf19f0f79d39859/src/momentum.jl#L113

Ahead to https://github.com/JuliaQuant/MarketTechnicals.jl/blob/f0b6e221a375f40162cff6efcaf19f0f79d39859/src/momentum.jl#L119 and the return results are different from the dif/sig/osc values.

iuliancioarca avatar Jan 28 '22 21:01 iuliancioarca