In MQL5 you should use OrderSend function to make any trade operation.
Please read https://www.mql5.com/en/docs/trading/ordersend and https://www.mql5.com/en/docs/constants/structures/mqltraderequest. It might be helpful.
You also can use standard library functions. Please read here (https://www.mql5.com/en/docs/standardlibrary/tradeclasses/ctrade) for more information.
Documentation on MQL5: Trade Functions / OrderSend
- www.mql5.com
Trade Functions / OrderSend - Documentation on MQL5

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
Hello,
What is equivalent of MQL5 OrderModify() function
in MQL5? I searched a lot and
could not find.
Thanks for any help.