This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
GetTickTime() in Tester? Artificial delays in Tester?Back to topics list |
|
gordonm
2009.06.20 22:20
As far as I can tell GetTickTime() does not work in Tester (if I'm wrong then PLEASE correct me). So my question is, how can I "inject" a delay into Tester? For example, let's I want a more realistic OrderClose() function - obviously in Live/Demo closing an order takes time - a few 100 mili-seconds. Is there a way to put this delay in the Tester? I've tried using GetTickTime() to do this, but it doesn't seem to work in Tester (and Sleep() doesn't work as mentioned in the documentation). Any way to achieve this |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
