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:
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,原创内容,未经授权禁止转载。