Time Delay and the Backtester!

 

Sleep(5000000); //Does not Work with the Backtester!

TimeKeeper[0] = TimeCurrent();

for(int t = 1; time >= 3; t++){

t++;

TimeKeeper[1] = TimeCurrent();

m = TimeKeeper[1] - TimeKeeper[0];

if(m > 1500){

break;

}

t--;t--;

}

//This example does not either!

// How can I include a Time Delay that can be used in the Backtester?