Hi, there!
Anyone knows how I can set up my MT5 EA orders to Market on Open (MOO) and/or Market on Close (MOC)?
My goal is to day-trade stocks in the largest US exchanges, getting their open and close prices .
I haven't seen MOO and MOC options anywhere.
Digging the MT5 documentation, I only found "FOK", "IOC", and "RETURN" as options under TYPE_FILLING.
Or "GTC", "DAY", "SPECIFIED", and "SPECIFIED_DAY" as options under TYPE_TIME.
Any suggestions on how I could make this work?
Thanks a lot! Stay safe!
Caio
As far as I understand, you should write your own robot, which will open a market position at the beginning of the day and at the last minute of the day.
As far as I understand, you should write your own robot, which will open a market position at the beginning of the day and at the last minute of the day.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi, there!
Anyone knows how I can set up my MT5 EA orders to Market on Open (MOO) and/or Market on Close (MOC)?
My goal is to day-trade stocks in the largest US exchanges, getting their open and close prices.
I haven't seen MOO and MOC options anywhere.
Digging the MT5 documentation, I only found "FOK", "IOC", and "RETURN" as options under TYPE_FILLING.
Or "GTC", "DAY", "SPECIFIED", and "SPECIFIED_DAY" as options under TYPE_TIME.
Any suggestions on how I could make this work?
Thanks a lot! Stay safe!
Caio