To export your account historical data please follow these easy steps:
1) Launch the MT4 terminal and login to your trading account
2) Select Account History tab from the menu at the bottom of the ‘Terminal’ window
3) Choose the time period you wanted to export, it could be all history or any custom period
4) And Save these data as a Report or Detailed Report
5) A new window will appear, asking you to specify a Save Location, just save it wherever you want