Skip to main content
Track Moving-average crossover
36 / 57
Library

2007issue C021-6

Anticipating a simple-average crossover with a threshold-close

A K-period simple-moving-average can be written from the latest close and the previous shorter average, so the next-bar pair of averages is determined once the next close is known. Solving for the close that equalizes two averages produces a threshold-close that can be scored as a one-bar-ahead moving-average-crossover hypothesis.

  • A K-period simple-moving-average can be written from the latest close and the previous (K-1)-period average, so the next-bar pair of averages is determined once the next close is known.
  • Setting the next-bar K-period and P-period simple-moving-averages equal produces a threshold-close. A descending-cross hypothesis is the threshold-close crossing the close, and an ascending-cross hypothesis is the close crossing the threshold-close.
  • The threshold-close can fall far outside a realistic next close, so some computed crossings are mechanically implausible and should not be treated as tradable conditions.
  • On NASDAQ 100 members from January 2000 through July 2003, 20-day versus 30-day tests produced 1772 descending and 1766 ascending predictions, with next-bar confirmation of 85.79% and 88.09% and same-sample false rates of 2.19% and 2.31%.
Entries in this reading2 entries

How the next-bar averages are determined

A simple-moving-average is the equal-weighted average of the most recent closes over a chosen lookback. A K-period simple-moving-average can be written from the latest close and the previous (K-1)-period simple-moving-average. Once tomorrow's close is known, the next-bar pair of averages is therefore determined.

Solving for the threshold-close

Setting the next-bar K-period and P-period simple-moving-averages equal and solving for that close produces an explicit threshold-close in the predecessor averages and the two lengths. The threshold-close is the next-bar close that would make two chosen simple-moving-averages equal, derived from their one-bar-shorter predecessors.

For lengths 20 and 30, the equality condition simplifies to a linear combination of the 29-period and 19-period simple-moving-averages.

Crossover-anticipation on the chart

A moving-average-crossover is the event in which a shorter simple-moving-average and a longer simple-moving-average become equal and then change order. On a daily NASDAQ 100 chart with 20-day and 30-day simple-moving-averages, a close crossing the threshold-close series typically appears one bar before the two averages cross.

Crossover-anticipation uses a close-versus-threshold-close cross as a one-bar-ahead hypothesis that the simple-moving-averages will later touch. The construction defines a descending-cross hypothesis when the threshold-close crosses the close, and an ascending-cross hypothesis when the close crosses the threshold-close.

Accuracy-lag-buckets and same-sample scores

Each hypothesis is scored by an accuracy-lag-bucket: whether the matching average cross arrives on the next bar, one bar later, two bars later, on the same bar, or never. Last-bar open predictions are counted as false.

On NASDAQ 100 members from January 2000 through July 2003, 20-day versus 30-day simple-average tests produced 1772 descending and 1766 ascending threshold predictions, with same-sample false rates of 2.19% and 2.31%. In that same sample, 85.79% of descending predictions and 88.09% of ascending predictions were confirmed on the immediately following bar.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
36 of 57 in the Moving-average crossover track
20071-10 pp.Next on Moving-average crossoverAnticipating moving-average crossovers one bar aheadA K-period simple moving average is a convex combination of the newest close and the previous (K-1)-period average, so tomorrow's averages are linear in the still-unknown close.
All readings on this track · 57 readings
  1. 1988Constructing moving averages: weights, smoothing and crossovers
  2. 1988Constructing breadth and average trend states
  3. 1989Evaluating an always-in-the-market moving-average crossover
  4. 1989Constructing symmetric market-breadth ratio accumulators
  5. 1989Objective crossover tests of Fibonacci wave ratios
  6. 1990Volume-adjusted moving average construction
  7. 1991Constructing a mechanical crossover on a synthetic price series
  8. 1991A two-speed breadth reading for intermediate market direction
  9. 1992A Deutschemark yield map with dual-average and relative-strength timing
  10. 1992Confirming currency-fund trends with a crossover and a filter
  11. 1992A moving-average slope filter for crossover signals
  12. 1992Occupancy and split-sample tests for average crossovers
  13. 1994Gold-mining seasonality and bond-fund duration switching
  14. 1994Price oscillator from two moving averages
  15. 1995Explicit exponential weights and binary entry filters
  16. 1996Currency futures crossover with slope, bond filter, and stop
  17. 1996Two-market average crossover entry with a fixed stop
  18. 1997Construction of a filtered three-average crossover
  19. 1998Two-group exponential average compression as a trend filter
  20. 1998Constructing r-squared trend filters with dual lookbacks
  21. 1998Moving-average length is a habit, not a secret
  22. 1999Solving the close that triggers a moving-average crossover
  23. 2000Kagi yang and yin control versus crossover noise
  24. 2000Constructing simple moving average crossover filters
  25. 2000Building a vertical-horizontal filter to gate trend signals
  26. 2000Two-average crossover as a check on trend following
  27. 2003Stacked exponential-average retracement entries and extreme stops
  28. 2003Evaluating oscillator thresholds against optimized crossovers
  29. 2004Constructing a semicycle trend-quality filter
  30. 2004Commodity subgroups labeled by crossover, support, or convergence
  31. 2004Full-window evaluation of crossover trend systems
  32. 2004Two-average trend filters as a classroom critique of indicator stacking
  33. 2005Three-layer confirmation from a moving-average cross, candles, and Q-stick
  34. 2005Charting put prices beside an equity breakdown
  35. 2005Range-gated moving-average crossover construction
  36. 2007Anticipating a simple-average crossover with a threshold-close
  37. 2007Anticipating moving-average crossovers one bar ahead
  38. 2007Lead-series moving-average crossovers with a stochastic and relative strength index
  39. 2007Next-bar SMA crossover hypotheses from theoretical crossing values
  40. 2007Anticipating a moving-average crossover before confirmation
  41. 2007A three-horizon moving-average stack as a construction problem
  42. 2007Confirming trend with regression slope and r-squared
  43. 2008Constructing a multi-timeframe smoothed crossover
  44. 2008Best-day clusters versus trend filters
  45. 2008Allied markets as a confirmation gate for crossover and breakout signals
  46. 2008Weekly exponential-average crossover as a mechanical trend case study
  47. 2010Evaluating a 200-day crossover as long, short, and stand-aside rules
  48. 2010Read a 10-and-40 trend on two neighboring time frames
  49. 2012Sampling unit as a first-class parameter on dual simple moving averages
  50. 2012Constructing index-ETF entries from volatility-index persistence
  51. 2013Moving-average baselines versus crossover signals
  52. 2013Constructing a typical-price and heikin-ashi crossover as one mechanical procedure
  53. 2016A three-gate checklist for longs after a sharp drop
  54. 2016Weekly inflation-ratio crossover for commodity regimes
  55. 2017Normalized Laguerre zero-axis warning as a two-marker construction
  56. 2019Range-weighted construction of an adaptive exponential moving average
  57. 2020Construct a second-pullback entry after a moving-average crossover
All 108 readings tagged Moving-average crossover
Also on Moving-average crossover5 readings