EUR/USD Backtesting: Testing Currency Strategy Rules
EUR/USD expresses US dollars per euro. A backtest must distinguish a midpoint candle from executable bid and ask quotes: a long position opens on the ask and closes on the bid. Mixing those prices can make a small forex strategy look profitable before any genuine execution advantage exists.
Worked example
Hypothetical numbers for checking the rule and arithmetic. These are not live prices, observed backtest results, or a recommended trade. The example is a research specification; check supported settings before applying it in a simulator.
Assume a contract specification of 100,000 EUR per standard lot, so 0.1 lot is 10,000 EUR. Buying at 1.1000 and selling at 1.1050 earns 50 pips. At this quantity one 0.0001 pip is worth 1 USD, so gross profit is 50 USD. If both displayed prices are midpoints and the spread is a constant 1.2 pips, the round-trip spread allowance is 1.20 USD, leaving 48.80 USD before commission and overnight financing.
| Input or calculation | Value |
|---|---|
| Quantity | 10,000 EUR |
| Entry | 1.1000 USD/EUR |
| Exit | 1.1050 USD/EUR |
| 1 pip | 0.0001 USD/EUR × 10,000 EUR = 1 USD |
| Gross price profit | 50 USD |
| Modeled cost | 1.2 × 1 = 1.20 USD |
| Profit after stated cost | 48.80 USD |
How to use this experiment
If your input already contains actual ask-entry and bid-exit fills, do not subtract that spread again. Keep the account-currency conversion, lot definition and pip size in the report; a contract labelled EURUSD by another broker may have different minimum sizes or costs. The calculation here assumes a USD account and no conversion charge.
For an H1 test, record the data source and timezone, identify missing weekend bars, and separate ordinary-session trades from news or rollover trades. Run wider-spread variants on identical signals. Check whether an apparent edge survives those periods rather than averaging them into a single cost. EUR/USD data availability depends on the selected provider; this guide is a worked methodology, not a claim that a specific broker feed is included.
Continue the research
Research sources
References
Risk note
Simulations can omit execution costs and gaps. Historical results do not guarantee future outcomes.
Backtest Trading
Backtest Trading · iOS & Android
Run another setup, inspect every simulated trade, and keep your strategy research close at hand.