Backtesting guide
How to backtest a forex strategy
A useful backtest begins before the Run button. Write the rule, choose a comparison, include costs, separate development data from confirmation data, and inspect the trades that produced the summary.
1. Write one testable rule
Replace words such as ‘strong trend’ with a price, indicator or time condition that another person can reproduce.
2. Fix the market and dates
Choose the pair, timeframe and date range before seeing the result. Keep a later period untouched for confirmation.
3. Include costs and trade count
A high-frequency rule can look profitable before spread. Always show net pips and the number of trades beside win rate.
4. Compare a control
Test the default against nearby values or a simpler rule. Something always finishes first when there is no control.
5. Replay the trades
Open winners and losers on the chart. This catches fill assumptions and conditions that the summary table hides.
6. Confirm, do not optimize again
Run the chosen rule on untouched dates or another pair. If you tune again, it is development data again.
Practical guides
Concrete examples of building rules, logging practice and choosing a tool.
- How to Backtest a Forex Strategy Without CodingSet entry and exit conditions in Formiq, check individual trades and drawdown, then test unchanged rules on another period to assess the selected settings.
- Free Forex Testing Software: Features and LimitsCompare free forex testing tools by replay controls, backtest conditions, historical data, usage limits and trade records, with steps for trying Formiq.
- Forex Replay Practice: Rules, Trade Notes and ReviewA forex replay practice guide covering entry rules, skipped trades, journal notes, win rate and average profit or loss, plus checks on unseen historical data.
- Forex Practice on iPhone: Replay and Trade NotesStart forex replay practice on iPhone, adjust the chart display, record entry and exit decisions, and review your trade history in Formiq on a larger screen.