1988issue C091-8
Average directional index construction: recursive smoothing and lookback offset
A finished average directional index is treated here as a construction experiment. The published 14-bar recursion is frozen so a replica can be checked, then a true drop-off window and a complete first-bar offset are swapped in to see which averaging choices move the same inputs.
- A 14-bar lookback is presented as the default half-cycle length for an observed 28-bar cycle, and that default is treated as changeable.
- Recursive smoothing updates a 14-bar true-range total by subtracting one-fourteenth of the prior sum and adding the newest observation, instead of dropping the oldest value from a fixed window.
- A lookback offset that starts the first true-range total on the first price row leaves only 13 true-range observations in that window and can keep later 14-bar averages on a 13-observation base.
- Algebraic gaps between these averaging choices are not treated as proof that the published shortcuts help or hurt a later trading rule.
A construction experiment
The finished average directional index is the completed output of a directional-movement construction. This article holds that finished series still, freezes the published 14-bar recursion so a replica can be checked, and then changes only the averaging choices that sit underneath it.
A true drop-off window and a complete first-bar offset are the two swaps under review. The question at this stage is which of those choices move the same inputs, not which choice later wins an out-of-sample comparison.
Default lookback
A 14-bar lookback is presented as the default half-cycle length corresponding to an observed 28-bar cycle. That default is treated as changeable, so the construction can be rebuilt on another named window without changing what the finished output is meant to be.
How the finished output is assembled
Plus and minus directional indicators are the corresponding 14-bar directional-movement totals divided by the 14-bar true-range total and scaled by 100. Those two series are then drawn as crossing lines.
Daily directional index is the absolute gap between those two indicators divided by their sum and scaled by 100. The first average directional index is the 14-bar mean of that daily index. Later values blend thirteen parts of the prior average with the newest daily index.
Recursive smoothing versus a drop-off window
The published 14-bar sum updates by subtracting one-fourteenth of the prior sum and adding the newest daily true range. It does not drop the oldest observation from a fixed window. Directional movement is accumulated on that same 14-bar recursion.
Comparing that recursive sum with a conventional moving sum produced differences as large as 15 percent when the observation that would have left the window was far from the series average.
Lookback offset in the first window
Lookback offset is the choice of which first row enters a named 14-bar window. Starting the first 14-bar true-range total from the first price row, instead of the first true-range row, leaves only 13 true-range observations in that initial window.
Applying the one-fourteenth subtraction from the first update onward keeps later 14-bar averages on a 13-observation base. A complete-window alternative differed by as much as 13 percent.
Staggered starting rows
Completing the module requires different components to start on different rows, including the first, second, fourteenth, and twenty-eighth observations. True range, directional movement, and the average directional index do not share one offset, so a replica has to keep those starts separate if the finished series is to be checked.
What the algebraic gaps do not prove
Algebraic discrepancies alone are not treated as proof that the published shortcuts help or hurt a later trading rule. That question is deferred to tests of finished variants on multiple contracts.
All readings on this track · 56 readings
- 1986Cycle-aligned directional trend indicator
- 1987What crossover and directional entry rules actually compare
- 1988A directional-line cross needs a trend filter, an extreme-point rule, and a dollar stop
- 1988Constructing true range by offset addressing
- 1988Constructing directional movement from bar range
- 1988Average directional index construction: recursive smoothing and lookback offset
- 1988Staged Average Directional Index construction with Relative Strength Index confirmation and stop alerts
- 1988Average Directional Index construction with frozen true range and directional rules
- 1991Constructing the average directional index from range expansion and true range
- 1991Constructing five-session forecasts from stochastic, ADX, and MACD inputs
- 1993Constructing the average directional index from directional movement and true range
- 1993Confirming n-bar breakouts with ADX and DX filters
- 1994Constructing a Bollinger band-width trend filter
- 1994A pre-trade checklist that can refuse a long three ways
- 1997An ADX threshold and a moving average as a trend filter
- 1998Regime filters for mutated indicators
- 1999Building the average directional index from range extension and true range
- 2000Evaluating ADX, RSI, and moving averages in a multi-stock warehouse
- 2000Stochastic pop as a filtered continuation setup
- 2000Onset and exit from one average directional index
- 2002Joint ADX and MACD readout for trend strength and direction
- 2003Adaptive Donchian breakout with implied volatility and volume
- 2004The average directional index as a regime gate for the relative strength index and the stochastic oscillator
- 2004Constructing true-range-specified volume as a directional filter
- 2005Constructing a multi-filter penny stock breakout procedure
- 2005Construct one playbook that flips with session regime
- 2005Combining Bollinger Bands, the average directional index, and Fibonacci retracement on currency pairs
- 2006Assembling an adaptive price zone from double-smoothed averages
- 2006An ADX strength gate for MACD and the stochastic oscillator
- 2007Directional movement as a filter plus trigger
- 2007Constructing a veto-first trend permission stack
- 2007ADX gates for trend end, range, and reversal
- 2008Constructing a nine-cell directional-ratio grid
- 2008Average directional index and directional trend indicator lookbacks as trend-filter parameters
- 2008A holding-matched market lens from averages and directional-line crosses
- 2008A nine-cell directional scoreboard for multi-horizon entries
- 2010Building a Vortex Indicator from high-low distances
- 2010Constructing ADX, RSI, and MACD price filters
- 2011Constructing a volume zone oscillator with a moving-average and Average Directional Index regime filter
- 2011A volume zone oscillator conditioned by an Average Directional Index filter
- 2011Candlestick names need volume-price, ADX, and moving-average checks
- 2012Clustered average-directional-index traces as a trend-start filter
- 2012Average Directional Index cluster filters for trend-start signals
- 2012Confirming a trend start or turn with a triple ADX cluster
- 2013Constructing a late-entry stack from a signed DMI oscillator
- 2013A directional oscillator and its stochastic as a stacked timing filter
- 2013ADX cluster lookbacks are a locked specification, not a chart label
- 2013Combining moving averages, stochastics, and ADX in a daily scan
- 2015Assembling the Average Directional Index from directional movement
- 2016How an Average Directional Index filter and a breakout entry form one procedure
- 2016Score RSI and stochastic crossings only when ADX confirms the trend
- 2018Constructing an ADX filter for intraday breakouts
- 2018An ADX volatility gate for prior-day breakouts
- 2019Exponential deviation bands with a moving average, RSI and ADX
- 2020A normalized-slope trend filter from linear regression
- 2020Gating volatility-momentum divergences with a Trend filter