Back to Articles
Volume Guides

How to Backtest a Trading Strategy Manually (Without Code)

By Volume Team9 min read

Search "how to backtest a trading strategy" and most of what comes back assumes you can code. Load a CSV into Python, write a loop, plot an equity curve. Or learn Pine Script and let TradingView's strategy tester do the work.

Those tools are useful, but they skip a step. A coded backtest only tests what you managed to put into code. Most discretionary strategies ("buy the pullback to support when the trend is up") hide a dozen judgment calls that are hard to express as if statements. A manual backtest tests the thing you will actually do: look at a chart, decide, and act.

To backtest a trading strategy manually, you replay historical price action bar by bar, apply your rules as if the market were live, and record every result. It's slower than running a script, but it trains your eye at the same time it tests your idea. Here's how to do it properly, and how to do it fast in Volume.


Step 1: Write Your Rules Before You Look at a Chart

A backtest is only as good as the rules it tests. If a rule leaves room for interpretation, you'll unconsciously interpret it in whatever way makes the trade work, because you can half-see what happens next.

Write your strategy down in plain language, with one line for each of these:

  • Market and timeframe: e.g. large-cap US stocks on the 15-minute chart.
  • Setup: the condition that must be true before you even consider a trade.
  • Entry trigger: the exact event that gets you in.
  • Stop loss: where you're wrong, decided before entry.
  • Exit: a profit target, a trailing rule, or a time limit.
  • Position size: how much you risk on each trade.
  • No-trade conditions: times or situations you skip, like the first five minutes after the open.

Here's an example rule set, written to show the level of detail you need (it's an illustration of structure, not a recommendation):

Setup: price is above the 20-period moving average on the 15m chart. Trigger: a 15m candle closes above the high of the first 30 minutes of the session. Stop: below the low of that 30-minute range. Target: 2× the distance from entry to stop. Risk: 1% of the account per trade. No trades after 3:00 PM ET.

Define your risk in R, where 1R is the amount you lose if your stop is hit. On a $10,000 virtual balance risking 1%, 1R is $100. Measuring results in R keeps the backtest honest when position sizes vary.

The test: could a stranger apply your rules to the same chart and take the same trades? If not, tighten them before you start.


Step 2: Pick a Sample Size and Commit to It

Ten trades tell you almost nothing. A strategy with a genuine 50% win rate will produce a 3-for-10 or 7-for-10 run surprisingly often, purely by chance.

Use these rough guidelines:

Trades loggedWhat you can say
Under 30Nothing reliable. Keep going.
30 to 50A first read on whether the idea has potential
100+A reasonable estimate of win rate and average R

Decide your number before you start, and don't stop early because the results look great (or terrible). Stopping when the numbers look good is one of the most common ways traders fool themselves.

Also commit to testing across different conditions. Fifty trades taken during one strong uptrend tell you how the strategy performs in a strong uptrend, and nothing else.


Step 3: Replay Blind From a Random Point in History

The biggest flaw in manual backtesting is hindsight. If you scroll a chart you've seen before, you already know where the big move happened, and your eye finds the "perfect" entries.

The fix is to start at a point in history you didn't choose and can't see past. In Volume, every new session on a free account starts on a random ticker and random date. You see the history up to that moment and nothing beyond it.

Create New Game modal with Starting Ticker and Start Date both set to RANDOM and difficulty set to Competitive

What you're seeing:

  1. Starting Ticker: RANDOM: you don't pick the instrument, so you can't steer toward a chart you remember.
  2. Start Date: RANDOM: you land at an unknown point in market history with no view of what comes next.
  3. Difficulty: Competitive: a fully random draw. Pro members can also choose a ticker and start date to drill a specific scenario. Picking a date switches this to Practice.
  4. Start Game: drops you into the gameroom at that moment in history.

Set up a dedicated paper account for each strategy you test (from your dashboard, with any starting balance you choose between $100 and $50,000). Each account tracks its own win rate and history, so one strategy's results never blur into another's.

Volume replays real historical market data, but it never executes real trades. Fills happen at the chart price, and slippage and commissions aren't modeled. Keep that in mind when you read your results: treat them as the best case for your rules, not a promise of anything. For more on how replays work, see How Volume Trading Works.


Step 4: Move Through Time Without Peeking

Bar-by-bar replay is what makes manual backtesting slow. Most of a trading day is dead time between setups. Volume's time controls let you skip the dead time and slow down for the moments that matter.

Gameroom header with the timeline marker, speed buttons, D/H/M skip inputs, skip button, New Trade button, and Session card

