MT4 / MT5 identifier audit

Magic Number Collision Checker

Check user-entered Expert Advisor magic-number assignments for exact duplicates inside the same account or terminal scope. Cross-scope reuse is shown separately, and the page never connects to MetaTrader.

Exact same-scope checksCross-platform positive rangeNo account connection

Enter EA assignments

Use a consistent label for each account or terminal namespace. A collision means two entered EAs share one magic number inside the same normalized scope.

Entered

Use one EA assignment per row. Labels must be unique inside each scope.

Identifier boundary: Model 1.0.0 accepts positive whole numbers through 2,147,483,647 for a conservative MT4/MT5 planning range. It does not inspect code, orders, comments, symbols or broker accounts.

Magic-number audit

MT Execution Utilities 1.0.0.

Derived
Enter at least two assignmentsSame-scope collisions, cross-scope reuse and the next globally unused entered-range number will appear here.

How the collision check works

Collision key = Normalized scope + Exact magic number
Cross-scope reuse = Same number entered in more than one normalized scope

Scope and EA labels trim leading and trailing whitespace, collapse repeated spaces and compare without letter-case differences.

The next available number scans upward from the entered suggestion start and excludes every magic number in the complete entered sample.

Worked example from the audited fixture

Enter four assignments: London Breakout and Swing Trend both use magic number 12001 on Primary VPS; London Breakout Copy uses 12001 on Backup VPS; and Asia Range uses 12002 on Backup VPS. The checker reports one same-scope collision group containing the two Primary VPS rows, one number reused across scopes, one fully unique row, and 12000 as the next unused number from the entered suggestion start.

How to interpret the result

Only the duplicate inside Primary VPS is a collision under this model. The Backup VPS use of 12001 is shown separately because it is in another entered namespace. The suggestion 12000 is unused only within these four rows—not proof that every EA, terminal or account is free of that identifier.

Assumptions and limits

  • Only the rows you enter are checked; no MQ4, MQ5, EX4, EX5, order history or terminal state is inspected.
  • Scope is a user-defined namespace and must be applied consistently across every relevant EA.
  • Cross-scope reuse is informational rather than a same-scope collision.
  • The conservative positive 32-bit range does not represent every identifier value accepted by every platform API.
  • A unique magic number does not prevent conflicts caused by symbols, comments, order filters, copy systems or faulty EA logic.

Frequently asked questions

  • It is an identifier an Expert Advisor can attach to trading requests or orders so program logic can distinguish its activity.
  • Two or more entered EA rows using the same exact magic number inside the same normalized account or terminal scope.
  • A number used in two deliberately separate scopes is not the same entered-scope collision, but seeing the reuse can still help with inventory control.
  • This planner uses positive identifiers so zero is not silently treated as a planned EA identifier. Check the exact conventions in your own code.
  • No. It analyzes only the rows entered in the browser.
  • That depends on their filtering and management logic. This page flags the duplicate but cannot certify EA behavior.
  • It is unused only in the entered sample. You must compare it with every relevant EA, terminal and account configuration.
  • No. Identifier separation does not verify execution logic, risk controls, broker compatibility or strategy performance.

Sources and methodology

Verify symbol and account rules

Confirm the exact account entity, platform, symbol specification, volume rules and copier or EA settings before using an entered plan.

XM

Check platform, symbol and account-specific trading conditions.

Check XM terms

FBS

Review the exact contract and volume specification before execution.

Check FBS terms

FXOpen

Confirm account, symbol and EA or copier compatibility.

Check FXOpen terms

Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

Disclaimer: The results from this tool are estimates for educational and informational purposes only and may differ from your broker's figures. This is not financial or investment advice. Trading forex and CFDs carries a high level of risk and can result in the loss of all your capital. Always verify calculations with your broker and trade within your risk tolerance.