MQL5 ReferenceStandard LibraryTrade ClassesCDealInfoSelectByIndex OrderTimeTimeMscDealTypeTypeDescriptionEntryEntryDescriptionMagicPositionIdVolumePriceCommisionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringTicketSelectByIndex SelectByIndex Selects the deal by index for further access to its properties. bool SelectByIndex( int index // order index ) Return Value true – success, false – unable to select the deal. Ticket CTrade