new mql4 providing millisecond in timestamps....

Back to topics list  | 1 2 3 4 To post a new topic, please log in or register
avatar
Moderator
3206
angevoyageur 2014.06.24 09:00 #
 
autoabacus:

...
Very interesting. Thank you.

avatar
249
4evermaat 2015.09.07 08:07 #
 

I noticed that mt4 now has a GetMicroSecondCount(). Would this be superior to using GetTickCount function in terms of precision?

What would be the advantage/disadvantage of using vs GetMicrosecondCount() vs GetTickCount()?  Does it use more resources?  I would think the MicroSec resolution would be a superior function to MilliSec.  You can always convert MicroSec to Millisec or lower resolution, but you cannot take Millisec and get MicroSecs or higher resolution.


Why MQ suggested GTC function vs GMicroC for millisecond timestamps?  I understand that maybe before there was no GMicroC function.  But now that there is, why not update the documentation to recommend GMicroC for higher timestamp resolution?

avatar
125
zirkoner 2015.09.07 09:58 #
 
4evermaat:

I noticed that mt4 now has a GetMicroSecondCount(). Would this be superior to using GetTickCount function in terms of precision?

What would be the advantage/disadvantage of using vs GetMicrosecondCount() vs GetTickCount()?  Does it use more resources?  I would think the MicroSec resolution would be a superior function to MilliSec.  You can always convert MicroSec to Millisec or lower resolution, but you cannot take Millisec and get MicroSecs or higher resolution.


Why MQ suggested GTC function vs GMicroC for millisecond timestamps?  I understand that maybe before there was no GMicroC function.  But now that there is, why not update the documentation to recommend GMicroC for higher timestamp resolution?

Seem you like to complain You asked for milliseconds and now you have microseconds. Anyway it will be better if TimeCurrent() (and other time returned from the server) returns milliseconds.

If you want to talk to Metaquotes, you should write to ServiceDesk, they very rarely reply to this forum.

avatar
1109
Ovo 2015.09.07 12:39 #
 
4evermaat:

I noticed that mt4 now has a GetMicroSecondCount(). Would this be superior to using GetTickCount function in terms of precision?

What would be the advantage/disadvantage of using vs GetMicrosecondCount() vs GetTickCount()?  Does it use more resources?  I would think the MicroSec resolution would be a superior function to MilliSec.  You can always convert MicroSec to Millisec or lower resolution, but you cannot take Millisec and get MicroSecs or higher resolution.


Why MQ suggested GTC function vs GMicroC for millisecond timestamps?  I understand that maybe before there was no GMicroC function.  But now that there is, why not update the documentation to recommend GMicroC for higher timestamp resolution?

While GetTickCount is a core Windows API function (since the Windows beginning), the other function required (though simple) implementation. They are not related to each other.
avatar
249
4evermaat 2015.09.08 02:23 #
 
zirkoner:

Seem you like to complain You asked for milliseconds and now you have microseconds. Anyway it will be better if TimeCurrent() (and other time returned from the server) returns milliseconds.

If you want to talk to Metaquotes, you should write to ServiceDesk, they very rarely reply to this forum.

Not complaining.  Just wondering why now that a new function is available that is more precise, they (or anyone) would still recommend the older function.  I have written to the service desk.

Ovo:
While GetTickCount is a core Windows API function (since the Windows beginning), the other function required (though simple) implementation. They are not related to each other.

What implementation does GetMicroSecondCount() use to get microsecond accuracy in timestamps?

avatar
1109
Ovo 2015.09.08 11:01 #
 
4evermaat:

What implementation does GetMicroSecondCount() use to get microsecond accuracy in timestamps?

I have a clear idea how to code it, but I am not the MQ coder. Anyway, why do you need to know it if they already made it working for you?
Back to topics list   | 1 2 3 4  

To add comments, please log in or register