100 shares bought at $100 closed at $130 after 16 trading days. The stop-loss level is still the original $94. Left as is, the position could give back up to (130 − 94) × 100 = $3,600 from its current value. You feel the level should be raised, but nothing has been decided on how, by how much, or when to change the order.
Lesson 272 covered the questions to ask before selling a stock in profit, and Lesson 253 covered setting stop distance with ATR. This lesson applies four trailing stops (exit levels that rise with the price and never fall) to the same price path. It compares when and at what price each one sells, and sets two rules: levels are calculated only after the close is final and applied to the next trading day's order, and orders are changed in a fixed sequence.
1. Compare on the same trade and the same price path
The trade and prices below are all hypothetical. The entry conditions and costs are the same as in Lesson 292.
| Item | Assumption |
|---|---|
| Entry | 100 shares at $100 on day 0 |
| Initial stop-loss level | $94 |
| Initial price risk R0 | (100 − 94) × 100 = $600 |
| Commission | $20 round trip for 100 shares |
| Time of judgment | Every day after the close, once the close is final |
Results are written in R: net profit after commissions divided by R0. Taxes and exchange rates are left out.
Below are daily prices for 22 trading days. ATR is the 14-day average true range, assumed to have been calculated by the method of Lesson 253. The opens on the days that decide the results are $109.00 on day 10, $128.20 on day 20, $122.60 on day 21 and $115.00 on day 22. On all other days, the open was well above the level set the day before.
| Trading day | High | Low | Close | ATR |
|---|---|---|---|---|
| Day 0 | 101.00 | 98.50 | 100.00 | 3.00 |
| Day 1 | 103.00 | 99.60 | 102.50 | 3.00 |
| Day 2 | 105.00 | 102.00 | 104.60 | 3.00 |
| Day 3 | 105.50 | 101.50 | 102.20 | 3.10 |
| Day 4 | 104.00 | 100.80 | 103.50 | 3.10 |
| Day 5 | 108.00 | 103.20 | 107.60 | 3.20 |
| Day 6 | 111.00 | 107.00 | 110.40 | 3.30 |
| Day 7 | 113.50 | 109.80 | 112.90 | 3.30 |
| Day 8 | 114.00 | 110.20 | 111.00 | 3.30 |
| Day 9 | 112.50 | 108.60 | 109.20 | 3.40 |
| Day 10 | 113.00 | 108.40 | 112.60 | 3.50 |
| Day 11 | 116.50 | 112.00 | 116.00 | 3.50 |
| Day 12 | 119.50 | 115.60 | 119.00 | 3.60 |
| Day 13 | 122.00 | 118.40 | 121.40 | 3.60 |
| Day 14 | 125.00 | 121.00 | 124.60 | 3.60 |
| Day 15 | 127.80 | 124.20 | 127.20 | 3.60 |
| Day 16 | 130.60 | 126.80 | 130.00 | 3.60 |
| Day 17 | 130.40 | 126.40 | 127.00 | 3.60 |
| Day 18 | 127.60 | 124.00 | 125.20 | 3.60 |
| Day 19 | 128.60 | 124.80 | 128.00 | 3.60 |
| Day 20 | 131.40 | 120.00 | 123.80 | 4.20 |
| Day 21 | 123.20 | 118.60 | 119.40 | 4.30 |
| Day 22 | 116.50 | 113.50 | 114.20 | 4.40 |
2. Write the four methods as close-based rules
The four methods follow common rules. The level is calculated after the close using only prices final up to that day, and applies from the next trading day. If the new value is below the current level, the level is not lowered. The starting point is the initial stop-loss level of $94.
- Percentage below the high: highest close since entry × 0.90, that is 10% below the highest close
- ATR multiple: highest close since entry − 3 × that day's ATR
- Moving average: if the close ends below the average of the last 5 closes (5-day moving average), sell everything at the next trading day's open; until then keep the $94 level
- Confirmed low: by Lesson 243's rule, a day whose low is lower than the bars before and after it is a low; once confirmed after the next day's close, its low becomes the level
Prices before day 0 are not in the table, so the 5-day moving average is calculated from the day 4 close, when five closes are available. The 10%, 3x and 5 days were chosen for comparison. They are examples of how such rules are set, not a claim that these numbers are good. No buffer was placed below the confirmed low; Lesson 283 covers how to set a buffer.
The first three methods become the price of a stop-loss order placed in advance. The moving-average method can only see its signal after the close, so it becomes a sell order placed the next day. Section 6 comes back to this difference in order handling.
Fills are assumed as follows. If the day's low reaches the level or below, the order fills at the level; if the open is already below the level, it fills at the open. Real stop-loss orders can fill below the level, but this calculation does not include that difference.
3. Each method raises its level in a different shape
The day 16 close of $130 is the highest close on this path. The calculations after the day 16 close are:
- Percentage below the high: 130 × 0.90 = $117.00
- ATR multiple: 130 − 3 × 3.60 = $119.20
- Confirmed low: the most recent confirmed low, the day 10 low of $108.40 (confirmed after the day 11 close)
The percentage and ATR methods rise a little each time a new highest close appears. Through day 16, both changed their level ten times. The confirmed-low method changed only three times, on day 5 (day 4 low of $100.80 confirmed), day 11 (day 10 low of $108.40 confirmed) and day 19 (day 18 low of $124.00 confirmed), but each move was large.
Calculating what each method could give back from the $13,000 market value at the day 16 close shows the difference.
| Method | Level after day 16 close | Amount that could be given back from $130 |
|---|---|---|
| 10% below the high | $117.00 | (130 − 117) × 100 = $1,300 |
| 3x ATR | $119.20 | (130 − 119.20) × 100 = $1,080 |
| Confirmed low | $108.40 | (130 − 108.40) × 100 = $2,160 |
The confirmed-low method lags in a strong rise. From day 11 to day 16, as the close went from $116 to $130, the low rose every day, so no new low formed. When the day 18 low of $124.00 appeared and was confirmed on day 19, the level jumped to $124 at once.
The moving-average method has no price set in advance. After the day 9 close, the 5-day average is (107.60 + 110.40 + 112.90 + 111.00 + 109.20) ÷ 5 = $110.22, and the close of $109.20 is below it. So the position is sold at the day 10 open of $109.00. The selling price is set by the open on the day after the signal.
After the day 20 close, ATR grew to $4.20, so the ATR method's calculated value fell to 130 − 3 × 4.20 = $117.40. The level is never lowered, so it stays at $119.20. Lowering the level because volatility rose would mean giving back more the more the price swings.
4. On the same path, the four methods give different results
| Method | Exit day and fill price | Net profit | R |
|---|---|---|---|
| 5-day moving average | Day 10 open, $109.00 | (109 − 100) × 100 − 20 = $880 | about 1.47R |
| Confirmed low | Day 20, $124.00 | (124 − 100) × 100 − 20 = $2,380 | about 3.97R |
| 3x ATR | Day 21, $119.20 | (119.20 − 100) × 100 − 20 = $1,900 | about 3.17R |
| 10% below the high | Day 22 open, $115.00 | (115 − 100) × 100 − 20 = $1,480 | about 2.47R |

The confirmed-low method fills as the day 20 low of $120.00 passes through the $124 level. The ATR method fills when the day 21 low of $118.60 reaches the $119.20 level. The 10%-below-the-high method fills at the day 22 open of $115.00, $2 below the $117 level. On 100 shares, that is $200. A stop-loss level is a price for closing a judgment, not a guaranteed fill price.
The moving-average method sold first. It reacted to the small pullback on day 9 and missed the rise to $130 that followed. With no price to place in advance, it must accept a low open on the day after a signal.
This result does not mean the confirmed-low method is best. This path fell three days in a row from day 20, so the method with the highest level at that point did best. Had the price dipped briefly below $124 after day 19 and then risen again, the confirmed-low method would have sold first and the others would have ridden the rise further. One path shows a policy's character, not evidence of which is better.
When choosing, look at when each method's level becomes tight. The percentage and ATR methods follow evenly throughout the rise. The confirmed-low method climbs in steps each time a low is confirmed. The 5-day moving-average method reacts even to short pullbacks. Pick one that fits the size of pullback you can bear and an order method you can manage, and test it separately on prices from other periods.
5. Changing the level on an intraday high uses future information
On day 20 the price rose to $131.40 during the day, fell to $120.00 and closed at $123.80. Raising the ATR level as soon as the intraday high appears gives 131.40 − 3 × 3.60 = $120.60. That day's low of $120.00 is below it, so a calculation on daily bars records a sale on day 20 at $120.60. It looks (120.60 − 119.20) × 100 = $140 better than the day 21 sale at $119.20 under the close rule.
This record uses information not in a daily bar. A daily bar alone cannot show whether the high or the low came first. If the price fell to $120 in the morning and then rose to $131.40, the level at the moment of the low was $119.20, and the order did not execute. The calculation in effect assumed the high came first. As trades pile up, assumptions like this make test results look better than reality. This is the use of future information seen in Lesson 475.
In real trading too, raising the level during the session while watching the screen makes the record and the rule disagree. If you want to use the high, calculate with the high confirmed after the close and apply it from the next trading day. The same goes for confirmed lows. Using the day 18 low as the level right at the day 18 close acts as if the day 19 low, which has not yet happened, were known.
6. Change orders once after the close, and only to raise them
The US regular session opens at 9:30 a.m. and closes at 4:00 p.m. US Eastern Time (ET). The close is final at 4:00 p.m. ET; convert this to your local time, keeping in mind that the gap shifts by one hour when US daylight saving time starts or ends. After that, calculate the level and finish arranging orders before the next regular session opens at 9:30 a.m. ET.
The sequence for changing orders can be set, for example, like this:
- After the close, recalculate the level and change it only if it is higher than the current level.
- Cancel the existing stop-loss order and place it again at the new price. Check that the cancellation is complete and that the order quantity equals the holding. If part was sold, as in Lesson 292, reduce it to the remaining quantity.
- If the moving-average signal appears, cancel the stop-loss order and place a sell order for the start of the next regular session.
- On days with a big event such as an earnings release, the level cannot prevent a gap, so judge separately with Lesson 276's event-loss budget.
A stop order becomes a market order when the level is reached, so the fill price can differ a lot from the level. A stop-limit order sets a price but may not fill. Check whether your broker offers these orders and whether they are valid for one day only. A one-day order must be placed again every day. A trailing order that raises the level automatically with the market price uses intraday prices, so if you use one, record it as a different rule from this lesson's close rule.
If changing the order every time the level rises a little is a burden, you can set, for example, a rule to change it only when the level rises by $1 or more. Write such rules down before buying too, and apply them the same way when testing.
After day 16 close. Highest close 130, ATR 3.60. 3x ATR level 116.40 → 119.20; 100-share stop-loss order amended; amendment confirmed before the day 17 regular session.
The record for this lesson is the trailing-stop policy table and the order change log. The policy table holds the method and numbers, the calculation time, the start date and the order type. Each time the level is recalculated, add one line with the date, the old and new levels, and whether the order was amended.
Try it yourself
- If the percentage below the high is 8% instead of 10%, what is the level after the day 16 close, when and at what price does it sell, and what are the net profit and R?
- If the ATR multiple is 2x instead of 3x, what are the level after the day 16 close and the exit result?
- The day 19 close is $128. Using each level after the day 19 close for the 10%-below-the-high, 3x ATR and confirmed-low methods, how much could each give back from the market value?
- Write one line of the order log for the 10%-below-the-high method after the day 21 close. Also note what could happen the next day.
Answers
First, 130 × 0.92 = $119.60. Before that, no day's low reached the level. The lows of days 17-20 are all above $119.60, and the day 21 low of $118.60 reaches the level, so it sells at $119.60. Net profit is (119.60 − 100) × 100 − 20 = $1,940, and 1,940 ÷ 600 = about 3.23R. Narrowing the percentage helped on this path, but it also raises the chance of being sold first on a short swing.
Second, 130 − 2 × 3.60 = $122.80. The lows of days 17-19 are above it, and the day 20 low of $120.00 reaches it, so it sells at $122.80. Net profit is (122.80 − 100) × 100 − 20 = $2,260, and 2,260 ÷ 600 = about 3.77R. No day reached the level before that.
Third, 10% below the high gives (128 − 117) × 100 = $1,100, 3x ATR gives (128 − 119.20) × 100 = $880, and the confirmed low gives (128 − 124) × 100 = $400. On day 16 the confirmed-low method could give back the most, but once the day 18 low was confirmed, it became the method that gives back the least.
Fourth, for example: "After day 21 close. Highest close 130, level 117.00 kept, no order amendment. Close 119.40 is $2.40 above the level; if the open is below the level, it may fill near the open." Keep a record that you checked even on days the level did not change. On this path, day 22 opened at $115.00 and sold $2 below the level.
