A trailing mechanism proposes stop-loss updates after favourable price movement. A long stop can rise and a short stop can fall; reversal does not loosen the level. Activation, update timing, units and acceptance depend on the implementation. This is an exit-management rule rather than a guarantee of retained profit. The examples distinguish the program’s candidate from the last server-accepted SL, including what happens when updates stop.

How a trailing stop actually works

A one-way rule improves the intended stop level without moving it back after a reversal. For a long in the standard OTC FX model, a fixed-distance candidate is based on Bid minus the distance; for a short it is Ask plus the distance. It becomes an effective new SL only after acceptance. In desktop MT5, built-in trailing starts when profit in points reaches the selected distance; built-in trailing updates for one position cannot occur more than once every ten seconds. It does not establish an initial SL merely by being enabled.

In this hypothetical EUR/USD example, Anna buys at 1.0850, separately places an accepted stop at 1.0820 and configures a 30-pip trail. MT5’s built-in distance is entered in points and enabling it alone does not place the initial stop. With Bid at 1.0860, the illustrated profit is below the trailing threshold. At Bid 1.0890, assume the terminal updates the stop to 1.0860; at Bid 1.0920, it updates to 1.0890. If Bid reverses and the closing order fills completely at 1.0890, the result is 40 pips before separate charges. The stop level alone does not guarantee that fill or result.

Thirty-pip trail on a long EUR/USD position · one mini lot
Position opened1.0850
Initial stop loss1.0820 (−30 pips)
Price rises to 1.0890 → stop shifts to1.0860 (planned +10 pips if filled there)
Price rises to 1.0920 → stop shifts to1.0890 (planned +40 pips if filled there)
Price reverses to 1.0890 → stop firesif filled there: +40 pips before separate costs

For the long example, later accepted stop levels are higher. For a short, they would be lower: the one-way rule improves the intended exit rather than always moving upward. The stop loss and take profit set in fixed positions stay at their accepted levels until modified. None of these levels alone guarantees the final price or net result.

Three types of trail — pip-based, percentage and volatility-based

Distance can be defined in price units, as a percentage of price, or using a stated volatility measure. These are rule designs to compare under explicit assumptions; a platform’s built-in trailing feature may not offer all of them.

Fixed distance. Choose a constant price offset, for example forty pips under a stated FX convention. The candidate then follows the relevant quote side at that offset, subject to activation, update timing and acceptance. It does not promise that the eventual fill will be exactly forty pips behind the observed maximum. A fixed price offset does not adapt to a changing volatility measure.

Percentage-based. Define distance as a fraction of the reference price. In a hypothetical rule, 0.5% of 1.1000 is 0.0055, or fifty-five pips at a 0.0001 convention; at 1.2000 it is sixty pips. Unlike a fixed pip offset, the price distance changes with the reference price. State the reference and one-way update rule so a recalculated distance does not silently loosen the accepted stop.

Volatility-based (ATR). ATR (Average True Range) averages historical true ranges for a chosen period and timeframe. A hypothetical rule might multiply it by a stated factor, but ATR is not a forecast of the next move and no universal factor ensures suitable exits. Recalculation must still respect the one-way stop rule. The advanced ATR trailing-stop techniques article explores that design.

When a trail takes away the profit it was meant to protect

Check distance, activation and where updates run separately. An earlier trailing exit can help or harm the final result on a particular path; a single later price move does not establish whether the rule is suitable. Compare the complete sample, not only trades that would have profited after exit.

Distance without a stated model. A small offset can be reached by a reversal that the entry hypothesis still treats as normal. A larger offset gives back more of a favourable move if filled there. Compare candidate distances using the same historical entries, units and costs, including unsuccessful trades. ATR can supply a consistent historical scale, but a 1.5×ATR minimum is not an established universal safety boundary.

Activation is a separate parameter. Distinguish the threshold that starts trailing from the distance behind the relevant quote. Desktop MT5’s built-in rule starts after profit reaches the selected distance; a custom rule may use a different threshold. A hypothetical forty-pip distance with a sixty-pip activation threshold is a chosen design to test, not evidence of sufficient protection or a recommended multiplier.

Where updates run. Desktop MT5 built-in trailing needs the terminal running and connected. After shutdown, only the last server-accepted SL can remain effective, if it exists and is still valid. cTrader Web documentation describes its built-in trailing protection as server-side and active after the session ends. These are platform-specific mechanisms; a separate program or provider service needs its own checks.

