CryptoPaperTrading

How does a trailing stop work, and how wide should the trail be?

A trailing stop loss is a stop that moves with the price in your favour and closes the position once the price pulls back by a set percentage from its best level. It never moves against you, so it can lock in part of a gain without you having to watch the chart. The hard part is not the mechanics but choosing a trail that is wide enough to survive normal swings and tight enough to keep most of the move.

How a trailing stop moves

A normal stop-loss sits at one fixed price. A trailing stop is defined by a distance instead, here a percentage. The simulator remembers the best price seen since the trail was set (the highest price for a long, the lowest for a short) and keeps the stop that percentage away from it.

Long:  trailing stop = best high since set x (1 - trail %)
Short: trailing stop = best low since set x (1 + trail %)

Because the reference starts at your entry (or at the current price, if you add the trail later), a fresh trailing stop begins life as an ordinary stop-loss placed trail % away. It only starts protecting profit once the price has moved further in your favour than the trail itself.

Worked example: a long ETH trade with a 5% trail

Say ETH is at $3,000 and you open a 1 ETH long at 10x on the futures simulator with a 5% trailing stop. The numbers below are illustrative, not a forecast.

StepPriceBest price so farTrailing stop
Entry$3,000$3,000$2,850
Rally$3,200$3,200$3,040
Dip$3,100$3,200$3,040 (unchanged)
New high$3,400$3,400$3,230
Pullback$3,230$3,400Triggered, position closed

The dip to $3,100 did nothing because it was only about 3.1% off the high. The later fall from $3,400 to $3,230 was exactly 5%, so the trail fired. Now the result, using the site's 0.05% taker fee on both the open and the close:

Gross P&L  = (3,230 - 3,000) x 1        = $230.00
Open fee   = 3,000 x 0.05%              = $1.50
Close fee  = 3,230 x 0.05%              = $1.62 (1.615)
Net P&L    = 230.00 - 1.50 - 1.615      = $226.89

Margin on this position is $300 (3,000 / 10), so the trade returned about 75.6% on margin. Note what the trail did not do: it did not sell at the top. A trailing stop always gives back at least the trail distance from the peak, here $170 per ETH. That is the price of not having to guess the top.

Check the downside too. At 10x the liquidation price for this long is (3,000 - 300) / (1 x 0.995) = $2,713.57. The starting trailing stop at $2,850 sits comfortably before it, so the stop would act first if the trade went wrong straight away.

The same trailing stop on a short

On a short the logic flips: the reference tracks the lowest price and the stop sits above it. Say BTC is at $60,000 and you short 0.05 BTC with a 3% trail.

  1. At entry the stop is 60,000 x 1.03 = $61,800.
  2. BTC falls to $55,000. The stop follows down to 55,000 x 1.03 = $56,650.
  3. BTC bounces to $56,650 and the short is closed.
  4. Gross P&L = (60,000 - 56,650) x 0.05 = $167.50.
  5. Fees = 3,000 x 0.05% + 2,832.50 x 0.05% = $1.50 + $1.42 = $2.92, so net P&L is about $164.58.

If you are new to the mechanics of profiting from a fall, read how to short crypto first.

Choosing the trail percentage

The trail is a trade-off. Too tight and normal noise stops you out early; too wide and you hand back a large slice of the move. Here is one illustrative price path for a long entered at $100, run with three different trails:

Price path: 100, 110, 104, 120, 1083% trail8% trail15% trail
Stop after the $110 high$106.70$101.20$93.50
Dip to $104Stopped out near $106.70SurvivesSurvives
Stop after the $120 highAlready closed$110.40$102.00
Drop to $108Already closedStopped out near $110.40Still open
ResultAbout +6.7%About +10.4%Open, could give back to $102

No trail wins on every path, and on a different path the 3% trail could easily come out ahead. What matters is matching the trail to how the coin normally moves. A practical way to pick one:

  1. Look at recent swings on the chart and note how deep the ordinary pullbacks are on the timeframe you trade. A trail tighter than those pullbacks will be hit by noise.
  2. Set the trail a little wider than a typical pullback. More volatile coins usually need a wider percentage than BTC for the same holding period.
  3. Treat the starting trail as your initial risk: a 5% trail on a $3,000 position risks about $150 plus fees. Size the position so that loss fits your plan, using the position size calculator.
  4. Record the trail and the outcome in a trading journal and review after 20 or so trades. Count how often you were stopped out just before the move continued.

On this site the trail must be between 0.1% and 50%. The order panel offers quick picks of 0.5%, 1%, 2% and 5%, but you can type any value in that range.

Leverage limits how wide the trail can be

With leverage, the starting trailing stop must sit before your liquidation price or it is useless. For a fresh isolated position, liquidation is roughly (1/L - 0.5%) away from entry, using the site's 0.5% maintenance margin rate:

LeverageApprox. distance to liquidationDoes a 5% starting trail fit?
2x49.5%Yes, with lots of room
5x19.5%Yes
10x9.5%Yes
20x4.5%No, liquidation comes first
25x3.5%No, liquidation comes first

So a 5% trail on a 20x long would never get the chance to fire on an immediate drop: the position would be liquidated at about 4.5% first. If the trail you need for the coin's normal swings is wider than leverage allows, lower the leverage rather than squeezing the trail. The liquidation price calculator gives the exact level, and the article on leverage and margin explains why.

How trailing stops work on CryptoPaperTrading

To practise, sign up for the free $10,000 virtual balance, open a small position on the trade page and watch the trail level update in the positions table as the price moves.

Common trailing stop mistakes

Frequently asked questions

What is a good trailing stop percentage for crypto?

There is no single right number. Pick a trail slightly wider than the coin's normal pullbacks on your timeframe, and make sure the starting stop sits before your liquidation price.

Does a trailing stop ever move down on a long?

No. It only moves up as the price makes new highs and stays put when the price falls; on a short it only moves down. The one exception is when you change the trail yourself, which re-arms it from the current price.

Can I use a trailing stop on spot trades here?

Not at the moment. Trailing stops are available on perpetual futures; spot supports market, limit and stop orders.

Can I combine a trailing stop with a stop-loss and take-profit?

Yes. A futures position can carry all three, and whichever level the price reaches first closes the position.

What happens if I change the trail on an open position?

The trail re-arms from the current price with the new percentage, so the best price seen before the change is forgotten.

Is this real money?

No. CryptoPaperTrading is a simulator with a $10,000 virtual balance on live prices. Nothing you do here involves real funds.

Practise this: Practise in the crypto trading simulator with $10,000 in virtual USD.