To calculate the profit or loss for a closed trade, please use the formula below: BUY Trade: (Close rate - Open rate) X Units X USD exchange rate = P/L. SELL Trade: (Open rate - Close rate) X Units X USD exchange rate = P/L.