Skip to main content

Copying reversed Forex trades on MT4 account to itself

Local-Trade-Copier-Tutorials-copying-reversed-forex-trades-on-mt4-account-to-itself-1745x1080

Question about the Local Trade Copier:

Can I attach a Server and Client EA to the same account so that each time a trade is placed on the master it will also have a reverse trade on the same account?

Yes, with the Local Trade Copier that is possible. This kind of makes the master account into a slave account for itself. You need to open two charts for this. The 1st chart should have the Server EA attached and the 2nd chart should have the Client EA attached.

The important thing here is to make sure you set the LTC to work this way:

The Client EA should have a MagicNumber set to a value of 60000.

To reverse the trades on the slave account you need to enable the ReverseTrades option.

The Server EA should have the ExcludeMagicNumber option set to same value of 60000 or whatever number you are using as magic number in the Client EA.

In other words the ExcludeMagicNumber option on the Server EA should be the same as the MagicNumber option on the Client EA. This will prevent the Server EA from picking the “copied” trade again and sending it to the Client EA which would result in an endless loop.

I hope that helps, and please share this information with someone who needs it. You may also want to check The Definitive Guide to Forex Trade Copying to learn more about how to use the Local Trade Copier and copy trades between multiple MetaTrader 4 accounts.

Rimantas Petrauskas

Rimantas Petrauskas is one of the most well-known programmers among Forex traders. Having more than 20+ years of programming experience, he created two of the most popular trade copiers for the MetaTrader 4 platform—the Signal Magician and Local Trade Copier. Rimantas is also a best-selling author on Amazon after his book "How to Start Your Own Forex Signals Service" hit #4 in the Forex category during the first launch week.

2 Comments

Leave a Reply to Rimantas Petrauskas Cancel Reply

Malcare WordPress Security