A Virtual Order Manager to track orders within the position-centric MetaTrader 5 environment
- 2010.05.13
- Paul
- www.mql5.com
This class library can be added to an MetaTrader 5 Expert Advisor to enable it to be written with an order-centric approach broadly similar to MetaTrader 4, in comparison to the position-based approach of MetaTrader 5. It does this by keeping track of virtual orders at the MetaTrader 5 client terminal, while maintaining a protective broker stop for each position for disaster protection.
Thank you for all. It's exactly what i needed.
Have a good day,

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
Hi,
I worked on MT4 automatic trading, and I work now on MT5. And, I've a problem with my automatic trading operations.
On MT4, you can open a buying order without closing a previous opened selling order... You must close the order with OrderClose(...).
But, on MT5, if you have an opened selling order, and if you open a buying order, it's automaticly close the previous opened selling order, but I don't want to close it !
I need to open selling and buying orders at same time, without closing some order.
Does anyone can help me please ? What function must I use for that ?
Thanks.