This is a souped up common or garden MACD . The Histogram is coloured giving a clear visual representation of where we are UpTicking or DownTicking on the Histogram to help support trading decisions.
When colour changes from pink to green market is bullish , and visa versa.
Very useful as a supporting indicator to confirm other strategies, or even as a standalone strategy to some extent.
Alerts are enabled by converting script from a Strategy to a Study, see comments in code.