MQL4 Reference  Trade Functions
 Trade Functions  OrderExpiration
  OrderExpiration
| 
 | OrderExpirationReturns expiration date of the selected pending order. 
 Returned value Expiration date of the selected pending order. Note The order must be previously selected by the OrderSelect() function. Example: 
 |