1997issue C111-4
Regime-dependent long and short rules in mechanical systems
A mechanical-trading-system can hide two markets if long and short trades are scored as one book. Split the sides so trend-following and mean-reversion rules are judged under the regime that produces their signals.
- A mechanical buy rule is testable only after every threshold, including an advance-decline-ratio of one, is read as a numeric condition that must hold for the full lookback-period.
- Regime-dependence means long and short sides, or bullish and bearish stretches, need not share the same parameters or the same test results.
- A long-short-split-test evaluates long trades and short trades as separate samples instead of one combined book.
- Trend-following and mean-reversion logic can be judged only after the mechanical-trading-system is fully specified in executable form.
A combined book can hide two markets
A mechanical-trading-system is a fully specified set of entry, exit and abstention rules that can be tested as one procedure. That single procedure still has two sides. A reader asked whether mechanical tests should be run separately for long and short positions because up and down markets are often described as having distinct structure.
Editorial reading: one rulebook can hide two markets when long and short trades are scored together. A long-short-split-test treats each side as its own sample. Trend-following enters and holds with the prevailing directional move and should be judged where that move produces the entry. Mean-reversion fades an excursion toward a reference level once that excursion is defined by rules, and should be judged where the defined excursion produces the fade. Regime-dependence is the name for that split.
Read every threshold as a number
A published mechanical buy rule used an advance-decline-ratio that had to be greater than or equal to the numeric value one on every day of a stated lookback-period. Clarifying that rule required reading one as a threshold value, not as a label, so the condition is an advance-decline-ratio at or above 1 for the entire lookback.
Readers asked for implementations of published rules in more than one programming environment. That request shows a mechanical-trading-system is only testable after its logic is fully specified in executable form.
Equal oscillator bands do not imply equal sides
The same letter noted that most oscillators place overbought and oversold bands at equal distances and that many systems are tested with long and short rules applied together. That letter argued a market with a long-term upward bias would likely need different parameters for long positions than for short positions.
Editorial reading: symmetric oscillator bands and a combined long-short book assume the two sides share structure. The letter’s upward-bias point is a reason to drop that assumption and run a long-short-split-test.
A pattern is not a rule until it can be run
Encoding chart formations as a single software line was described as difficult because pattern identification, marking and projection resist reduction to one simple coded rule.
Editorial reading: until identification, marking and projection are written as executable conditions, a chart formation is not yet a mechanical-trading-system, and neither a trend-following nor a mean-reversion reading of it can be tested under a stated regime.
All readings on this track · 36 readings
- 1986A futures fade as one range, order, and secrecy procedure
- 1992Constructing the mass-index range-reversal procedure
- 1993Switch trend following and mean reversion with an equity-curve filter
- 1994Evaluating weekly trend-following and mean-reversion timing rules
- 1996Dual-horizon bands for a precious-metals cash switch
- 1997Constructing a moving regression oscillator
- 1997Regime-dependent long and short rules in mechanical systems
- 2002A same-session pair book with a morning-fixed volatility envelope
- 2004Combining noncorrelated trend and reversion systems
- 2004Failed-breakout overlays on trending markets
- 2004Rank rotation after a path split, then Robustness testing
- 2004Range-bound tape as a filter for trend and oscillator rules
- 2005A moving-average short pullback that is only in scope in a decline
- 2006Constructing an adaptive price zone from a double-smoothed range
- 2007Two-period relative strength index versus a one-week universe baseline
- 2008Building ETF mean-reversion entries with a two-bar washout
- 2008Rebuild a short-period stochastic as a premier stochastic oscillator
- 2008A three-market regime map for equity bounces and dollar cycles
- 2009Option trade adjustment as one testable procedure
- 2010Implied volatility as a May 2010 market-regime lab for the S&P 500
- 2011Treat a large one-day move as a classified event
- 2011Long-call exits, volatility regimes, and spread assignment
- 2011Pairing same-horizon oscillators with a walk filter
- 2012Two-bar band extreme entries with trailing stops
- 2012An eight-month average as a monthly gate for high-yield bonds
- 2014Complete the checklist before the trade
- 2014Coded rules should face one test, not a kinder sample
- 2015Build a mean-reversion basket from one correlation path
- 2015Index dip reversion is horizon and regime dependent
- 2016Treat the end of a trend as a handoff, not a broken system
- 2017A testable half-swing pullback for trend continuation
- 2017Evaluating four swing detection rules for mean reversion
- 2018Intraday breakout and mean reversion as one rule set
- 2018Evaluating rare consecutive-close mean-reversion entries
- 2020Moving-average baselines, price vetoes, and mean reversion
- 2020Two-dimensional FX scaling for trend and reversal systems