Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Scripts

Export Summary Grouped by Symbols - script for MetaTrader 5

Views:
4092
Rating:
(17)
Published:
2019.05.28 22:28
Updated:
2020.12.17 04:57
dummy.mq5 (0.67 KB) view
\MQL5\Scripts\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The script exports summary of closed trades selected between two dates grouped by each currency pair. 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 > MQL5\Files\<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 symbol:

  • Symbol name
  • Total trades
  • Volumes
  • Profits
  • Swaps
  • Commissions
  • Net profits

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



    Close-All Close-All

    A script to close all market positions and/or pending orders.

    Change SL/TP on chart drop off Change SL/TP on chart drop off

    This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.

    Variance Variance

    Variance (Welford’s method for computing)

    Export Summary Grouped by Trading Days Export Summary Grouped by Trading Days

    The script exports summary of closed trades grouped by each trading day to .csv file