Skip to content
Yitsy Mosqueda.
← Back to journal

Is This Strategy Ready for Implementation? A EUR/USD Backtesting Case Study

November 24, 2026 · Architecture · Lessons

Evaluating trading strategies through historical market data, statistical analysis, and structured research.

Project Background

As part of a freelance project, a client approached me with an existing trading strategy for EUR/USD. Before investing in its software implementation, he wanted to understand how the strategy would have performed under historical market conditions.

The request was to conduct a backtesting study using historical market data, evaluate the strategy's behavior, and identify whether its underlying assumptions were supported by the results.

The objective was not simply to calculate historical returns. It was to examine the strategy under different market conditions, evaluate its individual components, identify potential weaknesses, and determine how much confidence could reasonably be placed in its results.

This required a structured research process involving data preparation, hypothesis evaluation, performance measurement, and statistical validation.

The results would provide the client with an objective basis for deciding whether to proceed with implementation, reconsider some of the strategy's conditions, or conduct further research.

1. Understanding the Requirements

The initial requirement was to evaluate an existing EUR/USD trading strategy before translating it into software.

To make that possible, the strategy needed to be broken down into measurable conditions.

The analysis focused on questions such as:

  • How would the strategy have performed using historical EUR/USD data?
  • Did its behavior change across trading sessions?
  • Were there meaningful differences between weekdays?
  • Did specific market conditions influence its performance?
  • Were entry and confirmation conditions contributing positively to the results?
  • How sensitive was performance to changes in strategy parameters?
  • Were the observed results consistent enough to justify further development?

These questions helped define the scope of the backtesting and the additional investigations required to understand the strategy's behavior.

An important consideration was that a strategy can produce positive historical returns without necessarily having a statistically reliable advantage. Therefore, performance alone would not be sufficient to evaluate it.

2. Research Approach and Data Analysis

The research used historical EUR/USD market data, with Python as the primary tool for data processing, analysis, and backtesting.

Rather than evaluating the strategy as a single, indivisible component, the investigation examined different aspects of market behavior and candidate configurations.

The analysis included:

Historical Strategy Performance

Evaluating candidate configurations against historical price movements and measuring their resulting trade performance.

Market Sessions

Investigating whether the strategy behaved differently during the Asian, London, and New York sessions.

Weekday Behavior

Examining whether specific days presented different market characteristics or affected the performance of candidate configurations.

Price Movements and Breakouts

Studying price behavior around established ranges and evaluating whether breakout and confirmation conditions provided useful information.

Parameter Evaluation

Comparing alternative configurations to understand how changes in entry conditions, confirmation requirements, and other parameters affected performance.

Statistical Validation

Measuring expectancy, profit factor, net pips, drawdown, confidence intervals, and the reliability of observed differences.

Each investigation addressed a specific hypothesis or component of the strategy. This made it possible to distinguish between the strategy's overall historical performance and the individual market conditions that might explain its behavior.

3. Evaluating Strategy Performance

One of the most important parts of the project was determining whether positive historical results represented a consistent advantage or were influenced by particular market conditions.

Several configurations produced interesting initial results, but their interpretation required additional evaluation.

EXP-10.4 — Evaluating Candidate Configurations

This analysis compared two candidate configurations against a baseline.

The initial results were positive for both candidates:

Initial results

Variant B also performed better than the baseline in the paired comparison. However, the absolute expectancy confidence intervals for both candidates included zero.

Additionally, when transaction costs were increased in the evaluation, the observed expectancy became substantially weaker.

The results therefore did not establish a statistically reliable positive expectancy. Both candidates remained exploratory rather than validated configurations.

The monthly distribution also showed that performance was not uniform across the evaluation period.

Monthly returns for EXP-10.4

Monthly net returns for EXP-10.4 candidate configurations and baseline. Grey cells represent months without trades. The 2026 data shown runs through November 13.

The weekday comparison provided another perspective on the distribution of results.

Expectancy by weekday

Portfolio expectancy by weekday for the EXP-10.4 configurations. Hatched bars indicate insufficient or very limited samples.

These visualizations helped identify variations in performance, but they did not independently establish that any particular month or weekday offered a reliable trading advantage.

EXP-10.5 — Friday Market Behavior

Another investigation focused specifically on Friday trading conditions.

Two candidate configurations produced positive historical results:

  • Variant A: 30 trades, expectancy of +7.15 pips, profit factor of 2.355.
  • Variant B: 40 trades, expectancy of +4.65 pips, profit factor of 1.691.

Although these figures initially appeared promising, the comparisons did not remain statistically significant after the adjustment for multiple testing.

The sample sizes were also limited.

Consequently, the results were treated as exploratory observations rather than sufficient evidence to establish a reliable Friday-specific rule.

EXP-10.6 — Weekday Market Behavior and Intraday Structure

This study examined EUR/USD M5 market behavior from January 1, 2025, to November 13, 2026.

The analysis covered 485 research days, including 483 complete days.

The results did not establish significant weekday differences in daily market behavior or in the Asia and London session metrics.

Some exploratory observations appeared in New York session range measurements and breakout counts, but these findings were not sufficient to establish robust weekday-specific behavior.

The analysis also had limitations, including overlapping trading sessions and the absence of a clean independent 2026 holdout period.

The main conclusion was that descriptive differences should not be converted into strategy rules without further validation.

EXP-10.7 — London Liquidity and Asian Range Breakouts

This investigation focused on the relationship between the Asian trading range and subsequent price movements during the London session.

