Person Information: Trailing Cease Loss (TSL) Person Information – Buying and selling Methods – 17 February 2026


Trailing Cease Loss (TSL) Person Information

Desk of Contents

  1. What’s Trailing Cease Loss?
  2. Two TSL Strategies
  3. Enter Configuration Information
  4. How TSL Works — Sign Lifecycle
  5. Activation R:R Parameter — When Does TSL Begin?
  6. Actual-World Examples
  7. Incessantly Requested Questions (FAQ)
  8. Utilization Suggestions

1. What’s Trailing Cease Loss?

Common Cease Loss (SL) stays fastened in a single place. You set SL at 1990.00, and it stays there endlessly — even when value has risen to 2030.00.

Trailing Cease Loss (TSL) is totally different. It routinely strikes in your favor when value advances. As value strikes up, TSL strikes up with it. When value stalls or reverses, TSL holds the very best place it reached.

End result: you shield your earnings while not having to look at the chart.

Simple to Perceive Analogy

Consider TSL as a good friend strolling behind you at a set distance. As you progress ahead, they transfer ahead too — however they by no means step backward. In case you instantly flip and run backward, they stand nonetheless and block you.

What Drawback Does TSL Clear up?

State of affairs With out TSL With TSL
Value rises strongly then reverses instantly Order hits previous SL — loses full danger TSL has moved — exits with revenue
Value touches TP1, then falls beneath Entry Remaining revenue is given again TSL protects revenue behind TP1
Value runs far past all preset TPs Should watch and exit manually TSL auto-trails and exits on reversal

2. Two TSL Strategies

The system gives two methods to calculate TSL place. Each observe the advance-only, never-retreat rule — however they calculate otherwise.

Donchian TSL locations the trailing line on the precise market excessive or low within the final N candles.

  • BUY order: TSL = Lowest Low in final N candles
  • SELL order: TSL = Highest Excessive in final N candles

When value rises (BUY order), the bottom low of the final N candles additionally step by step will increase — as a result of previous candles (with decrease lows) drop out of the N-candle window. TSL routinely ratchets up step-by-step.

Benefits of Donchian TSL:

  • TSL sits at precise market help/resistance, not arbitrary numbers
  • Much less prone to be triggered by short-term value spikes with no technical significance
  • Excellent for structure-based buying and selling

Methodology 2: ATR TSL

ATR TSL calculates trailing place based mostly on common volatility at activation time.

  • BUY order: TSL = Highest value reached – (ATR × Multiplier)
  • SELL order: TSL = Lowest value reached + (ATR × Multiplier)

Key level: ATR is captured (frozen) at TSL activation time and doesn’t change afterward, even when market volatility will increase or decreases. This ensures constant and predictable trailing distance.

Benefits of ATR TSL:

  • Trailing distance is fastened and constant all through the commerce
  • Simple to foretell actual TSL degree at any value
  • Appropriate if you need danger management based mostly on market volatility

Fast Comparability of Two Strategies

Standards Donchian TSL ATR TSL
Calculation foundation Precise Excessive/Low of N candles Common volatility (ATR)
Does ATR replace constantly? N/A No — frozen at activation
Finest for Construction-based buying and selling Volatility-based buying and selling
Default? Sure (really useful) No
Important parameter Donchian Interval (default 20) ATR Multiplier (default 2.5)

3. Enter Configuration Information

All TSL parameters are within the “=== TRAILING STOP LOSS ===” group within the indicator’s Properties panel.

Find out how to open: Double-click the indicator on chart (or press F7) → “Inputs” tab → Scroll down to seek out TRAILING STOP LOSS group.

Full Parameters Desk

MT5 Show Title Sort Default Rationalization
Allow Trailing Cease Loss (auto-move SL) Toggle On (true) Allow or disable total TSL characteristic
TSL Methodology (Donchian channel or ATR) Choose Donchian Select how one can calculate trailing place
├─ Donchian Interval (5-100, 20=commonplace) Integer 20 Variety of candles to seek out Excessive/Low for Donchian TSL
├─ ATR Multiplier (x ATR, 2.5=commonplace) Float 2.5 Multiplier for ATR in ATR TSL
Begin Trailing at R:R (0=instantly) Float 0.0 Minimal R:R to achieve earlier than TSL begins trailing

Be aware: Parameters with  ├─  solely take impact when the corresponding TSL technique is chosen. If utilizing Donchian TSL, ATR Multiplier is ignored and vice versa.

