MQL5 ReferenceStandard LibraryTrade ClassesCOrderInfoSelect TicketTimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringStoreStateCheckStateSelectSelectByIndex Select Selects an order by ticket for further access to its properties. bool Select( ulong ticket // order ticket ) Return Value true – success, false – unable to select order. CheckState SelectByIndex