I made this script to get a line (or histogram) of the macd and the signal (macd + signal), the principle remains the same as with a standard macd. You can notice that the divergences are present, and that the interpretation does not change, personally, I use ema band, which helps me to confirm the tendencies and to detect divergences!