Time()

Apr 5, 2014 at 10:57 AM
Edited Apr 5, 2014 at 10:58 AM
HI All,

I try to get the tick time by calling the Time(0) function in my Mt4_QuoteRecieved handler but the seconds (ss) part of the timestamp is always zero which is a problem when using the Strategy Tester:

var Stmp = mql.Time(0) -> where Stmp format is "mm/dd/yyyy hh:mm:00"

Any ideas what I'm doing wrong?