Download MetaTrader 5

15 milliseconds resolution

To add comments, please log in or register
Find out how to use widgets at MQL5.community
cMarquis
10
cMarquis 2015.03.01 19:35 

Hello everybody,

Does anybody know why the limited timer resolution of metatrader is about 15 milliseconds ?

For example this code return an average gap of 15 milliseconds :

int OnInit(){

  EventSetMillisecondTimer(1);

  return(INIT_SUCCEEDED);

}

void OnTimer(){

  Print(GetTickCount());

}

I have tested it on differents computers but always i found this value.

Thank you.

Alain Verleyen
Moderator
30754
Alain Verleyen 2015.03.01 19:46  
cMarquis
10
cMarquis 2015.03.01 20:00  
Thank you very much.
To add comments, please log in or register