Skip to main content
Track Adaptive moving average
10 / 24
Library

1998issue C031-3

Constructing an efficiency ratio adaptive average and entry filter

After a lookback warmup, an adaptive average is updated recursively with a squared blend of fast and slow weights driven by an efficiency ratio. An increment filter, sized from the line's own increment volatility, then requires a rule-based entry to wait until the line has traveled a full band from a running extreme.

  • Until the bar count exceeds the lookback, the adaptive average is seeded to the current price; afterward it equals the prior adaptive value plus an adaptive smoothing factor times the gap to the latest close.
  • The efficiency ratio is absolute net change over the lookback divided by the sum of absolute one-bar changes. It is the blend weight between a fast weight of 0.6667 and a slow weight of 0.0645, and that blend is squared to form the adaptive smoothing factor.
  • Worked constructions use a lookback of 10 and set the increment filter to 0.15 times that lookback's standard deviation of successive adaptive-average changes.
  • A rule-based entry is recorded only when the adaptive average stands more than one increment filter beyond its running extreme, and one coded system acts on the close of the bar where that distance crosses the filter.
Entries in this reading3 entries

Seeding and the recursive update

After a lookback warmup, the adaptive average is updated recursively as the prior adaptive value plus a variable adaptive smoothing factor times the gap between the latest close and that prior value.

Until the bar count exceeds the lookback, the adaptive average is seeded to the current price instead of applying the recursive update.

Efficiency ratio and the adaptive smoothing factor

The efficiency ratio that drives the adaptive smoothing factor is the absolute net change over the lookback divided by the sum of absolute one-bar changes over the same lookback.

The adaptive smoothing factor is the square of a blend between a fast weight of 0.6667, equivalently 2/(2+1), and a slow weight of 0.0645, equivalently 2/(30+1), with the efficiency ratio as the blend weight.

When net change is large relative to path variation, the variable weight approaches its maximum and the average tracks price more closely. When prices zigzag, the weight approaches its minimum and the average flattens.

Increment filter and running extremes

Worked constructions use a lookback of 10 and set the companion increment filter to that lookback's standard deviation of successive adaptive-average changes multiplied by 0.15. The increment filter is a percentage of the lookback standard deviation of successive adaptive-average changes, used as a minimum travel distance.

A running low of the adaptive average is refreshed on down moves and a running high on up moves. Those running extremes are the reference points for the filter comparison.

Rule-based entry after a full band of travel

A buy condition is recorded when the adaptive average stands more than one increment filter above its running low. A sell condition is recorded when it stands more than one increment filter below its running high.

One coded system waits until the distance from the running extreme crosses above the increment filter and then acts on the close of that bar. That rule-based entry is a long or short condition that becomes true only when travel from the running extreme exceeds or crosses the increment filter.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
10 of 24 in the Adaptive moving average track
20011-6 pp.Next on Adaptive moving averageEncoding candle structure as a numeric filterCandleCode assigns separate integer weights to body color, body size, upper shadow, lower shadow, and gap, then adds those signed components into one bar score.
All readings on this track · 24 readings
  1. 1991Building variable-length moving averages from partitioned price changes
  2. 1991Variable-length moving average from change dispersion
  3. 1992Constructing volatility-adaptive exponential smoothing
  4. 1995Constructing an adaptive moving average with an efficiency ratio and filter
  5. 1995Two-gate breakout confirmation with adaptive averages
  6. 1995Building momentum-scaled adaptive moving averages
  7. 1995Adaptive length as a construction choice inside exponential smoothing
  8. 1998Testing price-channel breakouts with a lag-aware adaptive average
  9. 1998Constructing filters by nesting offsets and variable weights
  10. 1998Constructing an efficiency ratio adaptive average and entry filter
  11. 2001Encoding candle structure as a numeric filter
  12. 2001Adaptive averages driven by cycle-phase speed
  13. 2005Constructing an adaptive moving average from a fractal-dimension weight
  14. 2005Range-dimension adaptive exponential filter
  15. 2010Constructing simple, exponential, and adaptive averages
  16. 2010How a price-hugging smoother is assembled from ordinary averages
  17. 2013Evaluating an adaptive moving average against a same-window moving average
  18. 2016Three-layer confirmation: adaptive average, stochastic relative strength index, and stop-and-reverse
  19. 2017One-alpha reverse-path exponential smoothing
  20. 2018Pair two adaptive averages to filter swing turns
  21. 2018Two Adaptive moving averages as a confirmation pair
  22. 2018Constructing an adaptive filter for adoption-cycle reversals
  23. 2018Constructing a deviation-scaled adaptive moving average
  24. 2020Walk-forward and adaptive averages as two tests of the same trend
All 28 readings tagged Adaptive moving average
Also on Adaptive moving average5 readings