Hi
I am also having problems with sleep (lol).
I find it doesn't work - definetly not when using stratergy tester to test an ea, so I set a variable to the time I want my expert to sleep and then check that variable
Code:
if (CurTime()< time1)
{
return(0);
}
else
{
Sell1();
Print("SELL order opened : ",OrderOpenPrice());
time1 = CurTime()+2*60*Period();
}