What you're seeing:

  1. Timeline marker: the current game time and market phase (premarket, market hours, aftermarket). Hover it to skip straight to the next phase, such as the open.
  2. Speed buttons: Realtime, Fast (120× by default) and Very Fast (360× by default). Hotkeys are Space, Ctrl/Cmd+2 and Ctrl/Cmd+3, and you can change both multipliers in Preferences.
  3. D/H/M skip inputs: type days, hours, or minutes to jump ahead, here 1 hour 30 minutes.
  4. Skip button: applies the jump.
  5. New Trade: opens the trade ticket when your trigger fires.
  6. Session card: realized P&L, P&L per minute and win/loss split for the trades you've closed this session.

At 360×, a full 6.5-hour stock session passes in about 65 seconds. A workflow that keeps the test honest:

  • Fast-forward through stretches where your setup can't form (premarket, or any time before your setup condition is true).
  • Drop to Realtime (Space) as soon as price approaches your setup, so each candle forms at its real pace.
  • Act only on closed candles if your rules say "closes above". Don't anticipate.
  • Use skips for known gaps, like jumping past your no-trade window after 3:00 PM ET.

If you want a deeper tour of accounts, sessions and every control, read How to Make the Most of Volume Backtesting.


Step 5: Log Every Signal, Including the Ones You Skip

A backtest log is the whole point. Log every time your setup appeared, not just the trades you took. If you skipped a valid signal because it "looked weak", that's a judgment call your written rules don't contain, and it will distort the results.

For each signal, record:

  • Date and time (game clock), instrument, direction
  • Entry, stop and exit prices
  • Result in dollars and in R
  • Whether you followed every rule (yes/no)
  • One sentence on market context: trending, choppy, news-driven

In Volume, every closed trade is recorded automatically, and the Journal lets you attach your strategy name, trade type, entry confirmations, stop and target, and notes to each one. Tag every trade from one test with the same strategy name, and the Stats tab's Strategy breakdown will group those journaled trades together. Use the Deviated from Plan and Stuck to Plan attributes honestly. If 30% of your trades deviated, you tested a different strategy than the one you wrote down.


Step 6: Judge the Strategy by Expectancy, Not Win Rate

Win rate is the number everyone looks at first, and it's the easiest to be misled by. What matters is how much you make on average per trade, which is called expectancy:

Expectancy = (Win rate × Average win) − (Loss rate × Average loss)

Compare two strategies after 100 trades each:

StrategyWin rateAvg winAvg lossExpectancy per trade
A70%$40$120(0.7 × 40) − (0.3 × 120) = −$8
B40%$150$60(0.4 × 150) − (0.6 × 60) = +$24

Strategy A wins seven times out of ten and still loses money. Strategy B loses more often than it wins and comes out well ahead. In R terms, B averages +0.4R per trade if 1R is $60.

Two related numbers worth checking:

  • Profit factor: total dollars won ÷ total dollars lost. Above 1.0 means the wins outweigh the losses.
  • Payoff ratio: average win ÷ average loss. A low win rate needs a high payoff ratio to work.

Volume's Stats tab calculates all of these for you.

Journal and Stats page showing filters, expectancy, win rate, average win and loss, and profit factor tiles

What you're seeing:

  1. Filters: narrow everything to one account (one strategy), one market, a date range, or a direction.
  2. Expectancy: average P&L per trade. Here it's −$13.49 across six trades.
  3. Win rate: 33% in this example. On its own it doesn't tell you whether the strategy works.
  4. Avg win / avg loss: $17.38 vs $57.85, a payoff ratio of 0.30. That's the real problem in this sample: losses are more than three times the size of wins.
  5. Profit factor: 0.30, meaning $0.30 won for every $1 lost.

Six trades is far too small a sample to judge anything, but the layout shows how to read a test: start with expectancy, then use payoff ratio and win rate to work out why it's positive or negative.


Step 7: Change One Thing, Then Retest

If expectancy is negative, change one rule at a time. Move the stop, adjust the target, or add a filter. Then run a fresh sample on new random sessions. If you change three things at once, you won't know which one helped.

Watch out for over-fitting. If you keep adding rules until the last 50 trades look perfect, you've described the past, not found an edge. A good rule usually makes sense before you see whether it improves the numbers.


Manual Backtesting Checklist

  • Rules written in plain language: setup, trigger, stop, exit, size, no-trade conditions
  • Risk defined in R (e.g. 1R = 1% of the virtual balance)
  • Sample size chosen in advance (30 minimum, 100+ preferred)
  • One paper account per strategy
  • Sessions started from random tickers and dates
  • Fast-forward through dead time, slow down near setups, act on closed candles only
  • Every signal logged, including skipped ones, with result in dollars and R
  • Rule deviations tagged honestly
  • Strategy judged by expectancy first, then profit factor and payoff ratio
  • One rule changed per retest, on a fresh sample

Start Your First Manual Backtest

You don't need a line of code. You need written rules, a blind starting point, and the patience to log every trade. Open a session, write your rules on a sticky note next to the screen, and take your first ten signals.

Start a backtest session in the gameroom →

Tags

BeginnerStrategyBacktestingSimulation