Script to open trade @ specific time?

 
I am trying to see how to write a script (or use 1 already out there) for the days I am away. What I am looking for is a script that will put an OrderSend() at a specific time. I have already written the script to do the specific trade...just looking to put the order in the night before and not let it execute until a specific time the following day. Is there a way to do it using either my computer time (or preferably the online broker time) or would I have to use like a delay feature?

If anyone has a suggestion, it would be greatly appreciated. Thanks in advance.
 
No delay feature. You must WAIT until the specific time and THEN OrderSend()
 

If it is a "must have" problem: u can operate with infinity loop in script

extern string time = "2011.06.29 6:40";

//in script
int start() {
  while (TimeCurrent() <= StrToTime(time)) Sleep(1000);
  OrderSend(Symbol(),OP_BUYSTOP,0.01,1.70,0,0,0);
  return(0);
}

or make a specific ea

extern string time = "2011.06.29 6:40";

//in ea
int start() {
  if (TimeCurrent() >= StrToTime(time))
    OrderSend(Symbol(),OP_BUYSTOP,0.01,1.70,0,0,0);
  return(0);
}
 

The above with the while loop will not work, you MUST RefreshRates() after the sleep

Both will not work (no price in the orderSend)

 
OrderSend method is a sample just a "dummy" its working iam using something similar...
Reason: