Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 7510
- Rating:
- Published:
- 2016.06.30 17:22
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Situation: One demo account, with multiple experts being tested on it.
Question: What is the profitability of each expert?
To answer this question, I wrote a script that reads the list of deals from the account history, groups them by comments (I usually write the name of the EA and the timeframe it works on) and outputs to a file. The functionality has been extended by adding grouping by operation type (buy, sell), by symbol and by magic number. The results of the script operation are displayed in the figures below.
Grouping by operation type
Grouping by symbol

Grouping by magic
Grouping by comment
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8100

The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart.

It is designed to create a non-standard symbol period based on the use of the standard period.

Plotting the ROC indicators of two custom types (including Momentum) and periods in one window.

The script outputs the information on symbols to a CSV file: swaps, spreads, stops, contracts.