Skip to content

The data of MACD calculated by TA_MACDEXT is wrong. #659

@albertZhuo420

Description

@albertZhuo420

I used Binance's BOMEUSTD daily data to verify the MACD, the function I used was TA_MACD, the final result was inconsistent with Binance's data, then this function is based on the MA, so I dared to use TA_MACDEXT, and set TA_MAType_EMA, the final result is the same as TA TA_MACDEXT, and set TA_MAType_EMA, the result is the same as TA_MACD.
I switched to ta-lib-python, and the results are the same!!!!
I provide the python code, and the BOME k-line data.
The OS i used is Ubnutu22.04. use pip to install TA_LIB.

input.csv
macd_ta.py.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions