My Trade Copier Turned One Trade Into 28 Positions. Here Is How a Copy Loop Happens
While testing a trade copier on a demo account, I opened one test buy. Shortly after, there were 28 positions on the account. Nothing was wrong with the market or the broker. The copier was copying its own copies.
This is a short write-up of what happened, why it happened, and the checks that stop it. If you run any copier, especially with the sender and receiver on the same account or the same computer, the same thing can happen to you.
How the loop starts
A copier has two sides. The sender reads the positions on one account and publishes them. The receiver reads that list and opens matching positions.
In my test, the sender and the receiver were attached to the same demo account. Step by step:
- I opened one test buy. The sender published it.
- The receiver saw a new source position and opened a copy.
- The sender scanned the account again and found two positions: the original and the copy. Both looked like trades to send.
- The receiver saw a "new" source position, the copy, and copied it.
- Every new copy became a new source on the next scan.
The count kept rising until I cut the connection between the two sides and closed everything. The demo loss was small, $2.45, because I was watching and closed the positions quickly. On a real account with a larger lot, or with nobody watching, the same loop would be a very different story.
It does not need the same account
Two accounts can loop as well. If account A copies to account B and account B also copies back to account A, every trade bounces between them. The same happens if a second copier on account B sends everything, including the trades it received.
Three checks that stop it
- The sender must not send copied positions. A copier should mark the positions it opens (by magic number, comment or both) and the sender should skip anything with that mark.
- The receiver must not copy its own positions. If a source row has the receiver's own magic number, it is a copy of a copy and should be ignored.
- A hard limit on new positions per minute. Even with the first two checks, a bug or a setting mistake can still create a loop. A limit such as 10 new positions per minute stops the damage early and gives you a clear alert instead of a full account.
After adding these checks I ran the same test again: one test buy produced exactly one copy, and stop-loss changes, a partial close and the final close all followed it without extra positions.
What to check in your own setup
- Do not attach the sender and the receiver to the same account unless the copier clearly supports it.
- Never set two accounts to copy each other.
- If another EA trades on the receiving account, check which magic numbers the sender publishes.
- Look for a limit on new positions per minute or a similar safety setting, and keep it on.
- Test on demo accounts first, and watch the first few trades.
Zen Copy has all three checks built in.


