Any Time Calculation functions?

 

I'm trying to find any datetime functions for calulating time differences. I want to run a script to check on the elapsed time that an open trade has been active.


-Jerry

 

Hello Jerry

Suggest you always poke around the site's massive archive. eg, the MQL4 Tutorial is good. Also, Articles are of enormous use to us all.

Enjoy

 
Time is an integer in MT4, with 1 second increments, starting 1/1/1970.
Reason: