Indicators: Normalized MACD
May I ask how the values are normalized ? (no time to check the code now).
Also there is a little typo.
With Paint...XDD

With Paint...XDD
As you didn't explain much either, here is what I think you wanted. MACD Cross with Alarms, for MT4 and MT5.
I don't know how to write mql5 code, so it's automatically generated, compile it and try it for yourself.
I have used the normal MACD, included in the platform, I have not managed to find the advantage of the one you sent, in fact, although I know the author and I know he makes good indicators,
I think that in this case the original one is better.
I have made you to repin or not. Value 0 repaints, value 1, bar closed, does not repaint.

Normalized MACD:
Normalized MACD.
Author: Mladen Rakic