2004issue C121-13
Constructing a trend filter from two adjacent high-low windows
Buy power and sell power are assembled from two equal-length adjacent high-low windows. The same scaled reading and the same plus-or-minus 100 levels then define a three-state Trend filter and the accompanying long, short, or hold rules.
- Buy power is the current-window highest high minus the prior-window lowest low, and sell power is the prior-window highest high minus the current-window lowest low.
- The filter value is the difference of those two powers, divided by half their sum, then multiplied by 100, with coded implementations defaulting both windows to a 15-bar lookback.
- Readings above 100, below -100, and between those levels are treated as uptrend, downtrend, and consolidation or hold states.
- The same thresholds can reverse a stay-positioned procedure on crossings, or issue long, short, or neutral signals from the level of the reading itself.
What this construction specifies
This archive article reconstructs the Trend filter from two equal-length adjacent windows of highs and lows. Buy power and sell power are formed first. Those two quantities are then scaled into one reading, and that reading is classified with shared numeric thresholds.
Two adjacent windows define the powers
The filter is built from two equal-length adjacent windows. Buy power is the current-window highest high minus the prior-window lowest low. Sell power is the prior-window highest high minus the current-window lowest low.
The filter reading is a scaled difference
The filter value is the difference of those two powers, divided by half their sum, then multiplied by 100. Coded implementations default both windows to a 15-bar lookback.
Shared levels classify the state
A reading above 100 is treated as an uptrend state. A reading below -100 is treated as a downtrend state. Readings between those levels are treated as consolidation or a hold state.
Period length and the plus-or-minus 100 trigger levels are treated as explicit inputs that some implementations expose for variation or search rather than as fixed constants.
Alcoa daily Trend Trigger Factor against the plus-or-minus 100 state lines

Source code fixes the adjacent high-low windows at 15 daily bars. Curve points are approximate raster reads; only the last printed TTF of 32.917 is an on-screen exact value.
The same reading can drive two rule styles
One accompanying procedure stays positioned and reverses on threshold crossings. It goes long on a cross above 100 and short on a cross below -100.
Other implementations issue long, short, or neutral signals from the level of the same 15-bar reading rather than from a crossing event.
All readings on this track · 51 readings
- 1984Half-cycle differencing for momentum signals
- 1987Relative strength evaluation under competing optimization criteria
- 1988Weekly MACD as a two-clock momentum confirmation stack
- 1989Equal-weight zero-cross from smoothed spreads
- 1989Testing relative-strength-index reversal rules against trend continuation
- 1989Smoothed three-day futures filter for index option bounces
- 1989Cycle-length windows for momentum, Relative Strength Index, and stochastic construction
- 1991Filtered rally magnitude as a bull-regime breakout
- 1992Constructing true strength from double-smoothed momentum
- 1992Constructing a double-smoothed true strength index
- 1993When momentum structure and breadth break together
- 1993Constructing double-smoothed range and momentum oscillators
- 1993Constructing a two-parameter relative momentum index
- 1993Building a bounded momentum oscillator with RSI smoothing
- 1993Two-speed oscillators with divergence and trendline gates
- 1993Constructing a relative momentum index from the relative strength index
- 1994Constructing daily advance-decline breadth tools
- 1994Building a composite regime score from monetary climate and weekly trend
- 1994Averaging Relative Strength Index and the stochastic oscillator into one reversal oscillator
- 1995Dividend-yield regression as a hold versus momentum gate
- 1996Jump and hold filters for long-term Treasury yield direction
- 1997Constructing extendedness from a 10 percent swing filter
- 1997A range-expansion oscillator that can refuse its own stretch
- 1997RSI trend permission and Fibonacci pullback rules
- 1998Nested midpoint construction for a range-normalized oscillator
- 1999Evaluating Relative Strength Index momentum with zero-line and threshold rules
- 1999Treat RSI and momentum as three mechanical procedures
- 2000Thrust strength figure from moving-average swings
- 2001Constructing a non-range-bound balance of market power score
- 2004Cleaned breadth oscillator and new-high divergence: a swing-market case file
- 2004Evaluating advance-issues-momentum on a fixed-symbol-basket
- 2004Constructing a trend filter from two adjacent high-low windows
- 2006A dollar-versus-commodity extreme as a regime case
- 2008Zero-centered stochastic bands and bracket stops
- 2012Evaluating engulfing momentum across hold windows
- 2012Staged stops as one mechanical entry and exit procedure
- 2012Stacking a relative-strength-index forecast, a trend filter, and long-only momentum
- 2013Constructing fair-value filters from averages and momentum
- 2014Constructing a multi-window slope divergence entry
- 2015Bandedge trend filter construction with inverse crossover rules
- 2017Opposite rules for index price and volatility momentum
- 2018A three-state overlay that colors a trend only after the line clears the bar
- 2018Half-cycle relative-strength index with a Fisher map for cyclic reversals
- 2018Emotion as a rule input when momentum breaks
- 2018Two-bar body expansion as a momentum breakout construction
- 2019Pair a two-day high breakout with a volume-weighted exit on the same chart
- 2020Building reflex and trendflex cross and extreme entry rules
- 2020Construct a dual-series price momentum oscillator overlay
- 2020A multi-timeframe stochastic as a panel of weekly voters
- 2020Centerline crossovers that compare index momentums
- 2020Multi-timeframe stochastic voting as one mechanical rule