4A.6 Stops and targets as barrier problems
Motivation
Every swing system (M04 · 4.2) has a stop and many have a target. The questions a trader asks ("How often will this stop be hit? How long will the trade last? Does a 2:1 target improve my system?") have exact answers in the simplest model of prices. The answers are sobering and useful.
4A.6.1Hit probabilities of a bracket#
Setup
Measure P&L per unit from entry: , , with in trading days and in rupees (or, for percentage stops, in log-return units). A bracket has a target at and a stop at , . Let
Brownian motion with drift is the model of M02 and M08 for log prices over horizons where the drift is roughly constant. Every result below assumes continuous monitoring; discrete monitoring is treated at the end of the section. almost surely, and indeed (a Brownian motion leaves any bounded interval in finite expected time; the formulas below show it).
Proposition 4A.6driftless bracket
If , then .
Proof
is a martingale and . By optional stopping (bounded stopped martingale, a.s.), .∎
This is the continuous version of the gambler's ruin of M03 · 3.6, and it already contains the main lesson: in a driftless market, the hit probability is fixed by the geometry. A target twice as far as the stop is hit one time in three, whatever the chart looked like at entry.
Proposition 4A.7bracket with drift
For put . Then
As , . For a symmetric bracket , .
Proof
Let (the scale function). By Itô's lemma, . The drift term vanishes because when . So is a bounded martingale, and optional stopping gives , i.e. . Solve for . For the limit, expand numerator and denominator to first order in : . For : .∎
4A.6.2Exit time and expectancy#
Proposition 4A.8expected time to exit
If , . If ,
Proof
For : is a martingale. Optional stopping at gives , so by monotone convergence , and then bounded convergence on the left gives . With this is . For : is a martingale; optional stopping at gives , so and by monotone convergence; bounded convergence then gives , and .∎
Proposition 4A.9exits do not create expectancy
Let be any stopping time with (a bracket, a trailing stop, a time stop, a discretionary exit that uses only past prices). Then
In particular, if every exit rule has zero expectancy, and the R-multiple expectancy of a bracket with and is .
Proof
is a martingale. For bounded , optional stopping gives . For general with , apply it to and let : , so is bounded in , hence uniformly integrable, and .∎
Read (4A.8) as: expectancy = drift × expected time in the trade. The exit rule chooses the shape of the P&L distribution (win rate, payoff ratio, skew) and the time spent exposed. It cannot change the sign of the expectancy, and it changes the size only through . A "2:1 reward-to-risk" rule is not an edge; with no drift, it buys a 2:1 payoff with a 1-in-3 win rate.
Worked example 4A.5a swing trade, in rupees
A stock at ₹1,000 with daily volatility 2% (₹20 a day). Stop ₹960 (, so 1R = ₹40 per share), target ₹1,080 (, 2R).
- No drift: ; trading days; expectancy 0.
- Drift a day (0.1% a day, about 25% a year: a strong momentum edge): , ; days; expectancy per share .
- Drift a day: ; days; expectancy .
A large edge moves the win rate of a 2:1 bracket from 33% to 40%. Over the 7–8 days of a typical trade, Indian delivery costs of about 24 bp round trip (M01: ₹237.82 on ₹1 lakh) are ₹2.4 per share here, a third of the expectancy. Win rates in the high 30s with average winners near 2R, the profile of the swing traders in M04 · 4.2.5, are what a real but modest drift looks like through a bracket.
4A.6.3Stop-outs over a horizon#
Proposition 4A.10probability of being stopped out over a horizon
For a stop at and no target,
For this is . For and it tends to ; for it tends to 1.
Proof
For this is the reflection principle. For , change measure with Girsanov's theorem: under with , is a standard Brownian motion, and the joint density of under follows from reflection. Multiplying by the likelihood ratio and integrating over gives (4A.9); the computation is in Karlin and Taylor (1975), ch. 7, and Shreve, Stochastic Calculus for Finance II, 7.2. The limits follow from .∎
Table 4A.1 (driftless stop-out probabilities) Stop distance in multiples of the daily standard deviation, horizon trading days; entries .
| \ | 1 | 5 | 10 | 20 | 60 |
|---|---|---|---|---|---|
| 0.5 | 0.617 | 0.823 | 0.874 | 0.911 | 0.949 |
| 1 | 0.317 | 0.655 | 0.752 | 0.823 | 0.897 |
| 1.5 | 0.134 | 0.502 | 0.635 | 0.737 | 0.846 |
| 2 | 0.046 | 0.371 | 0.527 | 0.655 | 0.796 |
| 3 | 0.003 | 0.180 | 0.343 | 0.502 | 0.699 |
A stop one daily standard deviation away is hit within a month (20 days) 82% of the time on pure noise. "My stops keep getting hit" is usually this table, not stop-hunting. The table also shows the trade-off: a tighter stop allows a larger position for the same rupee risk (M03 · 3.9), but buys a much higher probability of being shaken out before the thesis has time to work.
4A.6.4Closing-basis stops#
Discrete monitoring A closing-basis stop (exit if the day closes below the level) or any stop checked on a grid of step misses intraday touches. Broadie, Glasserman and Kou ("A continuity correction for discrete barrier options", Mathematical Finance 7(4), 1997, 325–349) showed that a barrier monitored every is approximated, to , by a continuously monitored barrier moved away from the start by
A closing-basis stop with daily volatility therefore behaves like an intraday stop placed further away. The same constant gives the expected overshoot: a discretely monitored barrier is crossed, on average, about beyond the level. That is the expected gap-through slippage of a closing-basis stop. The code (m04a_barriers) checks the corrected formulas against simulation; with the corrected two-barrier probability matches the simulated one within Monte Carlo error.
Practitioner notes
- Choose the stop where the trade idea is wrong, then set position size from it (M03 · 3.9). Do not choose the stop from the position size you would like.
- Targets are optional. By (4A.8) a target only shortens and so cuts expectancy when ; its use is to lock in the payoff distribution you want (for example, a fixed 2R to keep variance bounded) and to free capital.
- Intraday stops on NSE: the pre-open does not accept stop-loss orders (M01 · 1.2), so a stop entered overnight becomes active only in the continuous session, after the open has printed.