1991issue C011
Constructing a mechanical crossover on a synthetic price series
An object-oriented programming environment generated stock charts and synthetic price series, then handed the same path to rule-driven evaluation. Modeling and plotting sat in no more than 100 lines of code, with a few more lines to write a file a technical-analysis package could read.
- Object-oriented modeling put market models, stock charts, and rule-driven evaluation in one construction environment rather than in a separate analysis package.
- A moving-average crossover sat inside a mechanical trading system: one rerunnable procedure for entry, exit, and abstention on a stated series.
- Synthetic price series were generated on the bench and then examined with subscriber analysis software, including a search for a moving-average crossover setting on the invented path.
- File export took four or five lines of code, and a small extra method could write a then-common technical-analysis package format.
A bench that invents the series
An object-oriented programming language was used as the construction environment for market models, stock charts, and rule-driven evaluation. Object-oriented modeling here means representing prices, charts, and rule evaluators as reusable program objects rather than as one-off spreadsheet cells.
A moving-average crossover turns a shorter average crossing a longer average into an explicit long, short, or flat signal. The archive placed that rule inside rule-driven evaluation: coded signal rules applied to a series so results can be plotted, exported, or optimized as one procedure.
What the environment supplied
That language was judged relatively unfamiliar to most computer-based market technicians at the time of writing. The environment was presented as cheaper than typical analysis programs, with a retail offering below 100 dollars, and as comparatively simple to learn.
Built-in graphics produced the stock charts, which were captured from a 286-class computer with a CGA display. EGA or VGA was described as enabling full-color charts.
From plot to file to search
Aside from some analysis performed in a spreadsheet, the modeling and plotting work was done in no more than 100 lines of code. Sending generated series to a file instead of, or in addition to, plotting them was described as requiring only four or five lines of code. A small extra method could write those files in a then-common technical-analysis package format.
Synthetic price series were generated in that environment. Those series are computer-generated pseudo-market data used to build and test rules independently of any listed security. They were then examined with subscriber analysis software, including a search for a moving-average crossover setting that treated profit on the invented series as the historical objective. That step is system optimization: a search over rule parameters on a fixed series to locate settings that maximize a chosen historical objective.
A mechanical trading system is a single procedure that binds entry, exit, and abstention to stated inputs so the whole path can be rerun without discretion. The same generated series was plotted, written to a file, and examined in subscriber analysis software.
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