MACD Function

Created a custom MACD function to be called within the sub-indicator
calculation function. I was using ta-lib's function but wasn't getting
the same result from the original model done in excel, which I have
verified is correct through Bloomberg's output.