Skip to content
Wildflower
Join free
Backtesting by hand

Free Trading School · Level 4 · Course 4.1

Building a trade log spreadsheet

Lesson 10 of 21 in Backtesting by handModule 3: Logging trades

Testing and making it your own · Backtesting by hand

Building a trade log spreadsheet

Wildflower Trading School · Lesson 4.1.3.1

Wildflower

Welcome to the logging module. A backtest is only as good as its log, and in the Test it yourself lessons you used a quick logging sheet. Now we'll build a proper one. By the end of this lesson, you'll have a trade log spreadsheet with a column for everything your test needs. It will have a formula that works out each result for you, and a total at the bottom.

1 of 8

What you'll learn

  • Log every session. Write one row each, no-trade sessions too, as it happens.
  • Set up the columns. Date, time, trade, entry, stop, target, exit, reason and points.
  • Let a formula do the sums. It works out points for longs and shorts, and the total.
  • Keep rows as written. Put the data card on top. To change a row, add a note instead.

Exercise

  1. Build your own trade log in any spreadsheet app, with the columns Date, Time, Trade, Entry, Stop, Target, Exit, Reason and Points, the Points formula, and a total.
  2. Put your data card at the top.
  3. Then log the three sessions you replayed after the last lessons.

Quick check

  1. 1. A session in your dates had no trade. What goes in the log?

  2. 2. For a short trade, how are the points worked out?

  3. 3. You find a mistake in a row from last week. What keeps the log trustworthy?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Measuring results in risk units” is waiting next time.

Read the full notes

A trade log spreadsheet for a backtest has one row per session with the date, time, direction, entry, stop, target, exit, exit reason and result, worked out by a formula.

  • A backtest log has one row for every session in your dates, including sessions with no trade, written at the moment it happens, with everything needed to check the trade later. It's like a (Keeping a trade journal), but it records what the rules did.
  • Columns: Date, Time, Trade (Long, Short or None), Entry, Stop, Target, Exit, Reason (Stop, Target or Time) and Points.
  • Let a formula work out the points: =IF(C2="Long",G2-D2,IF(C2="Short",D2-G2,0)). For a long, exit minus entry; for a short, entry minus exit; no trade, zero. Copy it down the column, and total with =SUM(I2:I6).
  • Keep it plain: one sheet per test with the data card on top (Choosing the data to test on); never edit a row afterwards, add a note instead; add any columns your rules need before you start.

Worked example

Made-up numbers

One made-up week in the log

Made-up numbers, . , breakout rules.

  1. Mon: Long 5,019.50, exit 5,014.00 (Stop): 5,014.00 − 5,019.50 = −5.50
  2. Tue: Short 5,027.00, exit 5,029.75 (Stop): 5,027.00 − 5,029.75 = −2.75
  3. Wed: Long 5,047.00, exit 5,054.00 (Target): +7.00
  4. Thu: None: 0
  5. Fri: Short 5,036.25, exit 5,032.00 (Time): +4.25

Total, with =SUM(I2:I6): +3.00 before costs.

Your turn

Drill

Made-up numbers · Trade: Short · Entry 5,027.00 · Exit 5,029.75

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.