Across 484 complete trading days, the analysis identified 243 upside breakouts, 260 downside breakouts, 61 days with breakouts in both directions, and 42 days without either breakout.

An additional analysis examined how acceptance continuation changed with the number of confirmation closes:

  • 1 confirmation close: 64.3%
  • 3 confirmation closes: 70.5%
  • 6 confirmation closes: 76.1%

The results showed a descriptive increase in continuation frequency as confirmation requirements increased.

However, this did not demonstrate that additional confirmation improved trading profitability.

The candidate strategy configurations were subsequently evaluated:

  • Variant A: 449 trades, profit factor 0.705 — Rejected.
  • Variant B: 1,072 trades, profit factor 0.764 — Rejected.
  • Variant C: 56 trades, profit factor 0.884 — Rejected.

None of the tested configurations demonstrated sufficient performance to be considered a validated profitable strategy.

This was an important finding: identifying a recurring market behavior does not necessarily mean that it improves the performance of a trading strategy.

4. Understanding Relationships Between Trading Sessions

Another part of the research examined how directional conditions in one trading session related to subsequent market behavior.

The following visualization illustrates conditional directional frequencies between the Asian, London, and New York sessions.

Conditional directional probabilities between trading sessions

Conditional directional frequencies: London direction given Asian direction, and New York direction given London direction.

These results provide a way to describe how market conditions were distributed across sessions.

However, conditional frequencies should not be interpreted as proof of causality or as standalone predictive signals.

For a trading strategy to use this information, the relationships would need to be evaluated against additional criteria, including sample size, stability, transaction costs, and performance on data not used during the initial research.

5. Research Reports and Traceability

Each research iteration produced structured results documenting the hypothesis, configuration, evaluation metrics, and conclusions.

Maintaining this information was important for several reasons:

  • Comparing different configurations under consistent evaluation criteria.
  • Identifying which hypotheses produced useful observations.
  • Recording rejected or inconclusive approaches.
  • Understanding how parameter changes affected the results.
  • Maintaining traceability between the initial strategy assumptions and the final evaluation.

For example, the consolidated EXP-10.4 report brings together trade counts, net performance, expectancy, profit factor, drawdown, monthly distribution, and confidence intervals.

EXP-10.4 consolidated results

Consolidated comparison of EXP-10.4 variants A, B, and baseline. Both candidate configurations are classified as exploratory; the baseline is rejected.

This reporting process is an important part of a reliable backtesting workflow.

Without consistent records, it becomes difficult to reproduce an analysis, understand why a configuration was accepted or rejected, or determine whether a new result genuinely improves on a previous one.

Traceability also makes it possible to revisit earlier assumptions when new evidence becomes available.

6. Implications for the Software Implementation

The findings have direct implications for how the proposed system should be designed.

A backtesting result should not be treated as a definitive specification for the software. The implementation needs to reflect the strategy's actual rules while allowing those rules and their assumptions to be evaluated independently.

Several architectural capabilities are particularly relevant.

Historical Data Management

A consistent mechanism for collecting, validating, and organizing historical market data across different timeframes.

Strategy Configuration

A structured way to represent trading rules, parameters, entry conditions, exit conditions, and other configurable elements without coupling them to the core application logic.

Backtesting Engine

A component responsible for applying strategy rules to historical data and reproducing the sequence of decisions and outcomes.

Performance Evaluation

Reusable procedures to calculate performance metrics, account for transaction costs, and evaluate risk and consistency.

Experiment Management

The ability to preserve configurations, datasets, execution parameters, and results so that different strategy versions can be compared.

Reporting and Traceability

A way to document assumptions, configurations, metrics, and conclusions associated with each evaluation.

These capabilities would help separate the strategy definition from the backtesting infrastructure and the rest of the application.

From an architecture perspective, this favors modularity and separation of concerns. Data processing, strategy execution, performance evaluation, and reporting should remain distinct components.

It also allows the system to evolve as the client refines the strategy or requests additional evaluation, without requiring fundamental changes to the entire application.

7. Conclusions and Recommendations

The backtesting and research process identified several measurable characteristics of EUR/USD market behavior, but it also showed that not every candidate configuration or observed pattern provided sufficient evidence to support a reliable trading strategy.

Some configurations produced positive historical results, while others were rejected. Several apparently interesting relationships remained exploratory or inconclusive after statistical evaluation.

These findings provide a more realistic picture of what the available historical data can and cannot support.

The work reinforces several important principles:

  • A strategy should be evaluated against explicit criteria before its implementation.
  • Historical performance alone is not sufficient to establish reliability.
  • Strategy assumptions should be translated into measurable conditions.
  • Changes to parameters should be evaluated systematically.
  • Results should be reproducible and traceable.
  • Statistical uncertainty and research limitations should remain visible.
  • Software architecture should allow strategy rules and evaluation procedures to evolve independently.

The purpose of this work was to provide the client with an objective assessment of the strategy's historical behavior, explain the limitations of the findings, and identify technical considerations relevant to its potential implementation.

The decision about whether to proceed, modify the strategy, or conduct further research belongs to the client.

A backtesting study does not need to produce a positive result to be valuable. Identifying weaknesses, rejecting unsupported assumptions, and understanding the limitations of a strategy can prevent development decisions from being based on misleading historical performance.


Project note: The experiments and findings presented are based on the research performed for the project. Historical results do not guarantee future performance. Exploratory findings should not be interpreted as validated trading strategies or financial advice.