How to evaluate a trailing rule

Consider the defined price path rather than label a market ideal. A continuing move with reversals smaller than the accepted trailing offset may leave a position open longer; a larger reversal may activate the stop. Update timing, price gaps, costs and the actual fill can change the outcome. A chart that later resumes the trend does not by itself prove the earlier exit was an error.

To evaluate a rule, record entry and exit conditions, timeframe, distance, activation, sampling or trailing step, contract units and costs. Include periods with different price paths and execution assumptions. Neither an H4 minimum nor a days-long holding period is a universal prerequisite for effective trailing. For unattended operation, identify the mechanism that continues running and inspect its last accepted server level.

A trail against a price gap and slippage

It is easy to believe a trail protects against every move the market makes. It does not. The protective level is still an ordinary order triggered at a specific price, and its execution depends on available liquidity and the contract’s order rules. When a price gap and slippage appear over the Friday-to-Monday weekend and the rate opens far below your trail, the resulting order can execute with adverse slippage or encounter an execution problem. A trail does not guarantee the closing price; its ordinary stop condition and execution remain subject to the trading rules.

An ordinary trail does not guarantee protection from a gap, whether overnight or during a session. A provider’s guaranteed-stop product may offer a specific price guarantee under stated eligibility and fee terms; it is a separate feature. Inspect those terms rather than infer guaranteed execution from the word trailing.

A new level calculated by a trailing program may be rejected

Protection depends on the last level confirmed on the server. A candidate in the program or log does not replace the modification result.

Scroll sideways to see the full diagram

A new level calculated by a trailing program may be rejectedA hypothetical trailing program calculates SL 1.10400 at Bid 1.10600. The assumed 30-pip minimum exceeds the proposed 20-pip distance, so the change is rejected. The previous SL 1.10200 remains unchanged.CANDIDATE SL ≠ SAVED SL1 • Confirmed stateLong • saved SL 1.102002 • Program calculationBid 1.10600 − 0.00200 = 1.104003 • Rejection in the model20-pip distance < 30 required4 • State after rejectionConfirmed SL remains 1.10200

Original model of a program using MT5, not a record of any particular built-in trailing version. Linear EUR/USD; pip = 0.0001. Assume rejection, no other operations and a valid previous SL. The 0.00300 minimum is hypothetical. MetaQuotes describes the minimum stop distance; code 10016 means invalid stops. The code alone does not prove the cause in a real case.

A hypothetical trailing program calculates SL 1.10400 at Bid 1.10600. The assumed 30-pip minimum exceeds the proposed 20-pip distance, so the change is rejected. The previous SL 1.10200 remains unchanged.

If Bid later reaches 1.10300, it has not reached the saved SL 1.10200. Comparing it with rejected 1.10400 would falsely imply activation. After a change, compare the requested level, server response and current position SL. This model does not predict an execution price after future activation.

Automatic trailing or moving the level by hand

A manual rule can propose stop levels from specified chart observations instead of a fixed offset. For example, a hypothetical long rule may use a confirmed local low plus a defined buffer. The human or program still needs to send the modification and verify acceptance. Manual control changes how levels are chosen; it does not control the subsequent fill price.

A combined rule may move SL toward entry at a stated threshold and trail the remaining volume after a specified partial close. Those thresholds are design choices, not universal 1R or 2R requirements. The article on what break-even is and how to move the stop-loss to BE separates an entry-level price result from net break-even. Compare automatic and manual variants with the same entries, volume and costs. For platform continuity, see whether SL, TP and EAs work with MT4 closed.

What to do tomorrow

  1. Define candidate rules before testing. Specify price units or an ATR calculation with its period and timeframe, plus any chosen multiplier. Treat the values as test inputs, not a universal sensible range. Preserve the one-way update rule and record the effect of rejected changes.
  2. Check where your actual mechanism runs. Read the platform and account documentation, identify what requires a live connection, and verify the last accepted SL. A server-side feature and a guaranteed-stop product solve different problems; one does not imply the other.
  3. Test the one-way behaviour on a demo account. Put on a demo position with a thirty-pip trail, wait until price moves in your favour and the protective level shifts, then watch how the stop stays put when price pulls back. Seeing this mechanic live fixes it in your mind better than any description.
  4. Review the whole sample. Compare the proposed rule with a predefined alternative on the same entries, units and costs. Include cases where trailing exited before further favourable movement and cases where it reduced losses. Looking only at missed gains selects evidence after seeing the outcome.