MQL4 Reference Common Functions TesterStatistics

MQL4 Help as One File:

TesterStatistics

The function returns the value of the specified statistical parameter calculated based on testing results.

double  TesterStatistics(
   ENUM_STATISTICS statistic_id      // ID
   );

Parameters

statistic_id

[in]   The ID of the statistical parameter from the ENUM_STATISTICS enumeration.

Return Value

The value of the statistical parameter from testing results.

Note

The function can be called inside OnTester() or OnDeinit() in the tester. In other cases the result is undefined.