Alert Time Since EA Initialized (MQ4)

 
How can I alert the number of seconds that have passed since the EA was initialized?
 
hknight:
How can I alert the number of seconds that have passed since the EA was initialized?
In init() set a variable to TimeCurrent()  when you want to check how long your EA has been running subtract your variable from  TimeCurrent() the result is the time in seconds that have elapsed.