MQL5 ReferenceStandard LibraryTrade ClassesCPositionInfoSwap TimeTimeMscTimeUpdateTimeUpdateMscPositionTypeTypeDescriptionMagicIdentifierVolumePriceOpenStopLossTakeProfitPriceCurrentCommissionSwapProfitSymbolCommentInfoIntegerInfoDoubleInfoStringSelectSelectByIndexSelectByMagicSelectByTicketStoreStateCheckState Swap Gets the amount of swap of the position. double Swap() const Return Value Amount of swap of the position (in deposit currency). Note The position should be selected using the Select (by ticket) or SelectByIndex (by index) methods. Commission Profit