2007issue C031-5
Next-bar SMA crossover hypotheses from theoretical crossing values
Invert a 20-bar and 30-bar simple moving average pair into a theoreticalCrossingValue, then store a close or oscillator crossing of that reading as a nextBarHypothesis. Keep confirmedCrossover on a separate clock so the call can be scored, filtered, and tallied across a quotation universe.
- A dualLookbackPair of 20-bar and 30-bar simple moving averages can be inverted into a theoreticalCrossingValue, the reconstructed reading at which the two averages would meet.
- A nextBarHypothesis is stored when the close or oscillator crosses that meeting value, with descending and ascending signs set by which series crosses above the other.
- A confirmedCrossover is the later average-on-average event, kept on a separate clock so the hypothesis can be scored rather than only drawn.
- An extremeMoveFilter, a three-bar early-warning rule, a stochasticAverageVariant, and a compositeMarketShare tally keep the same construction usable as a scored forecast.
Invert the dual lookback into a meeting value
The historical workflow computes a dualLookbackPair: a shorter simple moving average over 20 closes and a longer simple moving average over 30 closes.
A theoretical meeting value is formed from those two averages and their lookbacks. That reading is the theoreticalCrossingValue, the reconstructed close at which the shorter and longer simple moving averages would meet.
Store a next-bar hypothesis
A close that crosses the theoreticalCrossingValue is stored as a nextBarHypothesis, a candidate average crossover for the following session.
A descending hypothesis is recorded when the theoretical meeting value crosses above the close. An ascending hypothesis is recorded when the close crosses above the theoretical meeting value.
Keep confirmation on a separate clock
Confirmation is defined separately from the hypothesis. A descending confirmedCrossover is the longer average crossing the shorter average. An ascending confirmation is the reverse.
The later event, in which the two moving averages themselves cross, is the realization against which a hypothesis is scored.
Discard extremes and age the call
A theoretical meeting value is treated as unusable when it falls outside coefficients equal to one plus twice the 800-bar high or low of one-bar rate of change, scaled as a percent of the close. That guard is the extremeMoveFilter: it discards a theoreticalCrossingValue that sits outside bands built from doubled multi-hundred-bar extremes of one-bar rate of change.
If more than three bars have passed since the last confirmed average cross, the sign of the gap between the theoretical meeting value and the close is used as an early warning rather than a next-bar call.
Repeat the construction on a stochastic oscillator
Replacing the close with a stochastic oscillator series and repeating the 20-bar and 30-bar averages plus the same theoretical-value formula produces a stochasticAverageVariant, an analogous oscillator-crossover construction.
Each oscillator-based hypothesis is later labeled by whether a matching confirmed average cross occurs one, two, or three bars afterward, on the same bar, or outside that window.
Tally hypotheses as market share
Hypothesized and confirmed crosses are accumulated into composite series and expressed as percentages of the names in the scanned quotation universe. That compositeMarketShare is a breadth-style tally that stores the same events across the observed names and rescales them by the number of names observed.
All readings on this track · 57 readings
- 1988Constructing moving averages: weights, smoothing and crossovers
- 1988Constructing breadth and average trend states
- 1989Evaluating an always-in-the-market moving-average crossover
- 1989Constructing symmetric market-breadth ratio accumulators
- 1989Objective crossover tests of Fibonacci wave ratios
- 1990Volume-adjusted moving average construction
- 1991Constructing a mechanical crossover on a synthetic price series
- 1991A two-speed breadth reading for intermediate market direction
- 1992A Deutschemark yield map with dual-average and relative-strength timing
- 1992Confirming currency-fund trends with a crossover and a filter
- 1992A moving-average slope filter for crossover signals
- 1992Occupancy and split-sample tests for average crossovers
- 1994Gold-mining seasonality and bond-fund duration switching
- 1994Price oscillator from two moving averages
- 1995Explicit exponential weights and binary entry filters
- 1996Currency futures crossover with slope, bond filter, and stop
- 1996Two-market average crossover entry with a fixed stop
- 1997Construction of a filtered three-average crossover
- 1998Two-group exponential average compression as a trend filter
- 1998Constructing r-squared trend filters with dual lookbacks
- 1998Moving-average length is a habit, not a secret
- 1999Solving the close that triggers a moving-average crossover
- 2000Kagi yang and yin control versus crossover noise
- 2000Constructing simple moving average crossover filters
- 2000Building a vertical-horizontal filter to gate trend signals
- 2000Two-average crossover as a check on trend following
- 2003Stacked exponential-average retracement entries and extreme stops
- 2003Evaluating oscillator thresholds against optimized crossovers
- 2004Constructing a semicycle trend-quality filter
- 2004Commodity subgroups labeled by crossover, support, or convergence
- 2004Full-window evaluation of crossover trend systems
- 2004Two-average trend filters as a classroom critique of indicator stacking
- 2005Three-layer confirmation from a moving-average cross, candles, and Q-stick
- 2005Charting put prices beside an equity breakdown
- 2005Range-gated moving-average crossover construction
- 2007Anticipating a simple-average crossover with a threshold-close
- 2007Anticipating moving-average crossovers one bar ahead
- 2007Lead-series moving-average crossovers with a stochastic and relative strength index
- 2007Next-bar SMA crossover hypotheses from theoretical crossing values
- 2007Anticipating a moving-average crossover before confirmation
- 2007A three-horizon moving-average stack as a construction problem
- 2007Confirming trend with regression slope and r-squared
- 2008Constructing a multi-timeframe smoothed crossover
- 2008Best-day clusters versus trend filters
- 2008Allied markets as a confirmation gate for crossover and breakout signals
- 2008Weekly exponential-average crossover as a mechanical trend case study
- 2010Evaluating a 200-day crossover as long, short, and stand-aside rules
- 2010Read a 10-and-40 trend on two neighboring time frames
- 2012Sampling unit as a first-class parameter on dual simple moving averages
- 2012Constructing index-ETF entries from volatility-index persistence
- 2013Moving-average baselines versus crossover signals
- 2013Constructing a typical-price and heikin-ashi crossover as one mechanical procedure
- 2016A three-gate checklist for longs after a sharp drop
- 2016Weekly inflation-ratio crossover for commodity regimes
- 2017Normalized Laguerre zero-axis warning as a two-marker construction
- 2019Range-weighted construction of an adaptive exponential moving average
- 2020Construct a second-pullback entry after a moving-average crossover