Testing ICT concepts in the backtester and journal
Lesson 16 · 5 min read · By DT Terminal
Picks up fromLesson 15 · ICT and your psychology
How to test the model you wrote: a written rule, tick-by-tick replay with every setup logged, sample size, a control as the base rate, tags, and the Backtest vs Live edge card.
Unlock the full lesson in the app
Worked examples, the quiz and the interactive tools are in the app. Free account.
Write the rule so a stranger could mark it
An ICT concept is only a word until you write it as a rule. An operational definition says exactly what counts, so two people marking the same chart get the same list. The model you wrote in Building your ICT model is one, and it is the rule this lesson tests:
| Step | Your model, long version |
|---|---|
| Window | Sweep and gap form 02:00 to 05:00 New York time |
| Sweep | A wick beyond a pool marked before the session, and the same candle closes back inside |
| Shift | Within 6 candles, a **body closes** above the last short-term high |
| Gap | The shift leaves a fair value gap. No gap, no trade |
| Entry | A buy limit at the gap's 50%, cancelled at 05:00 |
| Stop | 2 pips beyond the sweep's wick |
| Target | The pool your written draw names, at least 2R away |
One concept on its own works the same way. As a rule, an order block is the last down-close M15 candle before a candle whose body closes above the most recent short-term high.
One concept, written
What counts, and what does not
- Bullish order block
- Bearish order block
- Earlier low or high
Bullish order block
last down-close candle; zone open to low
Bearish order block
last up-close candle; zone open to high
Counts
a body closes above the STH
Wick only
no close above: not counted
Counts, sweep first
same rule, tagged sweep: yes
Replay, and log every setup
With the rule written, the next step is a sample. Scrolling finished charts only tests how well you find examples (the hindsight trap from ICT and your psychology). Replay hides the future, so you mark each setup before seeing the result.
Log every setup the rule allows, skips included, or your mood picks the sample.
Worked example
Example 01: One setup, one row
The worked example, with every number walked through, is in the app.
Go deeper
When you close a trade, tag the window and any concept you are testing on top of the model.
How many setups before a number means anything
A sample needs a size. Say your model wins 40% with its targets at 2R. Breakeven at 2R is 33.3%, so it looks like an edge. The table gives the likely range (the 95% Wilson interval) for that 40% at four sample sizes.
| Setups | Likely win rate | Clearly above breakeven? |
|---|---|---|
| 10 | 16.8% to 68.7% | Not yet |
| 30 | 24.6% to 57.7% | Not yet |
| 100 | 30.9% to 49.8% | Not yet |
| 300 | 34.6% to 45.6% | Yes |
A fair first look needs about 30 setups. Showing that 40% at 2R is clearly above breakeven takes about 300. Why small samples swing is in Day 9, The math behind trading, and the same range is in Day 20, Backtesting your trades.
Compare it with a control
Even a big sample needs something to beat. The base rate is what a plain entry makes with the same window, stop distance and target: say, a buy limit at the previous candle's 50%, toward the same draw, on the same days. That is your control. If your model cannot beat it, its steps are not adding anything for you.
Worked example
Example 02: Your model against its control
The worked example, with every number walked through, is in the app.
Tag every trade by concept
Once the model is measured, tags turn one log into many tests. Give every trade, in replay and live, the same three: the setup (model, or one concept such as ob), the window (london, ny-am) and one filter you are testing (smt-yes, smt-no).
Then change one thing at a time. Compare smt-yes against smt-no on the same model before adding a second filter. Change two at once and you cannot tell which did the work.
Read each tag on its own
Does it survive live trading?
A rule that works in replay can still fail live: slippage, missed fills, nerves. The backtester's Analytics tab has a Backtest vs Live edge card for each instrument you both backtest and trade. It sets win rate, profit factor and expectancy side by side, and reads Edge holds (your trading edge, not the coach) when the live profit factor is at least 70% of the backtest's.
Trades synced from a broker cannot be edited later, so that comparison runs against a record you cannot flatter. Reviewing them well is in Day 24, and the whole cycle in Day 26, The loop that makes you better.
Go deeper
Before you trade a funded challenge account, check its rules in Day 25, Prop firms and brokers.
Test your model next
Now put it together on your own model. Open the strategy you saved in Building your ICT model and replay one market in its window. On every practice trade, pick that strategy in the order ticket, tick the rules the trade met, and tag the setup. Log every skip too.
On the same days, log the control. Come back after about 30 setups, compare the two in R, and ask Edge to read the results with you.
Replay your model and log every setup
This course began with a word and ends with a written model and the numbers to judge it.
Check yourself
Quick review · 0 of 0
Five questions on testing a concept. If one trips you up, reread that section.