Skip to content
Wildflower
Join free

Level 4 · Course 4.1

Backtesting by hand

Why test before trading. Bar replay on TradingView. Logging trades in a spreadsheet. How many trades is enough. Including costs: commission, spread and slippage.

  • 21 lessons
  • 5 modules
  • Free
  • Course quiz at the end

0 of 21 lessons done

Join free to tick off each lesson as you go and get your certificate.

Or start lesson 1 now.

Module 1

Why test first

  1. What a backtest isA backtest applies written rules to past prices to see what would have happened.
  2. Why test before you risk moneyA test costs time, while finding a flaw with real money costs real money.
  3. What a backtest cannot tell youThe past does not repeat on command, so a test shows what happened, never what will happen.
  4. Hand testing versus computer testingTesting by hand teaches you the strategy; a computer is faster but needs clear rules first.

Module 2

Bar replay on TradingView

  1. Opening bar replayHow to start TradingView's bar replay and pick a starting point in the past.
  2. Stepping through candles one at a timeMoving forward one bar at a time keeps you from seeing the future.
  3. Marking entries, stops and targetsDrawing your planned entry, stop and target on the chart before the trade plays out.
  4. Choosing the data to test onPick a start date, an end date and a market, and write them down before you begin.
  5. Replay limits to know aboutReplay depends on how much history your plan allows, and some timeframes have less data.

Module 3

Logging trades

  1. Building a trade log spreadsheetSet up columns for date, direction, entry, stop, target, exit and result.
  2. Measuring results in risk unitsWriting each result as a multiple of what you risked, called R, makes trades comparable.
  3. Adding notes and screenshotsA short note and a picture of each trade lets you review what you actually did.
  4. Staying honest while you testFollow the rules even when you can see the next candle looks bad; skipping losers ruins the test.

Module 4

How many trades, and what they cost

  1. How many trades is enoughA common aim is at least 100 trades across different market conditions, and why more is better.
  2. Commission: the fee on every tradeEach trade has a fixed fee per contract that comes off the result.
  3. Spread and slippageYou rarely get the exact price you see, and the gap adds a hidden cost.
  4. Putting costs into your logAdd a cost column and watch how costs shrink small-target strategies.
  5. Your first full hand backtestWalk through a complete small test from rules to a finished log.

Module 5 · In the Wildflower app

Do it in Wildflower

  1. Test your strategy with costs in WildflowerTest on the practice chart with your fee and slippage, and see what extra slippage did to a practice-chart result.
  2. Replay your test candle by candleReplay a test, ask why there was no trade, and trade the practice chart yourself.
  3. Compare two versions, then try the demoCompare two versions on the same dates, then run one forward on the free demo.

Course quiz

10 questions on the whole course. Pick your answers, then check them. You pass with 80% or more.

  1. 1. The same breakout rules make +18.50 points in a steady trending stretch and −22.00 points in a choppy one. What does the lesson say about each result?

  2. 2. You trade 1 MES contract with an 8-tick target. A tick is $1.25 and the fee is $1.80 a round trip. A trade reaches its target. What is the result after the fee?

  3. 3. Your rules are now code and the computer test looks great. What risk does the lesson name?

  4. 4. In bar replay, 5-minute candles, the last candle on screen is 9:25. How many clicks on Forward show the 11:00 candle?

  5. 5. In replay, the 9:50 candle is above the opening range high while it forms, but it closes back inside the range. Your rules act on closes. What do you do?

  6. 6. You mark a long at 5,030.00 with the stop at 5,026.50 on MES (1 tick = 0.25 = $1.25). How big is the stop distance?

  7. 7. You plan to test 10 weeks of 5 weekdays. 2 are market holidays. Each session takes 6 minutes. How many minutes is the whole job?

  8. 8. A long enters at 5,100.00 with the stop at 5,096.00. It exits at 5,106.00. What is the result in R?

  9. 9. A hand test following every rule totals +2.0R. You skip 3 trades that lost 1R each because they looked bad. What happens?

  10. 10. A round-trip fee is 0.36 points. Your stop is 2 points and your target is 2 points. What does a stopped trade lose in R?

0 of 10 answered.

Every lesson is free and open. Sign up free to save your progress

Next course

Measuring results

Level 4: Testing and making it your own · 14 lessons

When you’re ready

Test your own ideas with Trade

Write down your own strategy and backtest it on your own charts. The school stays free either way.

See what Trade includes

Trading futures carries risk. You can lose money.