Tom23824 wrote >>
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.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.