Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
I want to export my account history but I am not able to find a way to calculate the FX Rate used to calculate Profit (which is in Deposit currency).
My account deposit currency is EUR.
Lets say I buy 1 share Apple at 500.
I sell it at 550. The profit is 50USD. The profit columns is showing 42 EUR (EURUSD about 1.19).
Not sure if anyone came across, but is there a way/MQL5 function to get the ExchangeRate used to convert the profit into deposit currency?