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 ?
look here https://www.mql5.com/en/articles/88
Thank you for all. It's exactly what i needed.
Have a good day,