Export Summary Grouped by Trading Days – script MetaTrader 5

The script exports summary of closed trades selected between two dates grouped by each trading day. The resulting file is CSV that can be opened/imported with any spreadsheet software.

To export summary for the entire trading history, keepย Start dateย andย End dateย at their default values.

The CSV file is located at: Terminal > File > Open data folder > MQL5Files<Filename>

The CSVย file will be auto-opened with the associated Windows program (e.g., Microsoft Excel orย Ron’s CSV Editor).

Following data columns are exported for each trading day:

  • Date of the trading day
  • Total trades
  • Volumes
  • Profits
  • Swaps
  • Commissions
  • Net profits

The CSV file can be opened with Microsoft Excel or better withย  Ron’s CSV Editor.


    ๐Ÿ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks