FREE FINANCIAL EDUCATION
Trailing stops
Update a trailing stop without loosening it under a ratchet rule.
What you will learn
Prerequisites: Stop orders, running extrema and daily-bar availability.
- Update a trailing stop without loosening it under a ratchet rule.
- Distinguish highest trade, highest close and volatility-based anchors.
- Avoid using a bar’s future high to stop out earlier within that bar.
Mechanism and decision rules
A trailing stop moves with favorable price development according to a declared rule. For a long position, a ratchet rule permits the stop to rise but not fall. The anchor might be the highest observed trade, highest completed close or a confirmed swing low. These alternatives use different information and should not be mixed after seeing the outcome.
A percentage trail can be written as max(previous stop, anchor × (1 − trail fraction)). A volatility trail can use an anchor minus a multiple of a causally available volatility estimate. The update schedule matters: a daily-close trail becomes effective after that close, while an intraday high-water trail requires event sequencing. A wider volatility estimate should not lower an existing ratchet stop unless the strategy explicitly allows loosening.
Worked example · synthetic data
A synthetic long position has an initial stop at ₹90 and a 10% trail from the highest completed close. Completed closes are ₹100, ₹110, ₹108 and ₹120. Stop candidates are 90, 99, 97.20 and 108; the ratcheted stops are 90, 99, 99 and 108.
If a daily bar trades to a high of ₹125 and a low of ₹105, a high-water trail of ₹112.50 may or may not have triggered that day depending on whether the high preceded the low. A daily OHLC bar alone does not supply the sequence. A close-based trail avoids that particular ambiguity by updating after the bar.
Failure modes and limits
A trailing stop gives back some unrealized gain by design and can exit during ordinary noise. It does not guarantee the stop price through overnight gaps. Optimizing a trail on one historical path can overfit. Report whether the anchor uses intraday trades, closes or delayed confirmed pivots.
Practice case
A long ratchet stop is ₹95. Highest completed close rises to ₹112 with a 12% trail, then the next close falls to ₹109. Compute the new stop after each close.
Reveal the worked answer
The candidate at ₹112 is 112 × 0.88 = ₹98.56, so the stop rises to ₹98.56. The subsequent lower close does not reduce the highest-close anchor; the stop remains ₹98.56. Even if a naive candidate were recomputed from ₹109, the ratchet would reject loosening.
Check your understanding
Sources and next steps
The lesson, calculations and synthetic cases are original educational material. References explain underlying contract or chart conventions; none validates the profitability of a trading rule. Actual contract specifications, settlement obligations and charges must be checked before trading.
Explore OHLCV data in the chart lab · Explore volume-at-price and TPO data · Practice library
