MQL5 ReferenceStandard LibraryTrade ClassesCOrderInfoOrderType TicketTimeSetupTimeSetupMscOrderTypeTypeDescriptionStateStateDescriptionTimeExpirationTimeDoneTimeDoneMscTypeFillingTypeFillingDescriptionTypeTimeTypeTimeDescriptionMagicPositionIdVolumeInitialVolumeCurrentPriceOpenStopLossTakeProfitPriceCurrentPriceStopLimitSymbolCommentInfoIntegerInfoDoubleInfoStringStoreStateCheckStateSelectSelectByIndex OrderType Gets the order type. ENUM_ORDER_TYPE OrderType() Return Value Order type from ENUM_ORDER_TYPE enumeration. Note The order should be selected using the Select (by ticket) or SelectByIndex (by index) methods. TimeSetupMsc TypeDescription