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 5 Script | Export trade history to CSV

MetaTrader Experts, Indicators, Scripts and Libraries

This script will export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software.

Current version 1.0 does not add the takeprofit and stoploss. Any advice to improve this is welcomed.

24626