Open a trade @ a specific time?

melon2112

Newbie
Messages
2
Likes
0
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.
 
You are using MT4 I guess..
There are plenty of Date/Time functions to use. You can use your local computer time or the broker's time.

This site has all the documentation you need. Select the date/time link on the left hand side.
http://docs.mql4.com/

Peter
 
Top