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 Trading Days - script for MetaTrader 5

Views:
4949
Rating:
(27)
Published:
2019.06.01 21:02
Updated:
2020.12.23 17:11
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 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 > 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 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.



    Variance Variance

    Variance (Welford’s method for computing)

    Export Summary Grouped by Symbols Export Summary Grouped by Symbols

    The script exports summary of closed trades grouped by each currency pair to .csv file

    Permutations and Combinations Permutations and Combinations

    A fast library for combinations and permutations in MQL.

    ArrowDrawingIndiEu ArrowDrawingIndiEu

    This indi will draw OBJ_ARROW_BUY/OBJ_ARROW_SELL when find signals on Arrow Indi Buffers.