Alert on gg trend bar style indicator

 

Hello again here,

I have done an indicator based on the gg trend bar, but with macd and only M15, M30, H1, H4 tf.

I do not know how to put alert on color change.

Can someone guide me please ?

Thank you.

madaforex_macdbar.mq4

Files:
 

In fact, it's for an alert when all 4 square become green or red.

If someone can show me the way. I am just a beginner level programmer.

 
Thanks for sharing