When Your Trade Comment Gets Truncated — COPYLATOR – MT5 Trade Copier

25 November 2026, 03:52
Nurhidaya Tullah
0
8
When Your Trade Comment Gets Truncated — COPYLATOR – MT5 Trade Copier

Product link:
https://www.mql5.com/en/ market/product/191385

Every copied trade can carry a comment. It may look like a small piece of text attached to an order or position, but in a trade-copying environment, comments can serve an important identification purpose.

Depending on the copier's design, a comment may contain a prefix, a reference to the original Sender trade, and an optional custom identifier. This information can help distinguish copied trades from other positions and assist with tracking relationships between accounts.

There is one complication: comments have practical length limitations, and the trading server or broker may modify or truncate the text submitted with an order.

The order may still open successfully. The position may look normal. But if important identification information has been shortened or removed, certain tracking or recovery operations may become more difficult.

This is one of the less obvious details worth checking when configuring a trade copier.

1. What Is a Trade Comment Used For?

A copied position's comment can contain several types of information, depending on the copier's implementation.

  • Identification prefix: A short marker that helps distinguish copied trades from other positions.
  • Original trade reference: Information that identifies or references the corresponding Sender trade.
  • Custom suffix: Optional text added to identify a strategy, account, trading group, or other purpose.

These elements can be useful for trade identification, diagnostics, and account management.

However, it is important to distinguish between a comment and the actual internal mapping mechanism.

A copier may use comments, internal records, files, or other mechanisms to associate Sender trades with Receiver positions. The comment is not necessarily the only source of that relationship, and a trade's MT5 ticket number is a separate platform identifier.

Therefore, a shortened comment does not automatically mean that a position has become unmanageable. The actual impact depends on how the copier stores and restores its trade mappings.

2. Why Comment Length Matters

Order and position comments are text fields, but they should not be treated as unlimited storage.

The practical amount of text that can be retained may depend on the trading platform, server implementation, broker, and the particular order or position field involved.

When a submitted comment exceeds what the trading environment accepts or preserves, the resulting comment may be shortened or otherwise modified.

This can happen without preventing the trade itself from opening.

For example, the copier may submit a comment containing:

COPY_12345678_StrategyA

But the comment displayed later may contain only part of the original text.

The position can still exist and remain tradable. The concern is whether the information needed for identification or later reconciliation has survived.

For this reason, never assume that a comment submitted by the copier will necessarily be identical to the comment displayed by the broker after execution.

3. Where Should the Important Identification Information Appear?

If a copier uses a structured comment containing a prefix, trade reference, and custom suffix, the order of those elements can matter.

Consider this conceptual arrangement:

PREFIX + TRADE_REFERENCE + SUFFIX

If the trading server shortens the comment from the end, placing optional information last can help preserve the more important identification data.

For example:

  • COPY_12345678_StrategyA
  • COPY_12345678_London
  • COPY_12345678_R1

In this arrangement, the trade reference appears before the optional suffix.

However, this is a general design principle, not a guarantee about how every broker handles comments. The server may apply its own rules, and the copier's internal architecture may not rely on this exact format.

The safest approach is to preserve the most important identification information within the portion of the comment that the trading environment reliably retains.

4. The Custom Suffix Problem

The custom suffix is often the easiest part of a comment to control.

A trader may want to add a descriptive label such as:

  • StrategyA
  • Scalping
  • LondonSession
  • Account12345678

These labels can be useful, but long descriptions consume additional comment space.

If the comment already contains a prefix and an original trade reference, adding a long suffix increases the possibility that some information will be shortened or lost.

A practical rule is to keep custom identifiers short.

Instead of using:

MyScalpingStrategyLondonSessio n

Use a shorter identifier such as:

SCALP

Short identifiers are easier to read, consume less space, and reduce the risk of unnecessary comment-length problems.

5. Why the Problem May Appear After a Restart

One important question is how a copier restores the relationship between open Sender trades and their corresponding Receiver positions after a terminal restart.

Some systems may retain mapping information outside the visible trade comment. Others may use a combination of persistent records and information available from open orders or positions.

If a copier relies on information that is no longer available or has been modified, recovery may become more complicated.

For example, imagine that a system needs to identify an original Sender trade using a reference stored in the Receiver's comment.

If that reference has been shortened, the system may have difficulty matching the Receiver position to the correct Sender trade during recovery.

But this outcome is not inevitable. A copier with an independent persistent mapping mechanism may still be able to restore the relationship even when the visible comment is incomplete.

The important point is to understand how the particular copier handles mapping persistence and recovery rather than assuming that every copier uses comments in the same way.

6. Possible Symptoms of an Identification Problem

