MQL5 ReferenceStandard LibraryTrade ClassesCOrderInfoState TicketTimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringStoreStateCheckStateSelectSelectByIndex State Gets the order state. ENUM_ORDER_STATE State() const Return Value Order state from ENUM_ORDER_STATE enumeration. Note The order should be selected using the Select (by ticket) or SelectByIndex (by index) methods. TypeDescription StateDescription