Is there a way how to make an EA modify orders even if there is no tick sent by the broker?
Thank you & Best Regards
thank you for the reply.
Not sure if I understand you right or if my question has been misleading.
Basicly I have an EA that automatically adjust pending orders shortly before preset times (market opens, news ect)
Given that this is usally done seconds before it to avoid unnecessary market exposure, there is not always a tick in the seconds before to do so. Therefore I am looking for a tool or command in mql to force the adjustment of the orders.
1) I doubt that your broker 'allows' you to send or modify orders if the market is closed 'till the last second - but you can ask your broker!
2) OnTick() (or start()) is called if a new tick arrives but you can use OnTimer() (look it up in the reference) to execute code even though you haven't got a tick.
To add comments, please log in or register