MQL5 ReferenceStandard LibraryTrade ClassesCHistoryOrderInfoStateDescription TimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex StateDescription Gets the order state as a string. string StateDescription() const Return Value Order state as a string. Note The historical order should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. State TimeExpiration