Long position (Buy order):
Profit/Loss = (Closing Price - Opening Price) x Lots x Contract Size
Short position (Sell order):
Profit/Loss = (Opening Price - Closing Price) x Lots x Contract Size
Long position (Buy order):
Profit/Loss = (Closing Price - Opening Price) x Lots x Contract Size
Short position (Sell order):
Profit/Loss = (Opening Price - Closing Price) x Lots x Contract Size