void Sleep( int milliseconds)
The Sleep() function suspends execution of the current expert within the specified interval.
The Sleep() function cannot be called from custom indicators since they calculate in the interface thread and may not decelerate it.
The checking of the expert stop flag status every 0.1 second has been built into the function.
เอามาจาก refer ของ MQL ใช่ไม่ได้ครับ