Hi, I notice there is difference between macd value form indicator and the value calculated by ema12 - ema26.

Heres part of the log:
2020-05-22 15:40:00 --------2020-05-22 15:40:00--------
2020-05-22 15:40:00 macd : -0.008374069561719998
2020-05-22 15:40:00 calculated mamcd : -0.008374069561718045
2020-05-22 15:41:00 --------2020-05-22 15:41:00--------
2020-05-22 15:41:00 macd : -0.006118039300951868
2020-05-22 15:41:00 calculated mamcd : -0.006118039300943678
2020-05-22 15:42:00 --------2020-05-22 15:42:00--------
2020-05-22 15:42:00 macd : -0.0052779239764075845
2020-05-22 15:42:00 calculated mamcd : -0.005277923976407806
2020-05-22 15:43:00 --------2020-05-22 15:43:00--------
2020-05-22 15:43:00 macd : -0.010223384346335481
2020-05-22 15:43:00 calculated mamcd : -0.01022338434633241
2020-05-22 15:44:00 --------2020-05-22 15:44:00--------
2020-05-22 15:44:00 macd : -0.011109732108001662
2020-05-22 15:44:00 calculated mamcd : -0.011109732108003811

Although the difference is so small that it probably wont affect our algorithm, it is still a nice thing to know why there is a difference? Does anyone have any idea?

Author