How to Add a time stamp?

 
I have these conditions that if it is there on M5, I set it to hit a switch. Then when M1 hits the same conditions, a popup alert will come out with a sound.

How do I code it that the indicator takes down the time M5 hit the conditions, and if possible how do I add 30 minutes to that? (and display that on the popup)

I'm new to coding thanks so much guys :)
 

Save TimeCurrent() + (30*60) in a global variable ie. gv

Then check for when TimeCurrent() >=gv

Use TimeToStr(gv) to print in the alert 

 
Thank you!
Reason: