How to Backtest a Forex Strategy Without Coding
Set entry and exit conditions in Formiq, check individual trades and drawdown, then test unchanged rules on another period to assess the selected settings.
Formiq's backtester lets you build trading rules by selecting indicator conditions. Choose a currency pair, timeframe, date range and trading costs, then inspect both aggregate results and individual trades.
Set entry and exit conditions
The following is an input example, not a strategy with verified profitability.
| Item | Example setting |
|---|---|
| Long entry | EMA(9) crosses above EMA(21), and RSI(14) is greater than 40 |
| Stop loss | 30 pips |
| Take profit | 60 pips |
Check the pair, timeframe, date range and spread before running. When comparing a change, keep the other settings fixed.
Read the result metrics together
Check net profit, win rate, average winning and losing trade sizes, profit factor, maximum drawdown and trade count. A high win rate can still produce a net loss if losing trades are much larger than winning trades.
Profit factor divides gross profit by the absolute value of gross loss. A high value does not establish stability when there are few trades or when profit comes mainly from one large price move.
Inspect entries and exits on the chart
Open trades from the results on the chart and check whether entry and exit locations match the intended rule. Aggregate statistics can conceal input mistakes or trades concentrated in a short historical period.
Also inspect candles that reach both a stop and a target. The order of price movements within the candle can affect the result, depending on the backtest's execution assumptions.
Separate selection from evaluation
Repeatedly changing parameters on one date range and choosing the most profitable result increases the chance of selecting conditions that fit that particular history. After selecting settings, run them unchanged on a separate period.
The QQE study compares a setting selected in one year with its results in another year. Save the second result even when performance deteriorates.
Check whether the builder can express your rule
The builder supports its available conditions and exit methods. If your rule requires external data or custom order management, check whether those requirements are supported. Substituting a similar condition tests the substitute, not the original rule.
Check usage and data availability
The pricing page lists the free plan's run limits. Check the chart for the historical date range available for your test.
Backtests calculate results from past prices and execution assumptions. They do not guarantee future profit or live execution prices. Open the chart to set conditions.
Formiq is a free browser-based FX terminal with replay practice and no-code backtesting. Open the chart or see what the free plan includes.