Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Script | Export Trades

This script creates a history.csv in the experts/file directory. it exports your history into a .csv file which can be read by excel or similar. You can sort your trades and see easily how much a certain EA won or lost.

You can read it with Excel or similar, sort by Magic Number or sort by Comment then sum up the Profit from a certain expert. It only exports buy and sell, not canceled orders or anything else.

If the spread sheet in your language needs "," instead of "." for numbers, you can switch the WantKomma variable at the top of the script.

MetaTrader Experts, Indicators, Scripts and Libraries

10555

Best MetaTrader Indicators + Profitable Expert Advisors