I'm curious to know if there's a way of scheduling trades so they become live only after or at a certain time (for instance, if I want my sell limit order to only get on at/after 8.30am GMT tomorrow. From the time I place it (now) until then(8.30am tomorrow), it stays dormant.
I realise that presently, there is a way of setting an expiration time for a pending order that is not triggered, eg a sell limit gets cancelled if it's not triggered in by 10.30pm GMT. I see that can set that into the pending order when I place it, which is neat. This helps me not enter trades outside of the sessions that I trade.
How can I schedule pending trades so they only come to life at a certain time in the future, eg 8.30am tomorrow?
I thank you sincerely for your consideration.
- Indicators/EAs for news and trading signals
- Adding conditions to a Pending Order
- Is it possible to create an Alert that is triggered at a certain date or after number of days?
I have written two articles with code for all who deal with time:
https://www.mql5.com/en/articles/9926
https://www.mql5.com/en/articles/9929
I think you find there anything you need.

Dealing with Time (Part 1): The Basics
- www.mql5.com
Functions and code snippets that simplify and clarify the handling of time, broker offset, and the changes to summer or winter time. Accurate timing may be a crucial element in trading. At the current hour, is the stock exchange in London or New York already open or not yet open, when does the trading time for Forex trading start and end? For a trader who trades manually and live, this is not a big problem.
Thanks a lot for sharing these! Quite sophisticated, but cool to see!

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