MQL5 ReferenceStandard LibraryTrade ClassesCDealInfoOrder OrderTimeTimeMscDealTypeTypeDescriptionEntryEntryDescriptionMagicPositionIdVolumePriceCommisionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex Order Gets the order by which the deal is executed. long Order() const Return Value Order by which the deal is executed. Note The deal should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. CDealInfo Time