MQL4 Reference 
 Trade Functions 
  OrderLots
  | 
OrderLotsReturns amount of lots of the selected order. 
 Returned value Amount of lots (trade volume) of the selected order. Note The order must be previously selected by the OrderSelect() function. Example: 
  |