Closed femtotrader closed 8 years ago
Bug! MA should be lagging (it's predicting ;-) )
Fixed using https://github.com/femtotrader/TALib.jl/commit/5af418c753626e63b400981c22703b4feb3abcf7
ptr_outBegIdx = Ref{Cint}(0)
....
ret_code = ta_func(startIdx, endIdx, inReal, timeperiod, matype, ptr_outBegIdx, ptr_outNbElement, outReal)
....
circshift(outReal, ptr_outBegIdx[])
plot OHLCV data (
ford_2012.csv
) andMA
of close price accept directly DataFrame as input