TITLE: Position Sizing When the Stop Is a Range, Not a Price
Most risk formulas assume a stop is a number: entry minus stop equals risk per unit. In practice a structural stop is a zone. You want out if price closes below the last swing low, but the swing low is a band, the spread moves, and the broker's minimum distance pushes the order a few points further. If you size on the near edge of that band, you systematically understate risk, and the understatement is largest exactly when it matters: in volatility, when the band is wide.
The correction is simple and rarely done. Separate two prices: the trigger and the invalidation. The trigger is where the idea is proven wrong for the first time, and it is what you watch. The invalidation is the far edge of the zone, plus the spread, plus a slippage allowance, and it is what you size on. On a typical swing structure the invalidation sits one to one and a half times the trigger distance beyond it, so sizing on the trigger understates risk by thirty to fifty percent. That is not a rounding error. It turns a nominal one percent risk into one and a half, and it does so most often in the trades that are already the most dangerous.
Do the arithmetic once, concretely. Account of ten thousand dollars, risk of one percent, so one hundred dollars at risk. Gold, contract size one hundred ounces, one dollar per point per lot. A stop distance measured from entry to invalidation of five dollars means five hundred dollars of risk per lot, so the position is zero point two lots. If you had sized on a trigger three dollars away you would have taken zero point three three lots, and your real risk on the wide edge would have been one hundred sixty five dollars, or one point six five percent. Nothing about the trade looked wrong. The error was in one subtraction.
Volatility makes the same error worse in a predictable way, because the width of a structural band scales with the average true range. If your median stop band is one ATR and today it is two and a half ATR, the same lot size carries two and a half times the risk. There are two defensible responses. The first keeps risk constant by dividing the lot by the band width, which is the textbook answer and shrinks positions exactly in the conditions where many strategies earn their money. The second, usually better for structural and discretionary systems, is to cap the band: if the band exceeds two times its own median, either skip the trade or halve the size regardless of the formula. The cap is a regime filter wearing a risk-management hat, and it removes the worst tail without gutting the good trades.
A worked comparison shows how the cap behaves. Take three trades on the same account. The first has an invalidation band of one ATR, which on gold at an ATR of two point five dollars means a band of two point five dollars plus eighteen points of spread and slippage, so about two point seven dollars. At one hundred dollars of risk, that is about zero point three seven lots, so the rounded size is zero point three seven. The second trade arrives at two and a half ATR, so a band of six point two five dollars plus costs, roughly six point five. The formula now says zero point one five lots, a fifty-nine percent reduction. The third arrives at four ATR, so a band of ten dollars plus costs: the cap says skip. Over a hundred trades, this rule costs you a handful of large-band trades that might have won, and it removes the trades that produce the fat left tail of the equity curve. In most samples the cap improves the drawdown more than it reduces the profit.
There is a second-order effect almost everyone misses: the trigger moves while the trade is open. Trailing to break-even is a change of invalidation, and if the invalidation moves without an adjustment in size, the risk profile changes silently. The clean way to think about it is that risk is defined at entry and is not re-underwritten later. A move to break-even is an exit improvement, not a size change. The moment you add to a position after moving the stop, the original calculation no longer describes the trade, and you need a fresh one, including the margin the larger position now consumes.
Contract specifications break more sizing calculations than bad math does. Three items to check before trusting any formula. First, tick value versus point value, which differ on symbols where the tick is not one point, and the difference is exactly the kind of silent factor-of-ten error that ruins accounts. Second, minimum and maximum lot, because a formula that wants zero point zero three lots on a broker whose minimum is zero point one cannot be executed, and any backtest that assumed otherwise is fiction. Third, the swap, because a position held for several days can pay more in carry than the stop costs, particularly on the short side of instruments with punitive financing.
Two margin effects are worth stating explicitly. Leverage does not change risk per trade, but it changes how many concurrent trades an account can carry, so a sizing rule that ignores free margin will produce orders that are rejected, not sized. And on a hedged account, the margin of the offsetting position is often reduced, which silently allows a second position to be opened that the risk model would not have permitted had it seen the true exposure.
The formula itself is one line, but the inputs are the hard part. Size equals the risk budget divided by the product of invalidation distance in price units, the tick value per lot per price unit, and the contract multiplier. Convert the invalidation distance to points at the symbol's own precision, then to money at the symbol's own tick value, and only then divide. Doing it in price units and converting the lot afterwards is the standard mistake, because the conversion factor depends on the symbol and on the account currency, and it changes when the broker changes the specification.
In MQL5 the implementation looks like this: take the risk budget in account currency, subtract commission and expected slippage, compute the stop distance from the invalidation price in points using the symbol's digit count, multiply by the tick value and divide by the tick size ratio, then round down to the lot step, and finally clamp with the symbol's minimum and maximum. Rounding down matters: rounding to nearest is how a zero point two three lot calculation becomes a zero point two five lot order and a five percent overshoot on every trade.
Two practical rules close the loop. First, compute the size twice, once from the invalidation and once from a hard maximum loss expressed as a percentage of equity, and take the smaller. The second computation catches specification errors because it does not depend on the band at all. Second, log the intended risk and the realised risk of every trade, where realised risk is the distance from entry to the stop as it stood when the position closed, priced at the fill. If the ratio of realised to intended drifts above one point two, something in the pipeline is wrong, usually a symbol specification change, a silent spread adjustment, or a broker-initiated stop modification.
None of this makes a bad strategy good. It makes a good strategy survivable, which is a different and more valuable property. A system with a true edge of zero point two R per trade dies from mis-sizing long before it dies from being wrong, and the death is usually quiet: a series of trades that each felt like one percent. Sizing on the wide edge of the zone costs you some position size on quiet days. It is the cheapest insurance in this entire business.


