You've met all three costs: fees, the spread and slippage. Now they go into your log, in their own columns, so every result is shown before costs and after them. By the end of this lesson, you'll have a cost column, a net result column and a net R column. And you'll see why the same costs barely touch some strategies and swamp others.
1 of 8
What you'll learn
- Turn costs into one figure. Add fees and a slippage allowance for each trade.
- Add cost columns. Cost, Net and Net R show each result after costs.
- Compare before and after costs. A small result before costs can vanish after them.
- Watch small targets. Tight stops are hit hardest by costs in R.
- Find the break-even win rate. See how many wins in 100 you need after costs.
Exercise
- Add Cost, Net and Net R columns to your trade log, using your own fee figure and slippage allowance.
- Total Points, Cost and Net.
- Write down how much of the before-cost result the costs took, and which trades were hit hardest in R.
Quick check
1. A trade made +7.00 points and its costs were 0.61 points. What is the net result?
2. Two trades pay the same costs. Which is hit harder in R?
3. Why put the cost in a formula, not type it in each row?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
Putting costs into a backtest log means a cost column for fees and slippage on every trade, then net points and net R, which shows how costs shrink small-target strategies most.
- Turn costs into one figure per trade. Made-up numbers on A small futures contract on the S&P 500, traded at CME Group. Each point is worth $5, and its smallest step of 0.25 is worth $1.25.More in the glossary: What your broker and the exchange charge for each contract you trade, often quoted per contract for the round trip: in and out.More in the glossary 0.36 One whole unit of a price. On the S&P 500, a move from 5,000 to 5,001 is one point, and each futures contract sets what a point is worth in dollars.More in the glossary every trade, plus a The difference between the price you expected and the price your order filled at.More in the glossary allowance of 1 The smallest step a price can move. On many stock index futures that’s 0.25 of a point.More in the glossary (0.25) per market fill. A stop or time exit costs 0.36 + 0.50 = 0.86; a target exit 0.36 + 0.25 = 0.61.
- Add three columns: Cost, =IF(B2="None",0,0.36+IF(C2="Target",0.25,0.5)); Net, =D2-F2; Net R, =G2/E2, left empty on no-trade rows.
- Made-up numbers, the week: +3.00 points before costs (A trade’s result before commissions and fees are taken off.More in the glossary), costs 3.19, so −0.19 after costs (A trade’s result after commissions and fees are taken off.More in the glossary). Tuesday's small stop made it the hardest hit in R: −1.31R against Monday's −1.16R.
- Small targets feel costs most. Made-up numbers, 50 wins in 100 trades, target = stop: a 1-point stop gives −73.5R after costs, a 10-point stop −7.35R. To break even after costs (How often trades would need to win for a set of trades to make nothing and lose nothing. It is the average loss divided by the average win plus the average loss, with costs taken off the win and added to the loss.More in the glossary) they'd need about 83 and about 54 wins in 100.
- More: Slippage and commissions in a backtest
Worked examples
Made-up numbersThe made-up week after costs
Made-up numbers, Results from a backtest, a simulation or a practice account rather than real money. In US futures, regulated firms that show them have to label them as hypothetical.More in the glossary. Costs: 0.86 One whole unit of a price. On the S&P 500, a move from 5,000 to 5,001 is one point, and each futures contract sets what a point is worth in dollars.More in the glossary for a stop or time exit, 0.61 for a target exit.
- Mon: −5.50 − 0.86 = −6.36 (−1.16R)
- Tue: −2.75 − 0.86 = −3.61 (−1.31R)
- Wed: +7.00 − 0.61 = +6.39 (+1.50R)
- Thu: no trade, 0
- Fri: +4.25 − 0.86 = +3.39 (+0.90R)
Before costs +3.00 points; costs 3.19; after costs −0.19 points.
Why a 1-point target needs about 83 wins in 100
Made-up numbers: win +0.39R, loss −1.86R after costs.
- Break even when wins × 0.39 = losses × 1.86
- With w wins in 100: 0.39w = 1.86(100 − w)
- 2.25w = 186, so w = 186 ÷ 2.25 = 82.7
About 83 wins in 100 just to stand still, against about 54 for a 10-point stop and target.
Your turn
DrillMade-up numbers · a trade lost 4.00 points at its stop · cost 0.86 points
Trading is risky. You can lose money. This lesson explains how testing works. It isn't advice, and a test can't tell you what will happen next.