Skip to main content
Back to trading tools

Free template

Backtesting journal template

One row per trade, with the columns a backtest review needs. It's a plain CSV that opens in Excel, Google Sheets and Numbers, and it costs nothing.

What's in the file17 columns and 3 example rowsDelete the examples, keep the header, and log your first trade on row 2.

The columns

What each column is for.

The right-hand column shows what Candlune's replay journal records for the same field.
ColumnWhat goes in itIn Candlune
DateThe day of the trade, written YYYY-MM-DD so it sorts.Logged
SymbolThe market, like XAUUSD.Logged
TimeframeThe chart you entered on: 5m, 15m, 1h.Logged
Sessionopening, midday, closing or off-hours.Logged
SetupYour name for the pattern: breakout, fade, mean reversion.You pick it
Sidelong or short.Logged
EntryThe price you got in at.Logged
StopWhere the stop sat before you entered. The distance to it is 1R.Logged if you set one
TargetWhere the take profit sat.Logged if you set one
ExitThe price you got out at.Logged
Exit reasontake profit, stop loss or manual.Logged
R multipleThe result in units of risk. Formula below.Shown when a stop is set
P/LMoney made or lost, after costs.Logged
MAEMax adverse excursion: the furthest price went against you, in price points.Logged
ConfidenceA score from 1 to 5, given before you enter.You pick it
TagsHabits like chased or moved stop, split with a semicolon.You pick them
NoteOne line on why you took it, or what you'd change.You write it

The routine

How to run a backtest with it.

  1. Write your rules first: the setup, where the stop goes, where the target goes, which sessions you'll trade. Don't edit them halfway through.
  2. Hide the future. Step through history one candle at a time, so every call is made with only what had happened by then.
  3. Fill in the row as soon as the trade closes, before you look at what price did next. Be honest in the tags.
  4. Add the R multiple formula, then the stats below it.
  5. Keep going past the first good week, because a small sample flatters you. How many trades is enough
  6. Review in groups. Filter by setup, session and tag and see which rows carry the result.

The formulas

Add the math in a minute.

These work in Excel and Google Sheets with the columns as they come in the file, and cover 500 trades. Each note says where the formula goes.

StatFormula
R multipleExit minus entry, divided by entry minus stop. Longs and shorts both come out right. Paste it in L2 and fill down.=IF(J2="","",ROUND((J2-G2)/(G2-H2),2))
TradesRows with an R multiple. Paste it in any empty cell.=COUNT(L2:L501)
Win rateFormat the cell as a percent. Paste it in any empty cell.=COUNTIF(L2:L501,">0")/COUNT(L2:L501)
Average winIn R. Paste it in any empty cell.=AVERAGEIF(L2:L501,">0")
Average lossIn R, so it's negative. Paste it in any empty cell.=AVERAGEIF(L2:L501,"<0")
ExpectancyR per trade. Same as win rate times average win plus loss rate times average loss. Paste it in any empty cell.=AVERAGE(L2:L501)
Losing streakA helper column that counts losses in a row. A win or breakeven resets it. Paste it in R2 and fill down.=IF(L2="","",IF(L2<0,N(R1)+1,0))
Max losing streakThe longest run in your sample. Paste it in any empty cell.=MAX(R2:R501)

Give the expectancy a sanity check in the expectancy calculator, and see how long a losing streak your win rate should produce in the losing streak calculator.

Questions

What traders ask about the template.

Does it open in Excel, Google Sheets and Numbers?

Yes. Double-click it in Excel or Numbers, or use File, Import in Google Sheets. If everything lands in column A, your region expects semicolons. In Excel, use Data, From Text/CSV and pick comma.

Why a CSV and not an Excel file with formulas built in?

A CSV opens everywhere and can't carry macros. It can't hold formulas either, so the page gives you the ones to paste. If your Excel wants semicolons between arguments, swap the commas.

How many trades should I log before the numbers mean anything?

More than feels necessary. On real Gold candles, a true 50% win rate takes about 99 trades to land within 10 points, and 399 to land within 5. Aim for a few hundred.

Do I need Candlune to use it?

No. The template works with any chart and any market. Candlune's replay journal does the typing for you: it logs most of these columns as you trade and shows the R multiple when you've set a stop. Setup, confidence, tags and the note are yours to fill in.

A journal is only useful if you fill it in.

Try the free replay first. Step through real Gold days one candle at a time and let the journal log the trades as you go.