Download MetaTrader 5

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

2016.06.30 17:22
Scripts

Grouping account history - script for MetaTrader 4

| English Español Português 日本語 Deutsch Русский

Views:
1409
Rating:
votes: 6

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 Software Corp.
Original code: https://www.mql5.com/ru/code/8100

Transfer trades from the tester report to the chart Transfer trades from the tester report to the chart

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

Period converter Period converter

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

ROC2 VG ROC2 VG

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

Information on the symbols Information on the symbols

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