How to Backtest a Trading Strategy Before Going Live
Watch Build Your Personal Trading Strategy on Maverick Trading's YouTube channel.
Most trading ideas sound convincing until you try to write them down precisely. "Buy strong stocks above support" feels like a strategy, but two traders would apply it differently, so it cannot be tested.
In Build Your Personal Trading Strategy, Robb Reinhold of Maverick Trading sets out a sequence for avoiding that problem (about 1:26 to 2:28): define the strategy and its risk plan, then test it before any money is at risk.
Start with how you actually trade
Robb begins with fit (around 2:33 to 6:15): a strategy has to suit your habits, temperament, timeframe, trading style and risk tolerance. Someone who cannot watch screens during market hours needs different rules from someone who can.
Personality can inform these choices without determining them. Maverick's Trader Personality Tests site offers optional self-reflection; it is not a measure of ability or a trading certification.
Turn every rule into a number
The core instruction (about 6:18 to 7:08) is to write a checklist precise enough that a computer could follow it. Words such as "above," "strong" or "near" must become something measurable.
A sample rule shows the level of detail needed. It is an unvalidated illustration, not a tested strategy or a recommendation:
- Setup: the daily close is above the highest high of the prior 20 completed daily bars.
- Entry: the next session's open, not a price chosen afterward.
- Stop: 2% below the entry price, set before entry. That distance defines 1R, the initial planned risk.
- Target: 4% above the entry price, a 2R gain.
- Time exit: if neither is hit, exit at the close of the 10th session after entry.
- Size: set from a fixed risk budget: shares = risk budget ÷ (entry price × 2%), so a stop-out loses about the budget before costs and gaps.
- Same-bar touches: if one bar reaches both stop and target and you have no intrabar data, assume the stop filled first.
- Timeframe: daily bars only.
Using completed bars avoids look-ahead bias: a rule that reads a bar before it closes produces results no trader could achieve.
Test in three separate stages
Robb's advice (around 7:49 to 9:42) is to test a large sample across rising, falling and flat markets and know the win/loss rate, profit factor and maximum drawdown. Three separate stages make those numbers more trustworthy:
- Development backtest. Build and adjust the rules on one block of historical data.
- Validation on unseen data. Run the finished rules, unchanged, on a separate period you did not look at while building them. If results collapse, the rules may be overfit or sensitive to changing conditions; investigate before risking capital.
- Forward demo. Trade the rules in real time, where you cannot see the next bar.
Where relevant, include stocks later delisted or collapsed; testing only today's survivors flatters results. Include commissions, spreads and slippage. Instead of tweaking settings until results look perfect, check nearby values such as a 15- or 25-day high; a rule that works at only one setting is fragile.
The lesson also notes (around 10:18 to 10:39) that AI tools need actual price data to test anything; never accept or invent results not run on real data.
Profit factor, expectancy and drawdown
- Profit factor = gross winning amount ÷ absolute gross losing amount.
- Expectancy per trade = (win rate × average win) − (loss rate × average loss) − average cost.
- Maximum drawdown = the largest peak-to-trough decline in account value.
Consider 100 hypothetical trades measured in R, the initial planned risk per trade. Forty 2R winners make 80R; sixty 1R losers cost 60R. Before costs, that is +20R, an expectancy of +0.20R per trade and a profit factor of 80 ÷ 60, about 1.33. Costs of 0.10R per trade cut the result to +10R. At 0.25R per trade it becomes −5R.
Costs belong in every backtest: the same entries and exits turn negative on execution alone.
Drawdown hides inside a good final number
This simulated account ends at $10,600, up 6%. Along the way it fell from a $10,500 peak to $9,450, a 10% drawdown. A high win rate or a final profit can hide declines like this, and future drawdowns can exceed anything in the test history.

Demo and journal before going live
Robb then recommends (about 10:47 to 12:31) trading the rules on a demo account and journaling over a meaningful period. No fixed number of days proves readiness; you need enough trades, in varied conditions, to compare real-time execution with the backtest.
Execution is where backtests are most optimistic. A triggered stop order becomes a market order and can fill below the stop price, while a limit order may not fill at all. Investor.gov's investor bulletin on order types explains both, so model them rather than assuming perfect fills.
The lesson ends (around 12:37 to 14:30) comparing discretionary, automated and assisted trading. Robb prefers manual entries with automated exits, but automated orders still need monitoring for rejections, disconnections and gaps.
Journal fields to reuse
Record these for every demo and live trade:
- Date, symbol and timeframe
- Which setup conditions were met
- Planned entry, stop, target and 1R in dollars
- Actual fills, commissions and slippage
- Result in R and in dollars
- Market condition: rising, falling or flat
- Rule followed or broken, and why
These fields evaluate the strategy across many trades. To check a single trade before entry, use our five questions to ask before every trade.
Next step: test, then retest
Write the rules, test them on history, validate them on unseen data, demo them, and repeat the cycle whenever a rule changes. Maverick's Qualification Program requires a detailed written trading plan and a demo phase before any funding decision; joining it does not mean automatic funding.
Educational content only, not individualized investment advice. Trading involves risk of loss. All figures and charts above are hypothetical or simulated, are not Maverick Trading performance, and do not predict future results.



