Watch how to download trading robots for free

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

amrali

Views:
639
Rating:
votes: 7
Published:
2019.05.28 22:28
Updated:
2019.06.09 08:26
\MQL5\Scripts\
dummy.mq5 (0.67 KB)view

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>

Following data columns are exported for each symbol:

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

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