Page 1 of 1

TimeStamp of tickdata in microseconds

Posted: Thu Oct 08, 2015 1:52 pm
by danny_pip
Hi,

Is there a possibility to read the timestamp of every tick in microseconds ? I need this in backtesting and based on the historical data (not the system time).
Until now, all timestamps have an accuracy of seconds but for scalping purposes I need it a higher resolution in milli or even better microseconds.

The functions "GetMicrosecondCount()" is based on the current systemtime and not usefull for backtesting and optimising on historical tickdata.

I hope somebody can help me with that.

Thx,

Danny

Re: TimeStamp of tickdata in microseconds

Posted: Thu Oct 08, 2015 9:21 pm
by tickstory
Hi Danny_pip,

If you are referring to doing this in Metatrader MQL, then this isn't possible. The data is stored with at best 'second' resolution within the data file itself - microseconds are stripped off.

Regards.