Parameter-by-Parameter Information

Allow Trailing Cease Loss Disable this if you wish to handle SL fully manually. When disabled, static SL strains nonetheless show however do not transfer.

TSL Methodology Select Donchian when you commerce by market construction (swings, BOS, zones). Select ATR in order for you even, predictable trailing distance.

Donchian Interval (5–100) Variety of candles to scan for lowest low (BUY) or highest excessive (SELL). Smaller Interval → TSL nearer to cost, tighter trailing, simpler to set off early. Bigger Interval → TSL farther away, extra room for the order to breathe.

Interval Traits Finest For
5–10 Very tight trailing Scalping, fast revenue safety
15–25 Balanced (default 20) Most conditions, H1–H4
30–50 Wider trailing Swing buying and selling, D1
> 50 Very broad trailing Lengthy-term place buying and selling

ATR Multiplier (when utilizing ATR TSL) Multiplier to use to ATR to find out trailing distance. Default 2.5 — barely wider than preliminary ATR SL (usually 2.0), to keep away from trailing too tightly and exiting prematurely.

Begin Trailing at R:R See detailed rationalization in Part 5.


4. How TSL Works — Sign Lifecycle

TSL doesn’t activate instantly when a sign seems. It goes by 5 states over the sign’s lifecycle.

5 TSL States

(INACTIVE) –> (TRACKING) –> (HIT)

                    |

               (LOCKED)

                    |

               (EXPIRED)

State Which means Transition Situation
INACTIVE TSL registered, not but trailing Value hasn’t touched Entry, or Activation R:R not but reached
TRACKING Actively trailing — TSL strikes with value Value touches Entry AND Activation R:R reached (if set > 0)
LOCKED TSL locked at breakeven (disabled by default) When lockOnTP1 setting is enabled
HIT TSL touched — sign ends Value reverses and hits TSL line
EXPIRED Sign expired, TSL eliminated Sign exceeds wait time

Typical Lifecycle (BUY order instance)

Sign candle seems

        |

        v

(INACTIVE) — TSL registered, static SL displaying

        |

        | Value touches Entry

        v

(TRACKING) — TSL begins transferring up

        |

        | Value continues rising → TSL ratchets step-by-step

        | TSL: 1990 → 1998 → 2005 → 2012 → 2020

        |

        | Value reverses, falls and hits TSL line (2020)

        v

  (HIT) — Exit order at 2020 with revenueRatchet Rule — Advance Solely, By no means Retreat

That is TSL’s core rule. Irrespective of how a lot value oscillates backwards and forwards in between, TSL by no means retreats towards danger. It solely strikes when doing so improves your place.

BUY — TSL solely ratchets UP:

  Bar 1: TSL = 1990  ← preliminary set

  Bar 5: TSL = 1995  ← enhance as a result of value rose

  Bar 8: TSL = 1995  ← value fell barely, TSL DOES NOT lower

  Bar 12: TSL = 2002 ← value rose once more, TSL will increase

SELL — TSL solely ratchets DOWN:

  Identical logic however in other way.

Visible Show on Chart

State TSL Line Shade Image
INACTIVE Not displayed
TRACKING (BUY) Orange — staircase None
TRACKING (SELL) Yellow — staircase None
LOCKED Lime Inexperienced None
HIT X mark at hit level

Orange symbolizes motion and vitality. Lime inexperienced when LOCKED indicators security — revenue protected.


5. Activation R:R Parameter — When Does TSL Begin?

Drawback When TSL Begins Instantly

If TSL begins trailing proper if you enter (Activation R:R = 0), within the early stage of the commerce when value has simply touched Entry and remains to be oscillating, TSL might be triggered by regular pullbacks — even when the sign remains to be legitimate.

How Activation R:R Works

The “Begin Trailing at R:R” parameter (default 0.0) means that you can delay TSL till the commerce has reached a sure revenue degree.

Activation R:R = 0.0 (default)

→ TSL begins IMMEDIATELY when value touches Entry

→ Finest if you need most safety from the beginning

Activation R:R = 1.0

→ TSL solely begins when value reaches R:R 1:1 (revenue equals danger)

→ Avoids being triggered by early pullbacks

Activation R:R = 0.5

→ TSL begins when value reaches half of danger quantity

→ Balances early safety with avoiding untimely set off

Instance Walkthrough

BUY XAUUSD order:

Entry:  2010.00

