Skip to content
All library documents

Separating Expert Advisor Performance with Magic Number Trade Logs

Article MQL5 code base

Summary

The document describes a way to distinguish results when multiple Expert Advisors (EAs) and manual trades share one account. An account-level equity curve combines their activity, making it hard to see which systems generated gains, stopped trading, or account for most of the outcome. It introduces a magic-number inventory and trade logging approach to attribute activity to individual sources.

The document notes that enabling CSV export writes the same table to a file for spreadsheet analysis. It also flags two implementation details that affect the reported figures and provides a section on interpreting the table, but the supplied text omits those explanations and the inventory’s actual fields. As a result, it supports the general case for trade-level attribution but does not provide enough detail to assess its calculations, classification rules, or limitations beyond the account-level aggregation problem.

Key ideas

  • Account-level performance combines all activity and obscures each system’s contribution.
  • Magic numbers can help classify trades by Expert Advisor or other source.
  • A trade log can reveal systems that stopped trading or dominate overall results.
  • CSV export makes the inventory table available for spreadsheet analysis.
  • The supplied text does not explain the inventory fields or calculation details.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.