A useful forex backtest applies pre-defined entry, exit and sizing rules to historical data using information available at each decision. Record data quality, model costs and ambiguous fills, then evaluate a later untouched period. A good-looking equity curve alone is not validation.
1. Make the trading idea testable
Write a rule sheet before scoring trades. Specify the market, timeframe, session timezone, entry event, order type, stop placement, exit logic and maximum holding time. Include what happens near the session close and when a position remains open overnight.
Replace phrases such as “a strong candle” with a measurable definition. State whether an indicator uses a completed bar. For multiple-timeframe RSI, identify exactly which higher-timeframe candle was available at entry.
Position sizing belongs in the rule sheet too. A fixed-lot test and a percentage-risk test can produce different account curves from the same trades. Keep a version number so that a change creates a new experiment rather than quietly rewriting the old one.
2. Audit the candle history
Check for missing intervals, duplicate timestamps, price spikes, time offsets and daylight-saving changes. A gap can remove a potential trade or hide a stop being crossed. Do not fill a missing interval with invented tradable candles and then treat the resulting fills as observations.
Record whether the data represents bid, ask or another price. State the source and date range. For a bid-only forex chart, a short position can require ask prices to model its stop correctly. Applying the same raw bid high to every buy and sell fill can misrepresent execution.
Coverage matters alongside the trade count. A large number of highly related entries in one short market episode does not provide the same information as testing through different conditions. Keep a report of which dates and instruments were actually usable.
3. Specify realistic costs and fills
Include spread, commissions and any relevant financing. Decide how you model slippage and order delays. A fixed spread can be a transparent simplification, but state it as an assumption and test less favourable costs. A method earning small amounts per trade may be especially sensitive to friction.
If a candle’s high and low reach both a target and a stop, the candle alone does not tell you which came first. Use finer data where available, apply a disclosed conservative assumption or flag the trade as ambiguous. Picking whichever outcome helps the curve is not a neutral method.
For the same reason, a signal calculated at candle close generally cannot assume a fill at an earlier point inside that candle. Match the earliest possible decision time with the earliest possible order time.
4. Separate development from evaluation
Choose a chronological development period and a later evaluation period before tuning settings. Develop the rule on the first, freeze it, then apply it to the second. If you change the method after inspecting the evaluation result, that period has become part of development.
Record the number of settings and variants you tried, not just the best one. Harvey and Liu’s Backtesting paper addresses the statistical problem created by searching across multiple tests. Finding a winner among many attempts is a different evidential standard from testing one pre-specified idea.
There is no universal split or minimum trade count that makes a result reliable. The appropriate design depends on the method, available history and how dependent its trades are. Repeatedly reusing a small holdout does not create new evidence.
5. Ask what would make the result fall apart
Run a small set of documented stress checks: higher costs, modestly different parameters, an execution delay and separate reporting by market period. Compare what happens with and without the largest winning trades. These are sensitivity checks, not additional knobs to tune until the result improves.
CME Group’s overview of backtest robustness discusses cost stress, parameter sensitivity and out-of-sample evaluation. The purpose is to expose fragility, not certify future profit.
A poor stress result is information worth keeping. If a tiny cost increase removes the entire historical average, the next question is whether the original execution assumptions were achievable. If all gains come from a small period, investigate what made that period different.
6. Publish enough detail to understand the result
| Area | What to record |
|---|---|
| Method | Rule version, parameters and decision timing |
| Data | Source, dates, timezone, gaps and price convention |
| Execution | Spread, fees, slippage and ambiguous-fill policy |
| Outcomes | Trade count, net R, expectancy and drawdown |
| Validation | Untouched period, variant count and sensitivity checks |
Distinguish backtests from forward-tracked signals and actual account executions. They answer different questions. For a recorded signal system, also check what information was committed before the outcome was known. Our signal record guide covers that distinction.
Perfect Entry’s Reversal Sniper study and CurrencyAI results are different resources. Review their own definitions and assumptions rather than treating them as one interchangeable performance claim.
Frequently asked questions
How many trades are enough for a backtest?
There is no universal number. Consider uncertainty, market coverage, strategy changes and dependence between trades, alongside the raw count.
What is look-ahead bias?
It is the use of information that would not have been available at the decision time, such as a higher-timeframe candle’s final reading before that candle had closed.
Does a profitable backtest prove a strategy works live?
No. Historical assumptions, selection bias, execution and future market conditions can all change the outcome.
Bring better questions to the evidence.
Inspect CurrencyAI’s recorded results, then explore the indicators, education and member support included in Market Master.
Get indicators, CurrencyAI, education and community with Market Master →Check the current products, price and billing terms on Whop. Membership does not guarantee trading results.Sources and further reading
- Harvey & Liu: Backtesting (2015), hosted by CME Group
- CME Group: Moving Beyond the Illusion of Backtests
External references checked on 5 November 2026. Provider rules and product features may change. Sources provide background and do not endorse Perfect Entry.
Educational information, not a personal trading recommendation. Numerical examples are hypothetical unless explicitly labelled otherwise. Trading can result in losses, and past or simulated results do not guarantee future performance. This article is published by Perfect Entry, which sells the membership discussed above.