Skip to content

Forex CSV Trade History Analyzer Indicator

The Forex CSV Trade History Analyzer indicator for Metatrader 4 analyzes your Forex trade history for any symbol.

It analyzes the used trade size, trading commission, paid swap and profit/loss for any given period.

How it works?

  • First load the indicator to any symbol
  • Then press the CSV export button on the main trading chart
  • You’ll find the CSV file in the following MT4 directory: Press “file” on the main menu > Data folder > MQL4 > Files (download here)

Indicator Preferences

Currency pairs: Any

Preferred Time frames: Any

Sessions: Any


Download the tradehistoryexporttocsv.mq4 indicator.

Configurable Input Parameters

File name, start date, end date

EUR/USD CSV File Example


How to install the Forex CSV Trade History Analyzer custom indicator in Metatrader 4?

  • Download the tradehistoryexporttocsv.mq4 indicator to your computer.
  • Open your Metatrader 4 platform.
  • Open the data folder from the top menu.
  • Open the MQL4 folder.
  • Open the indicators folder.
  • Paste the indicator file in this folder.
  • Restart the trading platform.
  • Open any trading chart.
  • Attach the indicator to the chart.