MQL4 Reference
Trading functions
OrderLots
Returns amount of lots for the selected order.
Note: The order must be previously selected by the OrderSelect() function.
Sample:
if(OrderSelect(10,SELECT_BY_POS)==true)
Print("lots for the order 10 ",OrderLots());
else
Print("OrderSelect returned error of ",GetLastError());
|
|
|