If important identification information is missing, several symptoms may deserve investigation.

  • Unmatched positions: A Receiver position cannot be associated with the expected Sender trade.
  • Unexpected closing behavior: A Sender trade closes, but the corresponding Receiver position is not managed as expected.
  • Recovery inconsistencies: After a terminal restart, some open positions cannot be matched correctly.
  • Reconciliation differences: The Receiver's open positions cannot be reliably compared with the Sender's positions using the available identification data.
  • Diagnostic warnings: The copier's log reports missing, incomplete, or unrecognized trade references.

These symptoms can have other causes as well, including connection interruptions, broker restrictions, manual intervention, execution failures, or incorrect configuration.

A shortened comment should therefore be treated as a possible cause to investigate, not as automatic proof of the underlying problem.

7. How to Check the Comment

The first practical check is straightforward.

  1. Open a test Sender account and create a trade that will be copied.
  2. Open the corresponding Receiver position.
  3. Inspect the comment displayed in the Receiver's trading terminal.
  4. Compare the retained text with the information the copier was expected to submit.
  5. Check whether the important identification information is complete.
  6. Review the copier's logs for any warnings related to identification or mapping.

If the comment contains a custom suffix, check whether the suffix has been shortened.

More importantly, determine whether any essential reference information has been lost.

Do not rely exclusively on the visible comment. If the copier maintains mapping information separately, verify that the relationship between the Sender trade and Receiver position is still recognized.

8. The Prefix Should Be Short and Stable

A prefix can help identify copied trades, but making it unnecessarily long reduces the space available for other information.

For example, a short prefix such as:

COPY_

is generally easier to accommodate than a long description containing account numbers, strategy names, dates, and other changing information.

A stable prefix also makes comments easier to recognize when reviewing positions manually.

If the copier allows custom prefixes, avoid changing them frequently without understanding how the change affects trade identification and recovery.

Keep descriptive information separate from essential identification data whenever the software provides an appropriate alternative.

9. The Multiple-Receiver Problem

Traders operating several Receiver accounts may want to distinguish positions by account or destination.

A long account number or descriptive label can consume valuable comment space.

For example, instead of adding a long identifier to every comment, a trader might use short labels such as:

  • R1
  • R2
  • R3

The relationship between each short label and its Receiver account can be recorded separately in configuration notes.

This approach keeps comments compact without sacrificing the ability to identify the destination account in the trader's own records.

It is also worth remembering that separate Receiver terminals and accounts may have their own trade tickets and execution details. A comment should not be treated as a universal substitute for maintaining accurate account-level records.

10. What a Well-Designed Copier Should Consider

Comment handling is a small but important part of trade-copying software design.

A robust implementation should consider several points:

  • Controlled comment construction: Essential identification information should be prioritized over optional descriptive text.
  • Length awareness: The software should account for practical comment-length restrictions where possible.
  • Optional-text handling: If a comment must be shortened, optional information should be the first candidate for reduction.
  • Diagnostic logging: Relevant warnings should help users identify incomplete or modified comments.
  • Independent mapping where appropriate: Critical Sender-to-Receiver relationships should not depend unnecessarily on a single piece of broker-controlled text.
  • Recovery testing: The system should be tested after terminal restarts to verify that open trades remain correctly associated.

These principles are useful when evaluating any trade copier. They should not be interpreted as a claim that every copier implements these mechanisms in the same way.

11. Keep a Record of Your Comment Configuration

A simple configuration record can help prevent avoidable identification problems.

Record the following information:

  • The comment prefix, if configurable.
  • The format of any Sender trade reference included in the comment.
  • The current custom suffix.
  • The actual comment displayed on a test Receiver position.
  • Any broker-specific behavior observed during testing.
  • The result of a restart and recovery test.

If the comment is longer than expected or important information is missing, simplify the optional text and repeat the test.

Do not assume that a comment is safe merely because the first trade opened successfully. The more meaningful test is whether the copier can continue to identify and manage the position correctly after modifications, closures, and terminal restarts.

12. Summary: A Successful Opening Is Not the Whole Test

A trade comment may contain useful information for identifying copied positions, but it is subject to practical length limitations and broker-side handling.

  • Comments may be shortened or modified by the trading environment.
  • Long custom suffixes can consume space needed for more important information.
  • A shortened comment does not automatically mean that the position has become unmanageable.
  • The impact depends on how the copier stores and restores Sender-to-Receiver trade mappings.
  • Short, stable identifiers make comments easier to manage.
  • Testing after a terminal restart is important when verifying trade-mapping recovery.

The key lesson is simple: do not judge a copier's trade identification only by whether the initial position opens successfully.

Check the actual comment, understand which information is essential, and verify that the copier can still identify and manage open positions after the trading environment has modified or shortened the original text.

A few minutes of testing can reveal an issue that might otherwise remain unnoticed until a position needs to be modified or closed.

Product link:
https://www.mql5.com/en/ market/product/191385