how can an EA slows down its speed in the startegy tester - visual mode - intelligently? - page 2 12 New comment Ex Ovo Omnia 2014.01.21 09:58 #11 gooly: And this won't change in the new version? I guess when I saw this: https://www.mql5.com/en/docs/common Sure it changes with the new MQL4. Was your query about the new MQL4? Carl Schreiber 2014.01.21 10:13 #12 noOvo: Sure it changes with the new MQL4. Was your query about the new MQL4? no, the actual mt4, but as the new mt4 will have GMT, GMT-Shift,... I thought that Sleep() might have changed so that Windows-Sleep() can be called. But how will Sleep() be changed in the new mt4 - do you know? Alain Verleyen 2014.01.21 10:21 #13 Ovo: There indeed is Sleep() in the kernel32.dll. But you will not be able to call this function directly from recent MQL4, because it is already declared. You can with new mql4, you have to use the resolution scope operator. (still mql5 but should work with new mql4, though I didn't try). Carl Schreiber 2014.01.21 14:33 #14 ok.. 12 New comment
And this won't change in the new version? I guess when I saw this: https://www.mql5.com/en/docs/common
Sure it changes with the new MQL4. Was your query about the new MQL4?
Sure it changes with the new MQL4. Was your query about the new MQL4?
no, the actual mt4, but as the new mt4 will have GMT, GMT-Shift,... I thought that Sleep() might have changed so that Windows-Sleep() can be called.
But how will Sleep() be changed in the new mt4 - do you know?
There indeed is Sleep() in the kernel32.dll. But you will not be able to call this function directly from recent MQL4, because it is already declared.