Discussion of article "Analyzing trading results using HTML reports"

 

New article Analyzing trading results using HTML reports has been published:

The MetaTrader 5 platform features functionality for saving trading reports and Expert Advisor testing and optimization reports. Trading and testing reports can be saved in two formats: XLSX and HTML, while the optimization report can be saved in XML. In this article we consider the HTML testing report, the XML optimization report and the HTML trading history report.

CSS enables data coloring, which makes the report easier to analyze. Canceled orders will be shown in gray, because they do not provide information of interest. Also gray will be used for market orders, because they provide the same information as deals executed as a result of the orders. Deals will be displayed in bright colors: blue and red. Filled pending orders should also have noticeable colors, such as pink and blue:

Custom HTML report

Fig. 5. Fragment of the custom HTML report

Author: Dmitry Fedoseev

 

This article should be very useful for my work. However, I encounter an error when I run the scripts.

2022.05.21 16:23:00.048 HTMLReportTest (USDCHF,H1) array out of range in 'HTMLReport.mqh' (470,42)


Reason: