Using Sleep(1) instead of the timer.
Hello Ovo,
Thanks for your reply.
Do you mean making infinite loop and waiting 1 ms between each iteration?
emred:
Hello Ovo,
Thanks for your reply.
Do you mean making infinite loop and waiting 1 ms between each iteration?
Yes.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
My algorithm search the all available currency pair to open appropriate positions and its computation time is less than 1ms.
I want to execute this algorithm in each millisecond.
I set "EventSetMillisecondTimer(1)" as 1 millisecond and logged OnTimer execution times.
But it can not be less than 16ms approximately.
What is the alternative ways to do this?
Best regards,
Emre