MQL5 ReferenceStandard LibraryTrade ClassesCHistoryOrderInfoTypeTimeDescription TimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex TypeTimeDescription Gets the order type by expiration time as a string. string TypeTimeDescription() const Return Value Order type by expiration time as a string. Note The historical order should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. TypeTime Magic