Paper: arXiv 2602.10785

Authors: Tomasz Mroziewicz, Robert Ślepaczuk

Abstract

This study introduces a novel approach to walk-forward optimization by parameterizing the lengths of training and testing windows. We demonstrate that the performance of a trading strategy using the Exponential Moving Average (EMA) evaluated within a walk-forward procedure based on the Robust Sharpe Ratio is highly dependent on the chosen window size. We investigated the strategy on intraday Bitcoin data at six frequencies (1 minute to 60 minutes) using 81 combinations of walk-forward window lengths (1 day to 28 days) over a 19-month training period. The two best-performing parameter sets from the training data were applied to a 21-month out-of-sample testing period to ensure data independence. The strategy was only executed once during the testing period. To further validate the framework, strategy parameters estimated on Bitcoin were applied to Binance Coin and Ethereum. Our results suggest the robustness of our custom approach. In the training period for Bitcoin, all combinations of walk-forward windows outperformed a Buy-and-Hold strategy. During the testing period, the strategy performed similarly to Buy-and-Hold but with lower drawdown and a higher Information Ratio. Similar results were observed for Binance Coin and Ethereum. The real strength was demonstrated when a portfolio combining Buy-and-Hold with our strategies outperformed all individual strategies and Buy-and-Hold alone, achieving the highest overall performance and a 50 percent reduction in drawdown. A conservative fee of 0.1 percent per transaction was included in all calculations. A cost sensitivity analysis was performed as a sanity check, revealing that the strategy’s break-even point was around 0.4 percent per transaction. This research highlights the importance of optimizing walk-forward window lengths and emphasizing the value of single-time out-of-sample testing for reliable strategy evaluation.

Complexity vs Empirical Score

  • Math Complexity: 3.0/10
  • Empirical Rigor: 8.5/10
  • Quadrant: Street Traders — practical and empirical, lighter on theory

Why this score: The paper provides a highly rigorous empirical evaluation of walk-forward window optimization using extensive intraday cryptocurrency data, multi-asset out-of-sample testing, cost sensitivity, and bootstrapping. While mathematically straightforward (focusing on simple EMA crossovers and empirical ratios), its methodologies are thoroughly executed, and a public GitHub repository ensures exceptional reproducibility.

Research Flowchart

  flowchart TD
    A["Research Goal: Optimize Trading Strategy via Dynamic Walk-Forward Windows"] --> B["Data Inputs: Intraday BTC, BNB, & ETH<br/>(1m to 60m Frequencies)"]
    B --> C["Training Phase (19 Months, BTC):<br/>Optimize EMA & Window Sizes (1-28 Days)<br/>Select Top 2 Parameter Sets via Robust Sharpe"]
    C --> D["Out-of-Sample Testing (21 Months):<br/>Execute Selected Parameters Once on BTC, BNB, & ETH"]
    D --> E["Validation & Sensitivity Check:<br/>Evaluate Fee Costs (Break-even ~0.4%)"]
    E --> F["Key Outcome: Combined Strategy + Buy & Hold<br/>Outperforms Individual Strategies with 50% Less Drawdown"]

Cited References (36)

  1. Technical trading rules in the cryptocurrency market (2020) — link
  2. Moving averages trading method applied to cryptocurrencies (2019)
  3. A New Anomaly: The Cross-Sectional Profitability of Technical Analysis (2013) — link
  4. Trend following with momentum versus moving averages: a tale of differences (2020)
  5. Tactical Investment Algorithms (2019) — link
  6. Naive Trading Rules in Financial Markets and Wiener-Kolmogorov Prediction Theory: A Study of “Technical Analysis.” (1991) — link
  7. What do we know about the profitability of Technical Analysis? (2007) — link
  8. A literature review of technical analysis on stock markets (2017) — link
and 28 more
  1. Profitability of technical trading rules among cryptocurrencies with privacy function (2020) — link
  2. A systematic review of fundamental and technical analysis of stock market predictions (2020) — link
  3. Technical analysis strategy optimization using a machine learning approach in stock market indices (2021) — link
  4. Convolution on neural networks for high-frequency trend prediction of cryptocurrency exchange rates using technical indicators (2020) — link
  5. Liquidity and market efficiency in cryptocurrencies (2018) — link
  6. Intraday return predictability in the cryptocurrency markets: Momentum, reversal, or both (2022) — link
  7. A new forecasting model with wrapper-based feature selection approach using multi-objective optimization technique for chaotic crude oil time series (2020) — link
  8. A reality check on trading rule performance in the cryptocurrency market: Machine learning vs. technical analysis (2021) — link
  9. Testing the predictive ability of technical analysis using a new stepwise test without data snooping bias (2010) — link
  10. Technical analysis as the representation of typical cognitive biases (2004)
  11. Rise of the machines? Intraday high-frequency trading patterns of cryptocurrencies (2021) — link
  12. Machine Learning Methods in Algorithmic Trading Strategy Optimization – Design and Time Efficiency (2019) — link
  13. Modelling, forecasting and trading with a new sliding window approach: the crack spread example (2016) — link
  14. Walk-Forward Analysis (2012) — link
  15. A bootstrap evaluation of the effect of data splitting on financial time series (1998) — link
  16. Bootstrapping Financial Time Series (2002) — link
  17. The stationary bootstrap (1994) — link
  18. A General Resampling Scheme for Triangular Arrays of α-Mixing Random Variables with Application to the Problem of Spectral Density Estimation (1992) — link
  19. The 1977 RIETZ lecture (1979)
  20. Momentum and contrarian effects on the cryptocurrency market (2019) — link
  21. Does the choice of performance measure influence the evaluation of hedge funds? (2007) — link
  22. Mutual Fund Performance (1965) — link
  23. Technical analysis in cryptocurrency markets: Do transaction costs and bubbles matter? (2022) — link
  24. The Efficacy of the Sortino Ratio and Other Benchmarked Performance Measures Under Skewed Return Distributions (2008) — link
  25. Daily and intraday application of various architectures of the LSTM model in algorithmic investment strategies on Bitcoin and the S&P 500 Index (2023)
  26. The behavior of stock-market prices (1965)
  27. Simple technical trading rules and the stochastic properties of stock returns (1992)
  28. Robust optimisation in algorithmic investment strategies (2021) — link

0 of 36 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.