Values of type datetime are already in Unix Timestamp format (seconds ellapsed since January 1st, 1970). Therefore use either TimeLocal()-lastExitTime or TimeCurrent()-lastExitTime to find the number of seconds since your last trade.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more