SL:     1995.00

Danger (R) = 15.00 USD

Activation R:R = 1.0 → TSL prompts when value reaches:

2010.00 + 15.00 × 1.0 = 2025.00

Earlier than value reaches 2025.00:

→ TSL is in INACTIVE state, doesn’t transfer

→ SL stays at 1995.00

When value touches 2025.00:

→ TSL switches to TRACKING

→ Begins trailing from present Donchian/ATR placeWhen Ought to You Use Activation R:R > 0?

State of affairs Beneficial Setting
Normal technique, need early safety 0.0 (default)
Market tends to pullback after Entry 0.5 — 1.0
Need TSL to guard solely actual earnings 1.0
Swing buying and selling, longer-term trades 1.0 — 2.0

6. Actual-World Examples

Instance 1: BUY Order with Donchian TSL

Situation: BUY sign seems on XAUUSD H1. TSL Methodology = Donchian, Interval = 20, Activation R:R = 0.0.

Preliminary Parameters:

Entry:   2010.00

SL:      1995.00

Danger (R) = 15.00 USD

TP1:     2025.00 (R:R 1.0)

TP2:     2040.00 (R:R 2.0)TSL Evolution by Part:

Bar Shut Value Donchian Low (20 candles) TSL Place State
Entry 2010.00 1995.00 1995.00 TRACKING begins
+5 2018.00 1997.00 1997.00 Path up +2.00
+10 2025.00 (TP1 hit) 2001.00 2001.00 Path up +4.00
+15 2031.00 2006.00 2006.00 Path up +5.00
+18 2027.00 2006.00 2006.00 Value falls — TSL HOLDS
+22 2038.00 (TP2 hit) 2010.00 2010.00 Path up +4.00
+25 2044.00 2015.00 2015.00 Path up +5.00
+28 2016.00 2015.00 Value drops sharply, hits TSL
HIT 2015.00 Exit at +5.00 USD revenue

End result: Order exits at 2015.00 — revenue 5.00 USD/oz regardless that value did not attain TP3/TP4. With out TSL, the static SL at 1995.00 would have been hit when value fell to 2016 (loss 5.00 USD/oz). TSL turned a dropping commerce right into a profitable one.


Instance 2: SELL Order with ATR TSL

Situation: SELL sign on XAUUSD H1. TSL Methodology = ATR, ATR Multiplier = 2.5, ATR at activation time = 8.00 USD. Activation R:R = 1.0.

Preliminary Parameters:

Entry:    2050.00

SL:       2063.00

Danger (R) = 13.00 USD

TP1:      2037.00 (R:R 1.0)

Activation degree = 2050.00 – 13.00 × 1.0 = 2037.00

ATR Trailing distance = 8.00 × 2.5 = 20.00 USD (frozen right here)

TSL Evolution:

Bar Shut Value Lowest Value Seen TSL Place State
Entry 2050.00 2050.00 INACTIVE (ready for R:R 1.0)
+8 2037.00 (TP1 hit) 2037.00 2037.00 + 20 = 2057.00 TRACKING prompts
+12 2030.00 2030.00 2030.00 + 20 = 2050.00 Path down
+16 2022.00 2022.00 2022.00 + 20 = 2042.00 Path down
+20 2028.00 2022.00 2042.00 Value recovers — TSL HOLDS
+23 2043.00 2022.00 2042.00 Value continues up, hits TSL
HIT 2042.00 Exit at -8.00 USD revenue

End result: SELL order exits at 2042.00 — revenue 8.00 USD/oz (from Entry 2050.00). ATR trailing distance stayed fastened at 20 pips all through the commerce due to the freeze mechanism at activation.


7. Incessantly Requested Questions (FAQ)

Q1: Does TSL fully exchange the preliminary SL?

No. TSL dietary supplements the preliminary SL, it doesn’t exchange it. When a brand new sign seems, the static SL is ready instantly to guard in case value by no means touches Entry. When value enters the commerce and TSL begins trailing, TSL step by step takes over the safety function. If TSL hasn’t moved far sufficient to be higher than static SL, the static SL stays the first safety.


Q2: Does TSL routinely place an actual order on MT5?

No. That is an indicator (not an EA/robotic). The TSL line on the chart is a visible information on your reference — you set the SL manually based on it. The system tracks and calculates, however doesn’t place orders routinely. To automate, you would want a separate EA integration.


