autotrade (want to schedule a script)
I have a demo account. I have written a script for my system. It is perfectly generating orders (buystop and sellstop) when i execute it manually. Now i want to schedule the script to run once everyday..say at 8.03PM EST.
Can anyone help by showing to to do this.
I am using IBFX mt4 demo platform.
I figured it out. Using the expert advisors tab, I have scheduled the script. it runs once every few seconds.
Then in the script i coded it in such a way that it the main code is executed only when dayofweek is not 6 or 0 and hours is 00 and minute is 03. In the code, i put a sleep command, so that it is gauranteed that only once in a day the above condition is satisfied.
I have a demo account. I have written a script for my system. It is perfectly generating orders (buystop and sellstop) when i execute it manually. Now i want to schedule the script to run once everyday..say at 8.03PM EST.
Can anyone help by showing to to do this.
I am using IBFX mt4 demo platform.