Copying reversed Forex trades on MT4 account to itself

Today’s 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 (this is default value, but you can use any other number).
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 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.

About Rimantas Petrauskas

I am the creator of the Local Trade Copier program and a professional developer of Forex trading signal delivery software for MetaTrader 4 client terminal. Also I am into 100% automated currency trading that generates profits while I enjoy the time with my family, our life and traveling.

Leave a Reply