How would I go about coding this?

 

OK....so I can get an EA to display text based on another indicator condition (MA cross, etc).

But now I want to create an alert-like EA that basically says NO TRADING in red across the chart during the hour, but then turns green and says TRADE at exactly the hour rollover.

For example, it is 8:09 PM. The chart would say NO TRADING because my system calls for trades only at the very top of the hour.

At 9:00 PM the NO TRADING text changes to TRADE, but at 9:01 goes back to saying NO TRADING.

I keep my MT4 platform open throughout the hour but usually forget to wait until exactly the hour rollover to place my trades. I made this error earlier today and ended up getting stopped out because of it.

I am unfamiliar with the "Time" capabilities of MQL, so if someone could enlighten me how I might go about coding this, or if it's even possible.

Thanks

 
The timeMinute==0 is where I would start looking.
Reason: