How do I Export my MT5 Account History?
You can generate the complete or time specific history reports through the MetaTrader (MT5) desktop client by going to the History tab in Toolbox panel. Right-click anywhere in the History tab and select the history period. History tab will display your trades from the selected period.
Export your account history to file with Right-Click > Report and save it as an XML or HTML report.