MQL5 ReferenceStandard LibraryTrade ClassesCDealInfoDealType OrderTimeTimeMscDealTypeTypeDescriptionEntryEntryDescriptionMagicPositionIdVolumePriceCommisionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex DealType Gets the deal type. ENUM_DEAL_TYPE DealType() const Return Value Deal type from ENUM_DEAL_TYPE enumeration. Note The deal should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. TimeMsc TypeDescription