Order functions in MQL5

 
Hi. I'm trying to translate an EA from MQL4 to MQL5 and I'm having some trouble. There are some functions related to Order that I don't know how to handle. To name explicitly: OrderStopLoss, OrderModify, OrderSend, OrderTicket, OrderLots, OrderClose. What should I do to the things these functions do if there is no equivalent function in MQL5?
 

See this article https://www.mql5.com/en/articles/211

and read the documentation please.‌

Orders, Positions and Deals in MetaTrader 5
Orders, Positions and Deals in MetaTrader 5
  • 2011.02.01
  • MetaQuotes Software Corp.
  • www.mql5.com
Creating a robust trading robot cannot be done without an understanding of the mechanisms of the MetaTrader 5 trading system. The client terminal receives the information about the positions, orders, and deals from the trading server. To handle this data properly using the MQL5, it's necessary to have a good understanding of the interaction between the MQL5-program and the client terminal.
 
You may use MT4Orders library. In some cases you'll have no need to change anything in your code.
MT4Orders
MT4Orders
  • votes: 29
  • 2016.10.10
  • fxsaber
  • www.mql5.com
Parallel use of the MetaTrader 4 and MetaTrader 5 order systems.
Reason: