Copy Or Exclude Positions By Trade Comments

Copy or exclude positions by trade comments

My trade copier allows to copy only certain positions by the trade comment seen on the master account. You can also choose to exclude certain positions from copying.

For this we will use the following settings:

  • ExcludeTradeComment
  • FilterTradeComment
  • TradeCommentDelimiter

You can enter multiple trade comments which must be separated by the character set in the TradeCommentDelimiter. Default separator is comma.

Here’s an example of filtering trades by comments. In other words we will set Client EA to copy only those positions that have trade comment containing one of these:

  • Strategy1
  • Strategy10
  • Strategy5

As you can see in the image below, they all are comma separated and set in the FilterTradeComment.

Copy only trades with these comments

Copy only trades with these comments

Here’s another example of excluding trades by comments. We will set the Client EA to copy only those positions that have trade comment NOT containing one of these:

  • BadRobot2,1
  • LosingStrategy3

In other words, any positions on the master account will be excluded and not copied to client accounts if they have trade comment with any of the text set in the ExcludeTradeComment. In this case we use semicolon as separator, because it happened so that one of the trade comments have comma included. This means we cannot use comma as separator because it will interpret the text incorrectly.

MT4 copier set to exclude trades by multiple comments

MT4 copier set to exclude trades by multiple comments

Conclusion

If the master account you want to copy trades from runs multiple strategies you can always exclude them if there’s an option to recognize them by trade comments. Local Trade Copier helps hundreds of retail Forex traders and account managers replicate trades from one MT4 account to another since 2010. And believe it or not, filtering trades by comments are mandatory settings for many traders.

Rimantas Petrauskas

About 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.

4 Comments

  • Asmat says:

    Hi,

    I believe if you just put ‘strategy’ in ‘filtertradecommet’ the client EA will still copy all trades with comments ‘Strategy1, Strategy10, Strategy5’.

    Am I correct Rimantas?

    In addition if I only try to filter by entering ‘strategy10’ in the comment, client EA will still copy all strategies ‘Strategy1, Strategy10, Strategy5’.

    Please confirm, How can I filter exact ‘comments’ overall, not partial one?

    Asmat

  • Deepak Khatana says:

    I WANT THAT MY TRADES IN CLIENT ACCOUNT DONT SHOW ANY COMMENT SO WHAT TO DO?

    • Yes, if trades from the master account are coming with a trade comment attached to it you can manipulate Client EA settings to change that.
      In Client EA settings set “CopyExactTradeComment” to false.
      And set “TradeComment” to any value you need to replace the original comment with. You can type whatever you want there.

Leave a Reply to Rimantas Petrauskas Cancel Reply

Malcare WordPress Security