Opening it and the main settings
Open View → Strategy Tester (or Ctrl+R). On the Settings tab:
- Expert: the EA to test.
- Symbol and Timeframe: where the EA runs.
- Date: the test period. A few weeks rarely covers different market conditions.
- Deposit and Leverage: close to your real account.
- Delays: execution delay; choose a random or fixed delay to be realistic.
Modelling modes
| Mode | What it does |
|---|---|
| Every tick based on real ticks | Most accurate; uses the broker's real ticks and spreads. Slower and needs tick history. |
| Every tick | Ticks are simulated from M1 candles. |
| 1 minute OHLC | Only the four prices of each M1 candle; fast, for first passes. |
| Open prices only | Only candle opens; only for EAs that decide at the start of a candle. |
For an EA with tight stops, trailing or intra-candle management, only the tick-based modes give reliable results.
Make costs realistic
If you don't use real ticks, set the spread manually to a typical value (not the lowest). Commission on ECN accounts must be included too; see its effect in spread and commission.
Reading the report
- Profit Factor: gross profit divided by gross loss.
- Expected Payoff: the average result per trade.
- Maximal drawdown (balance and equity): the deepest fall; equity includes floating losses.
- Recovery Factor: net profit divided by maximal drawdown.
- Number of trades: a few dozen trades can't tell you much about a strategy.
Look at the balance curve too: a smooth climb during one short period followed by a sharp fall suggests the strategy depends on particular market conditions.
Optimisation and the risk of overfitting
The Optimization tab tries parameters over ranges you set (complete or with the genetic algorithm). The main danger is finding parameters that only fit the past.
- Use the Forward option: part of the period (say the last third) is kept aside as an out-of-sample test.
- Prefer parameters whose neighbours also do well, not one lucky value.
- The fewer the parameters, the lower the chance of overfitting.
After the backtest
A good backtest does not guarantee future results. The next step is running small on a demo or small live account and comparing results with the backtest. UMBRA runs in the Strategy Tester without a license key and opens test entries for demonstration, so you can see its position sizing and stop management before buying.