MQL5 ReferenceStandard LibraryTrade ClassesCHistoryOrderInfoOrderType TimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex OrderType Gets the order type. ENUM_ORDER_TYPE OrderType() const Return Value Order type from ENUM_ORDER_TYPE enumeration. Note The historical order should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. TimeSetupMsc TypeDescription