Optimized Moving Average Smoothing for Volatility Forecasting in Futures Markets
Open Access
Abstract
Common moving averages (MAs) used for volatility forecasting rely on fixed heuristic weights. We propose a Custom Moving Average (CMA) whose weights are learned to forecast the next-day True Range (TR). Using daily OHLC data for 55 futures contracts with a chronological 60/20/20 train/validation/test split, CMA weights are optimized for each look-back period p by projected subgradient descent against Mean Absolute Error (MAE), with validation-based early stopping. We benchmark CMA against nine standard MAs over 62 look-back periods, selecting the period on validation and reporting accuracy on the held-out test set. Learned weights concentrate on an effective horizon of 15–20 observations regardless of p: about 85% of the mass sits in lags 0–14 for both and . EMA is the validation-best method at very short windows; CMA dominates from onwards, winning on 53 of 55 instruments by . Under a single-global-period rule, CMA at attains the lowest test-set geometric-mean MAE, with EMA at the closest competitor (0.87% higher); per-instrument validation selection does not overturn the ranking, with EMA again closest at 0.53%. Higher-order smoothers (T3, TEMA, DEMA) do not improve on CMA under either rule; CMA’s advantage is robust to the choice of selection granularity.
Keywords
This publication has 23 references indexed in Scilit:
- A novel HAR-type realized volatility forecasting model using graph neural networkInternational Review of Financial Analysis, 2024
- Forecasting Crude Oil Volatility Using the Deep Learning‐Based Hybrid Models With Common FactorsJournal of Futures Markets, 2024
- Forecasting realized volatility of crude oil futures prices based on machine learningJournal of Forecasting, 2024
- Information flows and stock market volatilityJournal of Applied Econometrics, 2018
- Volatility forecast comparison using imperfect volatility proxiesJournal of Econometrics, 2011
- Another look at measures of forecast accuracyInternational Journal of Forecasting, 2006
- Volatility Clustering in Financial Markets: Empirical Facts and Agent-Based Models2006
- Value-at-risk versus expected shortfall: A practical perspectiveJournal of Banking & Finance, 2005
- Volatility forecasting for risk managementJournal of Forecasting, 2002
- Generalized autoregressive conditional heteroskedasticityJournal of Econometrics, 1986