Q3: Does TSL proceed trailing in spite of everything TPs are hit?

Sure. TSL continues trailing even after TP1/TP2/TP3/TP4 are all hit. That is the mechanism to catch trades that run additional than anticipated. TSL solely stops when hit (HIT state) or sign expires (EXPIRED state).


This fall: Is the TSL Donchian Interval the identical because the preliminary SL Donchian Interval?

No. TSL makes use of an impartial Donchian calculation, fully separate from the preliminary SL. You should utilize Interval 20 for preliminary SL and Interval 10 for TSL — or vice versa. These two parameters do not have an effect on one another.


Q5: Why does the TSL line generally soar a big step unexpectedly?

With Donchian TSL, when an previous candle with very low low (outlier) drops out of the N-candle window, Donchian Low jumps up. That is regular and proper conduct — TSL displays the precise construction inside the present N-candle window. If the soar feels too massive, strive growing Interval or change to ATR TSL.


Q6: How does TSL LOCKED state work?

LOCKED state happens when TSL is locked at breakeven. This characteristic is disabled by default. When enabled (lockOnTP1), after TP1 is hit, TSL routinely locks at Entry — making certain the commerce can not lose. The TSL line turns lime inexperienced to sign security state.


Q7: What occurs if I disable TSL mid-trade?

In case you disable “Allow Trailing Cease Loss” whereas a sign is TRACKING, TSL stops transferring instantly. The TSL line disappears from the chart. The preliminary static SL is just not routinely restored. Advice: do not disable TSL whereas a commerce is operating.


8. Utilization Suggestions

Tip 1: Begin with Donchian Interval 20 and Do not Change Too Rapidly

The default settings (Donchian Interval 20, Activation R:R 0.0) are designed to work nicely on H1–H4. Observe precise conduct for no less than 2–3 weeks earlier than adjusting. Altering too rapidly based mostly on just a few trades does not present dependable statistics.

Tip 2: Use Activation R:R = 1.0 on Pullback-Inclined Markets

XAUUSD typically has sturdy pullbacks proper after Entry. In case you see TSL triggered shortly after Entry regardless of legitimate indicators, strive setting Activation R:R = 1.0. TSL will keep put till the commerce is 1R in revenue, then begin defending.

Tip 3: Use ATR TSL Throughout Excessive Volatility Classes

London session (14:00–17:00 VN) and New York session (20:00–23:00 VN) typically have brief spikes unrelated to construction. Donchian TSL might be triggered by such spikes. Throughout these periods, ATR TSL with Multiplier 2.5–3.0 gives extra even trailing, much less false triggers.

Tip 4: Examine TSL Statistics on Dashboard Commonly

The dashboard shows Wins/Losses/Internet Pips particularly for TSL. If TSL Losses > Wins, take into account growing Donchian Interval (TSL is simply too tight) or growing Activation R:R (TSL triggers too early). If Internet Pips is adverse regardless of Wins > Losses, TSL is exiting too early — strive growing Interval to present the commerce extra room.

Tip 5: Mix TSL with Partial Closing Technique

TSL works finest mixed with a partial closing technique:

TP1 hit: Manually shut 25% place → cut back danger

TP2 hit: Shut one other 25%        → revenue secured

TP3+:    Let TSL handle the rest — catch greater strikes

→ End result: by no means lose all earnings

          whereas capturing prolonged traits

Fast Abstract

=== TRAILING STOP LOSS — QUICK REFERENCE ===

Allow/Disable:  Allow Trailing Cease Loss = true/false

Methodology:

  Donchian TSL  →  TSL at precise Excessive/Low (structure-based, default)

  ATR TSL       →  TSL by fastened volatility (ATR frozen at activation)

Activation:

  Activation R:R = 0.0  →  Begin trailing instantly on Entry

  Activation R:R = 1.0  →  Wait till commerce is 1R revenue, then path

Core Rule:

  TSL solely advances towards revenue — NEVER retreats

Line Colours:

  BUY  →  Orange

  SELL →  Yellow

  LOCKED → Lime Inexperienced

States: INACTIVE → TRACKING → HIT (or EXPIRED)

This documentation applies to model 1.15. Final up to date: 2026-02-17. Creator: Ich Khiem Nguyen — https://www.mql5.com/en/customers/khiemni/vendor All rights reserved.



Supply hyperlink

Leave a Comment

Discover more from Education for All

Subscribe now to keep reading and get access to the full archive.

Continue reading