For the complete documentation index, see llms.txt. This page is also available as Markdown.

Loss-Protected Exit

Overview

Loss-Protected Exit is a copier-level safeguard for slave accounts. When the master account issues a close (including a bulk "Close All"), MetaCopier checks the current unrealized P&L of the corresponding slave position. If the position is in loss, the close is not replicated. Optionally, the slave position's Take Profit is moved to the entry price (breakeven) so the position stays managed and eventually closes flat.

Close signals for positions that are at breakeven or in profit continue to replicate normally.

This feature is set on the copier, not on the master account. It only applies to slave-side execution.

Why use it

Typical use cases:

  • You copy a master that exposes a "Close All" button and want to protect slaves against an accidental click.

  • You run prop-firm slave accounts where taking losses in bulk is unacceptable.

  • You operate large fleets of slave accounts (hundreds or thousands) where a single master mistake would propagate at scale.

  • Your trading rule is: "never close a position while it is in negative P&L."

How it works

  1. When the master closes a position, MetaCopier locates the mirrored position on the slave account.

  2. The feature reads the slave position's current unrealized P&L (Profit field on the broker side).

  3. If the loss is strictly worse than the configured tolerance, the close is blocked.

  4. Optionally, the Take Profit of the slave position is set to the entry price (Β± an optional offset for commission/swap).

  5. The position now runs autonomously on the slave account. It will close by itself once price reaches the breakeven Take Profit, or you can close it manually from the account.

Once the breakeven Take Profit triggers (or you close the position manually), the slot is released and normal copying resumes.

Settings

  • Enabled: Master toggle for the feature.

  • Tolerance (% of balance): Losses smaller than this percentage of the slave account balance are considered acceptable and the close is replicated normally. Percent is the recommended unit because it scales across accounts of any size. Set to 0 to disable the percent rule.

  • Tolerance (account currency): Losses smaller than this absolute amount in the account's currency are considered acceptable and the close is replicated normally. Useful for prop-firm-style fixed rules. Set to 0 to disable the absolute rule.

  • Set TP at entry price (breakeven): When enabled, the slave position's Take Profit is moved to the entry price the moment a close is blocked. Recommended: on.

  • Overwrite existing TP: Advanced. When enabled, the breakeven Take Profit replaces any existing Take Profit. When disabled, an existing Take Profit that is already at-or-better than breakeven is preserved.

  • Breakeven offset (points): Advanced. Points added on the favorable side of the entry price so the position truly closes flat after commissions and swap.

  • Per-Symbol Configuration: Different tolerance and breakeven values can be defined per symbol. Symbol-specific rules always override the general settings.

Tolerance semantics: If both tolerance fields are set, the larger tolerance wins (most permissive). If both are set to 0, any loss blocks the close. This is the strict "never close in loss" mode.

Example use cases

  1. Strict "never close in loss"

    • Tolerance (%): 0

    • Tolerance (currency): 0

    • Set TP at entry price: on

    • Behavior: Any loss blocks the master close. Every blocked position gets a breakeven Take Profit and closes flat when price returns.

  2. Small-spread tolerance across mixed account sizes

    • Tolerance (%): 0.05 (0.05% of balance)

    • Tolerance (currency): 0

    • Set TP at entry price: on

    • Behavior: Micro-losses caused by spread ticks are ignored (close replicates normally). Larger losses are blocked and re-managed. Scales cleanly from small to large slave accounts.

  3. Prop-firm fixed cap

    • Tolerance (%): 0

    • Tolerance (currency): 5 (5 USD)

    • Set TP at entry price: on

    • Breakeven offset (points): 10

    • Behavior: Only losses larger than 5 USD are protected. Blocked positions get a Take Profit 10 points beyond entry to cover commission and swap.

  4. Per-symbol override for volatile instruments

    • Global: Tolerance (%) = 0.05

    • XAUUSD override: Tolerance (%) = 0.2

    • Behavior: Every symbol uses a tight 0.05% tolerance except gold, which gets a wider 0.2% cushion to absorb its larger spread.

Limitations

  • The feature acts on the slave side only. It cannot prevent the master broker from closing master-side positions.

  • On netting-mode slave accounts (single position per symbol) the feature does not apply, because netting brokers close by opposite volume rather than by ticket.

  • On pending orders the feature has no effect: pending orders have no unrealized P&L.

  • When a connector does not support Take Profit modification, the close is still blocked but the breakeven Take Profit is not written; a warning is surfaced in the account status feed.

  • If the master flips a position (close and reverse), and Loss-Protected Exit blocks the close, the slave may briefly carry both the original position and the new reverse position as a hedged pair.

Best practices

  • Start with the strict setup (0 / 0 tolerances, breakeven TP on) on a demo copier to verify the behavior end-to-end.

  • Use percent tolerance rather than absolute currency when you copy to slaves of different sizes.

  • Set a small breakeven offset (a few points) on symbols with meaningful commission or swap so protected orphans genuinely close flat.

  • Use per-symbol overrides to widen the tolerance on high-spread instruments (gold, indices, crypto).

  • Monitor the account logs: every blocked close and every breakeven-TP write is recorded there.

Last updated