Trading journal and backtesting
How to keep a journal, review your statistics, backtest a setup by hand and avoid over-fitting.
- Keep a journal that records the plan, the result in R and the mistakes
- Calculate win rate, average R and expectancy by setup from your own trades
- Backtest a setup by hand without hindsight and then forward-test it on small size
Memory is a poor record of trading. You remember the big wins and forget the small rule breaks that cost more. A trading journal replaces opinion with data: after 50 trades you know what you really do and what really pays.
What to record
- Date, market, timeframe and direction.
- Setup name: breakout, retest, pullback, spring. Use the same few names every time.
- Entry, stop, target and the planned risk-reward; position size and risk in $.
- Result in R after fees. Planned and actual exit, if they differ.
- A screenshot at entry and one after the exit.
- Emotion and a mistake tag: early entry, moved stop, no setup, oversize, FOMO, or none.
The weekly review
Once a week, read the trades and update the numbers. Four of them matter: win rate, average win and average loss in R, and expectancy. Then split them by setup, by market and by mistake tag. The total hides what the split shows.
- A month of 40 trades: 16 wins totalling +36R, 24 losses totalling −22.8R.
- Win rate 16 ÷ 40 = 40 %. Average win 36 ÷ 16 = 2.25R. Average loss 22.8 ÷ 24 = 0.95R.
- Net result +13.2R → expectancy 13.2 ÷ 40 = +0.33R per trade.
- By setup: retests 22 trades, +15.4R (+0.70R each). Breakouts 18 trades, −2.2R (−0.12R each).
- By mistake tag: 9 tagged trades cost −6.3R. The 31 clean trades made +19.5R (+0.63R each).
The conclusions write themselves: trade the retest, stop or rework the breakout, and remove the tagged mistakes. No indicator gives you an improvement of that size. Be careful with small groups, though: a split with fewer than 20–30 trades is a hint to keep watching, not yet a reason to change the plan.
Backtesting by hand
A backtest checks a set of rules on past data before money is at risk. The simplest honest way is bar replay: hide the future part of the chart and move forward one candle at a time. It is slow, and that is its value: you see every setup form in the way it would form live, and you learn how often it appears and how it fails.
- Write the rules first: what the setup is, where the entry, stop and target go.
- No hindsight. Decide before the next candle appears, and record every trade that met the rules, including the ugly ones.
- Collect at least 50–100 trades per setup, across an uptrend, a downtrend and a range.
- Include costs. A 5 000 $ position with a 0.05 % fee per side costs 5 $ for the round trip. With a 100 $ risk that is 0.05R on every trade, before slippage.
- Record the results in R, exactly as in the live journal.
Forward-testing
A backtest shows that the rules worked on the past. It does not show that you can follow them live. Next, trade the setup in real time on small size, for example 0.25 % risk, or in the trade simulator, for 20–30 trades. Expect live results to be somewhat worse than the backtest: fills are worse, some entries are missed, and you hesitate. If live expectancy stays positive, raise the size to normal step by step.
Over-fitting
Over-fitting means tuning the rules until the past looks perfect. Such a system has learned the noise of one data set and fails on new data.
- Warning signs: many conditions, oddly exact settings such as RSI 37 or a 23-period average, results that hold on one coin or one year only.
- Defence: few and simple rules, a test on data you did not use to build them, and results that survive a small change of the settings.
Common mistakes
- ✕ Recording only the winning trades, or filling in the journal days later from memory.
- ✕ Looking at total profit only, without splitting results by setup and by mistake.
- ✕ Skipping losing trades in a backtest because "I would not have taken that one".
- ✕ Adding filters to a backtest until the equity curve looks perfect.
Key takeaways
- ✓ Record the plan at entry and the result in R, with a screenshot and a mistake tag.
- ✓ Review weekly: win rate, average R and expectancy, split by setup and market.
- ✓ Backtest 50–100 trades per setup with costs and no hindsight, then forward-test on small size.
- ✓ Simple rules that survive new data beat tuned rules that fit the past.
Test yourself
Questions: 5. Get 60% right to complete the lesson.
- 1
Your journal shows 50 trades: 20 wins with an average of +2R and 30 losses with an average of −1R. What is the expectancy?
- 2
After 130 trades your journal shows: breakouts −0.15R per trade over 60 trades, retests +0.50R over 70 trades. What is the sensible step?
- 3
In bar replay a setup meets all your rules, then loses. You feel you would have skipped it live. What do you record?
- 4
A backtest shows +0.15R per trade before costs. Fees and slippage average 0.2R per round trip. What is the real result?
- 5
Which backtest is most likely over-fitted?