Summary: A practical guide to generating and reading MT4 trading reports. Covers terminal methods, CSV export scripts, and explains key report metrics like Profit Factor and Drawdown for tax and performance review.




I remember the first time I needed to pull my trading history for tax purposes. I was staring at the MT4 terminal, right-clicking around frantically, hoping something would pop up with a big "Export for Tax Agent" button. Spoiler: it doesn't exist. But the tools are there, they're just a bit hidden if you don't know where to look.

Here is how I actually do it, and what those numbers mean when you finally get the report open.

Step 1: The Quick and Dirty HTML Export

This is the most straightforward method. Fire up your MT4, and at the bottom of the screen, find the Terminal window (if it's not there, hit Ctrl+T). Click on the Account History tab .

You'll probably see a list of the last few trades. Right-click anywhere in that list of trades. Select Custom Period to set the date range you need—like for the entire last financial year. Click OK. Right-click again, and this time select Save as Report or Save as Detailed Report . This saves a .htm or .html file to your computer.

Double-click that file to open it in your browser. You'll see a comprehensive breakdown: a summary section at the top, a detailed list of every trade, and a balance graph (the equity curve) at the bottom .

Step 2: The CSV Route (for Excel Geeks)

If you want to slice and dice the data in Excel, the default HTML report is a pain. The better way is to use a script. There's a handy one in the MQL5 marketplace called "ExportCSV" . You download it and drop the script file into your MQL4\Scripts folder .

Then, from the Navigator panel in MT4, drag the script onto any chart. It will pop up a dialog. Set the FromDate and ToDate parameters, run it, and it will spit out a CSV file into the MQL4\Files folder . This gives you clean columns: ticket number, open time, close time, profit, commission, swap, and the comment field.

Step 3: Reading the Darn Thing

Now that you have a report, what do these metrics actually mean? I'll break down the key ones I look at:

  • Profit Factor: This is the gross profit divided by the gross loss. If it's above 1, you made money; below 1, you lost money. Simple enough .

  • Expected Payoff: This is the average profit/loss per trade. It gives you an idea of what to expect on a typical trade. If this is positive, the strategy is working in theory .

  • Maximal Drawdown: This is the largest drop from a peak in your equity curve. It tells you the maximum loss you would have endured. Don't just look at the percentage, look at the monetary value attached to it to see if you can stomach it .

  • Modeling Quality (for backtests): In a strategy tester report, this is crucial. If it says "n/a" or shows red, it means you ran the test on "Open prices only," which is basically useless for real trading. You want to see a green bar here, indicating "Every tick" modeling was used .


  • Reference: MetaQuotes. "Strategy Tester Report." metatrader4.com.
    Reference: Axi. "How do I download a trading report." help.axi.com.
    Reference: MQL5 Market. "ExportCSV." mql5.com.

    本文首发于FXEAR.com,原创内容,未经授权禁止转载。