MQL5 ReferenceStandard LibraryTrade ClassesCPositionInfoIdentifier TimeTimeMscTimeUpdateTimeUpdateMscPositionTypeTypeDescriptionMagicIdentifierVolumePriceOpenStopLossTakeProfitPriceCurrentCommissionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringSelectSelectByIndexSelectByMagicSelectByTicketStoreStateCheckState Identifier Gets the ID of position. long Identifier() const Return Value ID of position. Note The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods. Magic Volume