Hello,
This was probably asked before, but I couldn't find information online, which I'd be able to put in practice.
How can I setup time based orders in MT4, like MOO or MOC. Maybe not exactly the second market opens or closes, but more or less as well as time stops (say close a trade after X hours)?
I guess some additional script or EA is needed.
Thanks in advance.
- Market on Open (MOO) and Market on Close (MOC) orders in MT5 Expert Advisors (EAs)
- Closing opened order after a definite number of seconds or minutes
- Find out which closed orders were initially opened as limit/stop orders and which as market orders
Found this EA: https://www.mql5.com/en/code/10528
Works so far, just one drawback - you can't set an order a few days in advance, there's only time setting, no date.
![Time trader Time trader](https://c.mql5.com/36/22/time-trader.jpg)
Time trader
- www.mql5.com
There are several theories out there about market movements at certain times e.g. during opening of trading for different currencies etc. This trading robot is designed to do just that and can be used for unlimited time related strategies that involve scalping, hedging or long term trades. The EA can also be used to discover time based market...
![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