Skip to main content
Version: 2.0

Statistic

The Expert Advisor Builder can produce detailed statistics that encompass essential data about each signal generator. This functionality is only available when constructing a trading module with the Expert Advisor Builder. However, when the trading module is subsequently run with the Custom Expert Advisor, the statistic generator is turned off to optimize performance. Please consult the configuration article to understand the statistical feature thoroughly.

Concept diagram

The concept diagram provided below depicts the function block associated with this page.

File Output, Concept diagram, Statistic.png

Folder path and data organization

The Expert Advisor Builder saves its output in a designated tester folder. This folder can be conveniently accessed through the Windows start menu or via a shortcut set up on your Windows desktop. Both options are illustrated below.

File Output, Statistic, Application folder on desktop and start menu.png

Alternatively, enter the following line into your Windows file explorer path to access the Statistic output folder.

%AppData%\MetaQuotes\Terminal\Common\Files\FEA Trading Tester Data\Expert Advisor Builder 2.0\Statistic

In both scenarios, you will encounter the following folders. Please navigate as shown in the illustration until you find the Statistic Evaluation Excel file.

File Output, Statistic, Folder path and data organization.png

Open this file with Microsoft Excel and follow the steps in the Import sheet.

Data import

The statistic engine's raw output is a CSV file. This file can be used for direct, computer-assisted processing or imported into the pre-formatted Excel-based file. To import the statistical data, open the Excel file and press the Import button on the Import sheet.

File Output, Statistic, Data import.png
tip

To reproduce the journal in this chapter, you can download and use the SET file package um_eab_fojo_4_v_2_0.zip.

The Excel file should be in the same folder as the Final output folder, which contains the raw CSV export generated by the Expert Advisor Builder. Typically, the Excel file is automatically created in the correct folder.

Further down this page, you can find examples of each automatically generated diagram. Each diagram can be displayed or hidden according to your visual preferences.

info

It requires installing Microsoft Excel on your computer and enabling the macro feature. Excel will prompt for this when opening the Statistic Evaluation file for the first time. Please enable the content. If you are missing the evaluation Excel file, you can download it here.

Value analysis diagram - Timing

This diagram comprises several sub-diagrams. Each blue bar represents the average chart price range measured in the rate of change within the observed timeframe. Sub-diagrams are available for the average rate of change per hour of the day, day of the week, day of the month, and week of the year. Utilize this diagram to pinpoint when trading is most likely successful due to adequate volatility.

The following image presents a sample value analysis diagram for the timing module TIM.

File Output, Statistic, Value analysis diagram - Timing.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_5_v_2_0.zip.

Value analysis diagram - Events

The value analysis diagram for the event signal generator provides statistical data about the occurrence of the chosen events. The sub-diagrams include information about the region where the events occurred, the impact and importance, and histograms that merge this data.

The following image presents a sample value analysis diagram for the events module EVT.

File Output, Statistic, Value analysis diagram - Events.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_6_v_2_0.zip.

Value analysis diagram - Indicators

The value analysis diagram for the indicator engine contains histograms for both the indicator value and the angles. Each diagram illustrates the frequency of specific values or angles within the tested period. Particularly for indicators that typically track the price chart, you can derive the overall shape of the chart based on this data. This information can be used to infer aspects such as the trend or support and resistance levels.

The following image presents a sample value analysis diagram for the indicator module INA1.

File Output, Statistic, Value analysis diagram - Indicators, Ina1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_7_v_2_0.zip.

The following image presents a sample value analysis diagram for the indicator module INA2.

File Output, Statistic, Value analysis diagram - Indicators, Ina2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_8_v_2_0.zip.

The following image presents a sample value analysis diagram for the indicator module INB1.

File Output, Statistic, Value analysis diagram - Indicators, Inb1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_9_v_2_0.zip.

The following image presents a sample value analysis diagram for the indicator module INB2.

File Output, Statistic, Value analysis diagram - Indicators, Inb2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_10_v_2_0.zip.

Value analysis diagram - Oscillators

The value analysis diagrams for the oscillator engine include histograms for the indicator value and the angles. Each diagram depicts the occurrence rate of particular values or angles during the tested period. This information can be utilized to adjust the oscillator's input parameter for optimal performance.

The following image presents a sample value analysis diagram for the oscillator module OSA1.

File Output, Statistic, Value analysis diagram - Oscillators, Osa1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_11_v_2_0.zip.

The following image presents a sample value analysis diagram for the oscillator module OSA2.

File Output, Statistic, Value analysis diagram - Oscillators, Osa2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_12_v_2_0.zip.

The following image presents a sample value analysis diagram for the oscillator module OSB1.

File Output, Statistic, Value analysis diagram - Oscillators, Osb1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_13_v_2_0.zip.

The following image presents a sample value analysis diagram for the oscillator module OSB2.

File Output, Statistic, Value analysis diagram - Oscillators, Osb2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_14_v_2_0.zip.

Value analysis diagram - Chart Analyzers

Like the histograms for the indicator and oscillator engine, the Expert Advisor Builder also produces an expanded value analysis diagram for each activated chart analyzer submodule. Key features such as volatility, swing phase, regression angle, rate of change of the observer area, fill factor, swing height, swing width, swing height relative to the range, and swing width relative to the range are depicted. This data can be used to adjust the condition input parameters to ensure that positive signals are only enabled when they align with your trading strategy.

The image below showcases an example of a value analysis diagram for the chart analyzer submodule CA1.

File Output, Statistic, Value analysis diagram - Chart Analyzers, Ca1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_15_v_2_0.zip.

The image below showcases an example of a value analysis diagram for the chart analyzer submodule CA2.

