
I understand how tedious it can be to have to manually write all the trades out.
And MT4 is the worst at making your trade history accessible.
This script will produce a csv file of your entire account history. It will enable you to ask some pertinent questions and work out relevant stats. You'll find details on calculating the right trade-stats in the blog posts on this site.
The output is stored in the C:UsersXXXAppDataRoamingMetaQuotesTerminal<Funny Hex Number>MQL4Files directory. To access this simply go to the File Menu in MT4 and select Open Data Folder, and go int the MQL4Files directory. The output file is called TradeReport.csv
File |
---|
TradeLogs_vn3.mq4 |

Version | 3 |
Download | 79 |
Stock | ∞ |
Total Files | 1 |
Create Date | February 1, 2016 |
Last Updated | December 3, 2016 |
Hi Corvin
I downloaded the MT4 Tradelog Extractor, and placed it in scripts, however when I open it, or drag it on to the chart, nothing happens? Is there a trick that I’m missing?
Regards
Mark
Hi Mark,
You’re not missing anything. The script runs and ends, and saves the csv file to the MQL4\Files sub-directory. To get there, in the File Menu choose the Open Data Folder section, which will open a Windows Explorer, and then you should see the MQL4 subdirectory, and within there the trade report sits in the Files sub-directory.
I should put a dialog box in the script to make the user aware that the script finished running. That’s true!