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.
The columns
What each column is for.
| Column | What goes in it | In Candlune |
|---|---|---|
| Date | The day of the trade, written YYYY-MM-DD so it sorts. | Logged |
| Symbol | The market, like XAUUSD. | Logged |
| Timeframe | The chart you entered on: 5m, 15m, 1h. | Logged |
| Session | opening, midday, closing or off-hours. | Logged |
| Setup | Your name for the pattern: breakout, fade, mean reversion. | You pick it |
| Side | long or short. | Logged |
| Entry | The price you got in at. | Logged |
| Stop | Where the stop sat before you entered. The distance to it is 1R. | Logged if you set one |
| Target | Where the take profit sat. | Logged if you set one |
| Exit | The price you got out at. | Logged |
| Exit reason | take profit, stop loss or manual. | Logged |
| R multiple | The result in units of risk. Formula below. | Shown when a stop is set |
| P/L | Money made or lost, after costs. | Logged |
| MAE | Max adverse excursion: the furthest price went against you, in price points. | Logged |
| Confidence | A score from 1 to 5, given before you enter. | You pick it |
| Tags | Habits like chased or moved stop, split with a semicolon. | You pick them |
| Note | One line on why you took it, or what you'd change. | You write it |
The routine
How to run a backtest with it.
- 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.
- Hide the future. Step through history one candle at a time, so every call is made with only what had happened by then.
- Fill in the row as soon as the trade closes, before you look at what price did next. Be honest in the tags.
- Add the R multiple formula, then the stats below it.
- Keep going past the first good week, because a small sample flatters you. How many trades is enough
- 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.
| Stat | Formula |
|---|---|
| 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.
Keep going
Log it, check the edge, then do it again.
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.