---
title: "Backtesting & Journaling"
description: "Backtest your strategy on historical data, manually or with code, and keep a trading journal that tracks win rate, R-multiples, expectancy and drawdown."
url: https://tracom.tobistech.co.uk/academy/backtesting
course: "Tracom Forex Academy"
chapter: "Strategy & Psychology"
lesson: 20 of 30
level: Intermediate
reading_time: 3 min
published: 2025-07-22
updated: 2026-10-17
publisher: "Tracom (Tobistech Ltd)"
licence: "Free to quote with attribution and a link to the URL above"
---

# Backtesting & Journaling

> Backtest your strategy on historical data, manually or with code, and keep a trading journal that tracks win rate, R-multiples, expectancy and drawdown.

![Backtest equity curve over 60 trades with the maximum drawdown shaded, beside win rate, average win, expectancy and drawdown figures](https://tracom.tobistech.co.uk/images/academy/lessons/backtesting.jpg)

*A backtest turns a hunch into numbers: win rate, average win in R, expectancy per trade and the worst drawdown you would have lived through.*

## Key takeaways

- Backtesting replays a strategy on historical data to see how it would have performed before you risk money.
- Define exact rules first, then step through charts bar by bar, for example with TradingView’s Bar Replay, or code the logic.
- Track the win rate, average R, expectancy, (win rate × average win) − (loss rate × average loss), and maximum drawdown.
- A journal carries the same discipline into live trading: log every trade with its setup, R-multiple, screenshots and emotions.

## Backtesting 101 - Can Your Idea Survive History?

Imagine you’ve cooked up a brilliant strategy. Before risking real money, you can **rewind the chart**, trade it bar-by-bar, and see how it would have fared. That dress rehearsal is called *backtesting* - and it’s a trader’s secret weapon. 🔍🕰️

### Why spend time here?

- **Proof over hope:** Weed out shiny-object strategies before they drain your account.
- **Numbers, not vibes:** Know win-rate, risk-reward and drawdown ahead of time.
- **Confidence boost:** Hard data keeps you calm when a live trade hits a rough patch.

#### 1 · Pin-down exact rules

Entry, exit, stop, time-frame, session filters - *no grey areas*. “I’ll buy if it looks bullish” won’t cut it.

#### 2 · Download clean history

Use TradingView’s “Bar Replay”, MetaTrader’s history centre, or tick data from Dukascopy if you’re coding in Python.

#### 3 · Walk through candles

*Manual?* Step bar-by-bar and screenshot each setup.  
*Automated?* Code your logic, press play, and watch the equity curve draw itself.

#### 4 · Capture every trade in Tracom

Tag the pair, entry snapshot, exit, R-multiple - Tracom crunches the numbers and you spot patterns in minutes.

### Metrics that Matter 🎯

| Metric | Sweet Spot | Why you care |
| --- | --- | --- |
| Win Rate | > 45 % | Shows how often you’re right. |
| Average R | ≥ 1.5 R | Bigger wins cushion losses. |
| Expectancy | > 0 | Edge per trade (`(Win% × Avg Win) – (Loss% × Avg Loss)`). |
| Max Drawdown | < 20 % | Keeps you sane & funded. |

**Toolbox:** TradingView for manual replay, Excel/Google Sheets for quick maths, or [Python](https://www.python.org) (`pandas`, `backtrader`) for automation. Whatever you pick, *log the trades in Tracom* so your stats live in one beautiful dashboard. 📊✨

“Plans are nothing; planning is everything.” - Dwight D. Eisenhower  
Backtest, tweak, repeat… then trade the plan.

## Frequently asked questions

### How do you backtest a trading strategy manually?

Write precise rules, scroll a chart well into the past and step forward one candle at a time (TradingView’s Bar Replay does this). Record every valid setup with its entry, stop, target and result in R, then calculate your statistics over at least 50 to 100 trades.

### What is expectancy in trading?

Expectancy is the average amount you can expect to win or lose per trade: (win rate × average win) − (loss rate × average loss). Measured in R, an expectancy of +0.4R means each trade earns 0.4 times your risk on average.

### What should I record in a trading journal?

The pair, direction, entry, stop, target, position size and result in R, plus the setup, a screenshot, whether you followed your plan and how you felt. Tracom logs these in seconds and calculates your statistics automatically.

---

Lesson 20 of 30 in the free [Tracom Forex Academy](https://tracom.tobistech.co.uk/education), chapter "Strategy & Psychology".
- Previous: [Developing a Strategy](https://tracom.tobistech.co.uk/academy/developing-strategy)
- Next: [Psychology & Emotions](https://tracom.tobistech.co.uk/academy/psychology)
- Practise it in the free Tracom app: [App Store](https://apps.apple.com/app/id6743354417) · [Google Play](https://play.google.com/store/apps/details?id=co.uk.tobistech.Tracom)

Educational content, not financial advice. Trading with leverage carries a high risk of losing money.
