How to calculate MACD monthly?

Gents … I have to calculate MACD values on a monthly base. … does anybody have an idea how to implement?

(with the technical API - i only can get the daly values)
eodhd.com/api/technical/AAPL.US?order=d&from=2017-08-01&to=2020-01-01&function=sma&period=50&api_token=63920d17c30b17.18888403&fmt=json

Thanks
Stefan

MACD is 12-period EMA minus 26-period EMA (What Is MACD?).

Based on that, just calculate an EMA using the close price on the first of each month for each case and calculate the difference.

2 Likes