File Output, Statistic, Value analysis diagram - Chart Analyzers, Ca2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_16_v_2_0.zip.

The image below showcases an example of a value analysis diagram for the chart analyzer submodule CA3.

File Output, Statistic, Value analysis diagram - Chart Analyzers, Ca3.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_17_v_2_0.zip.

The image below showcases an example of a value analysis diagram for the chart analyzer submodule CA4.

File Output, Statistic, Value analysis diagram - Chart Analyzers, Ca4.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_18_v_2_0.zip.

Value analysis diagram - Search engines

The additional value analysis diagrams can be utilized to comprehend the frequency of occurrence of the chosen search engine patterns within the specified timeframe. Accordingly, a diagram is generated for the candle search engine, pattern search engine, and Fibonacci search engine.

The following image presents a sample value analysis diagram for the candle search engine identified with CAS.

File Output, Statistic, Value analysis diagram - Search engines, Cas.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_19_v_2_0.zip.

The following image presents a sample value analysis diagram for the pattern search engine identified with PAS.

File Output, Statistic, Value analysis diagram - Search engines, Pas.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_20_v_2_0.zip.

The following image presents a sample value analysis diagram for the Fibonacci search engine identified with FIS.

File Output, Statistic, Value analysis diagram - Search engines, Fis.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_21_v_2_0.zip.

Signal analysis diagram

Understanding the average chart shape before and after a signal from one of the signal generators is generated can be advantageous. In the signal analysis diagram, a colored rectangle is drawn for each timeframe bar before and after the signal occurrence. The height of each rectangle is dictated by the average rate of change of all bars with the same time difference to the moment the signal was generated. The position illustrates the average chart shape before and after the trading signal. This data is crucial for assessing the quality of the signal. For instance, a long strategy is unlikely to be effective if the average shape typically declines after the signal.

Signal analysis diagram - Actual trade

The signal analysis diagram for the actual trade assesses only the signals that resulted in the initiation of a trade. Given that the default configuration of a trading strategy permits only one open trade at a time, signals may appear more frequently than actual trades.

File Output, Statistic, Signal analysis diagram - Actual trade.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_22_v_2_0.zip.

Signal analysis diagram - General signal

The signal analysis diagram for the general signal depicts the logical AND combination of each employed signal generator. This final signal is commonly used to trigger trades. Unlike the actual trade signal, this chart incorporates a larger number of signals, including those that did not result in the opening of a trade.

File Output, Statistic, Signal analysis diagram - General signal.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_23_v_2_0.zip.

Signal analysis diagram - Events

The following image presents a sample signal analysis diagram for the signal generator identified with EVT.

File Output, Statistic, Signal analysis diagram - Events.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_24_v_2_0.zip.

Signal analysis diagram - Indicators

The following image presents a sample signal analysis diagram for the signal generator identified with INA.

File Output, Statistic, Signal analysis diagram - Indicators, Ina.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_25_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with INA1.

File Output, Statistic, Signal analysis diagram - Indicators, Ina1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_26_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with INA2.

File Output, Statistic, Signal analysis diagram - Indicators, Ina2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_27_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with INB.

File Output, Statistic, Signal analysis diagram - Indicators, Inb.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_28_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with INB1.

File Output, Statistic, Signal analysis diagram - Indicators, Inb1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_29_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with INB2.

File Output, Statistic, Signal analysis diagram - Indicators, Inb2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_30_v_2_0.zip.

Signal analysis diagram - Oscillators

The following image presents a sample signal analysis diagram for the signal generator identified with OSA.

File Output, Statistic, Signal analysis diagram - Oscillators, Osa.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_31_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with OSA1.

File Output, Statistic, Signal analysis diagram - Oscillators, Osa1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_32_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with OSA2.

File Output, Statistic, Signal analysis diagram - Oscillators, Osa2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_33_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with OSB.

File Output, Statistic, Signal analysis diagram - Oscillators, Osb.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_34_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with OSB1.

File Output, Statistic, Signal analysis diagram - Oscillators, Osb1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_35_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with OSB2.

File Output, Statistic, Signal analysis diagram - Oscillators, Osb2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_36_v_2_0.zip.

Signal analysis diagram - Chart Analyzers

The following image presents a sample signal analysis diagram for the signal generator identified with CA1.

File Output, Statistic, Signal analysis diagram - Chart Analyzers, Ca1.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_37_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with CA2.

File Output, Statistic, Signal analysis diagram - Chart Analyzers, Ca2.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_38_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with CA3.

File Output, Statistic, Signal analysis diagram - Chart Analyzers, Ca3.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_39_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with CA4.

File Output, Statistic, Signal analysis diagram - Chart Analyzers, Ca4.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_40_v_2_0.zip.

Signal analysis diagram - Search engines

The following image presents a sample signal analysis diagram for the signal generator identified with CAS.

File Output, Statistic, Signal analysis diagram - Search engines, Cas.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_41_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with PAS.

File Output, Statistic, Signal analysis diagram - Search engines, Pas.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_42_v_2_0.zip.

The following image presents a sample signal analysis diagram for the signal generator identified with FIS.

File Output, Statistic, Signal analysis diagram - Search engines, Fis.png
tip

To reproduce the diagram from above, you can download and use the SET file package um_eab_fost_43_v_2_0.zip.

Raw data tables

All the diagrams above are constructed utilizing data from the CSV files. If you prefer to access the data in a tabular format, please consult the Value Analysis Data and Signal Analysis Data sheets.

The subsequent image provides a visual representation of the Value Analysis Data.

File Output, Statistic, Raw data tables, Value analysis data.png

The concluding image showcases the appearance of the Value Analysis Data.

File Output, Statistic, Raw data tables, Signal analysis data.png