MQL5 ReferenceStandard LibraryTrade ClassesCPositionInfoTypeDescription TimeTimeMscTimeUpdateTimeUpdateMscPositionTypeTypeDescriptionMagicIdentifierVolumePriceOpenStopLossTakeProfitPriceCurrentCommissionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringSelectSelectByIndexSelectByMagicSelectByTicketStoreStateCheckState TypeDescription Gets the position type as a string. string TypeDescription() const Return Value Position type as a string. Note The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods. PositionType Magic