DocumentationMQL5 ReferenceStandard LibraryTrade ClassesCDealInfoSwapSwapSwapGets the amount of swap when position is closed.double Swap() constReturn Value Amount of swap when position is closed.Note The deal should be selected using the Ticket (by ticket) or SelectByIndex (by index) methods. Last updated on 2026-07-24CommisionProfit