Advertisement IC Markets

Limit targets fill at your price, stops fill at the next one: what that costs per trade

Compare ECN/Raw spread brokers, analyze execution speeds, report slippage, and evaluate commission structures for high-frequency traders.
Post Reply
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Limit targets fill at your price, stops fill at the next one: what that costs per trade

Post by Fairman »

Limit targets fill at your price, stops fill at the next one: what that costs per trade

A take profit is a limit order and a stop loss is a stop order, and the two don't get the same treatment when the market is moving. A limit fills at its price or better. A stop becomes a market order once touched, so it fills at whatever is available next.

Here is the effect with made-up numbers: a 10 pip stop, a 15 pip target, a 45% win rate and an average stop slippage of 0.4 pips. The targets fill at exactly 15 pips because there's no price improvement in my sample. The losing trades, which are 55% of the total, average 10.4 pips.

Expectancy with perfect fills: 0.45 x 15 minus 0.55 x 10 = 6.75 minus 5.50 = 1.25 pips per trade.
With the slipping stops: 6.75 minus 0.55 x 10.4 = 6.75 minus 5.72 = 1.03 pips per trade.

The gap is 0.22 pips a trade, or $2.20 on one lot. Over 200 trades that's 44 pips and $440 per lot, from a sum that never shows up as a line in the statement. It simply sits inside the closing prices.

Two consequences. First, a backtest that fills stops exactly at the stop price is more generous than live trading by this amount, and it grows with the share of losing trades. Second, you can measure your own value: take the last 30 stop-outs, subtract the stop price from the fill price, and average it. That number, not my 0.4, is the one to use.
It’s Fairman :geek:
Recommended broker for automated trading & scalping IC Markets
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Re: Limit targets fill at your price, stops fill at the next one: what that costs per trade

Post by Fairman »

Measuring it takes a few minutes. In the platform history, each closed trade has the stop price you set and the price it closed at. For longs, slippage is the stop minus the close price, and for shorts it's the close minus the stop, so a positive number means a worse fill. Add them up for 30 or more stop-outs, then divide by the count. If a few of the 30 are large because of a news spike, report the average with and without them. The version that includes them is the one to use in a backtest, because they are part of what stops cost.
It’s Fairman :geek:
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Re: Limit targets fill at your price, stops fill at the next one: what that costs per trade

Post by Fairman »

Limit orders aren't perfect either. A take profit can sit at a price the market touches without filling it, particularly on short trades, where the take profit is a buy limit and fills against the ask. On a bid chart, price must trade one spread below your level for it to execute. With a 0.8 pip spread, a short with a take profit at 1.0835 needs the chart to reach about 1.08342. So the target that looks hit on the chart can still be open in the terminal, and that's a different issue from the slippage on stops, but it points the same way.
It’s Fairman :geek:
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Re: Limit targets fill at your price, stops fill at the next one: what that costs per trade

Post by Fairman »

If you test a strategy in code, a quick approximation is to apply a fixed cost to the stop fills only. In a loop that closes the trade at the stop level, subtract the slippage in pips from the result when the exit reason is "stop", and leave "target" exits alone. Then run the same data twice, with the cost at zero and at your measured value, and look at the difference in net pips. If the strategy's edge disappears with a 0.4 pip stop slip, you know it was a fragile one, and it's better to find that out in the test.
It’s Fairman :geek:
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Re: Limit targets fill at your price, stops fill at the next one: what that costs per trade

Post by Fairman »

One more factor is the order of exits. When a bar is large enough to touch both the target and the stop, the backtest has to guess which came first, and an assumption that favours the target pushes results up. If the stop slips and the target doesn't, those bars are exactly the ones where optimistic assumptions do the most damage. Check how your tester decides, and test with the stop assumed first on ambiguous bars. If the result holds, the slippage figure is a small correction instead of a verdict.
It’s Fairman :geek:
Post Reply