Which Trades Does Your EA Consider Its Own?

Which Trades Does Your EA Consider Its Own?

4 December 2026, 12:00
Evgeniia Terekhova
0
16

Before I let an EA share an account, I check what it considers its own. The answer starts with the symbol and Magic number.

Every order and position carries a number called the Magic number. An EA stamps the trades it opens with its own number. A manual trade has no assigned Magic number, so it appears as Magic 0.

This matters when I run two EAs on one account. Their Magic numbers can separate their orders and positions, even when both are active together.

But the number helps only when the EA actually checks it. An EA that ignores Magic numbers can modify or close trades it did not open.


What I ask before sharing an account

First, I ask which symbol the EA manages. Does it limit its work to the chart symbol, or inspect trades on other symbols?

Second, I ask which Magic number it uses and whether I can change that number. Two EAs need different numbers if I want their trades kept distinct.

Third, I ask what it does with trades it did not open. That includes positions from another EA and my manual trades with Magic 0.

I want a direct answer to all three questions. “It manages trades” is not enough. I need to know how it identifies those trades before it modifies or closes anything.

The important boundary is the combination of symbol and Magic number. The symbol narrows the market being managed. The Magic number identifies the EA’s own activity within that market.

Gold Storm PRO is an Expert Advisor that trades XAUUSD (gold). It manages only the orders and positions that match its own symbol and Magic number, with a default Magic number of 888.

Other EAs’ trades and manual trades are not touched.

Schematic row of six position tokens: three with the same tag shape inside one frame, the other three outside the frame, each under a closed padlock.

Figure 1. Three position tokens with the same tag sit inside one frame; the other three, with a different tag or none, stay outside under padlocks.

350%+ in 20+ weeks

Gold Storm PRO trades on our public MQL5 signal. See the signal →

Gold Storm PRO

Download the demo on the product page and test it yourself in the Strategy Tester:

Gold Storm PRO EA MT5 | Gold Storm PRO EA MT4