I designed an expert which will execute up to some dozens of orders at the same time, all of which are the same type, same price, etc.. and all these orders are sent in ONE while statement. I wonder what will happen if the price changes during the iteration in the while statement. Will the OrderSend() fail? Or will the order be succeessfully executed by the server at the new price, given that I set up a slippage value of 99 or sth big enough. And what kind of relation between all this and the concept of Price Thread? Thank you so much.
- Managing Pending Orders - Trade - MetaTrader 5 for iPhone
- Types of Execution - Trading Principles - Trade - MetaTrader 5 for iPhone
- Instant Execution - Opening and Closing Positions - Trade - MetaTrader 5 for iPhone
May this article will help you - "MQL4: Considering Orders in a Large Program"

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