2011issue C0234-41
Build a Spearman rank oscillator from ordered closes
A spearman-indicator is rank-correlation applied to ordered closing-price windows and scaled from -100 to +100. Built that way, it measures trend strength and turning points against a fast-stochastic baseline instead of treating every oscillator as interchangeable.
- Replace each equal-length series with ranks from lowest to highest, then compute rank-correlation to obtain a coefficient that ranges from -1 to +1.
- On consecutive closing-price windows of length N, scale that coefficient into a spearman-indicator from -100 to +100 and read it as a direct measure of trend strength.
- Treat a weakening cross of a short moving average as a turning-point cue, give more weight to monthly-scale crosses in the extreme-band, and use the zero-level-filter as a long-versus-short entry screen.
- On the same sample window the spearman-indicator and fast-stochastic %K share the trend-and-turning-point role, with the rank series the smoother of the two.
A named rank oscillator
A spearman-indicator is a rank-correlation oscillator, scaled from -100 to +100, that measures how closely a window of closing prices matches a strict time-ordered ranking. The construction starts from ordered closes so trend strength and turning points can be judged against a familiar baseline, rather than treating every oscillator as interchangeable.
Rank-correlation is a comparison of two equal-length sequences after each value is replaced by its order position rather than its raw magnitude. The constructed oscillator is Spearman rank correlation applied to two equal-length series, after each series is replaced by ranks from lowest to highest.
Compute the coefficient and scale it
The rank-correlation coefficient is computed as one minus six times the sum of squared rank differences, divided by n times n squared minus one, and ranges from -1 to +1.
When the same construction is built on consecutive closing-price windows of length N, the indicator is scaled as an oscillator from -100 to +100 and is presented as a direct measure of trend strength.
Turning points, bands, and the midline
Price turning points are read when the oscillator weakens and crosses a short moving average. Major reversals on monthly charts are tied to those crossings in the extreme-band, the outer zones above +80 and below -80.
The zero line is used as a zero-level-filter, a long-versus-short entry filter. The oscillator is also read for divergences versus price.
Compare it with fast-stochastic
On the same sample window, the spearman-indicator and fast-stochastic %K are shown as serving the same trend-and-turning-point role, with the Spearman series smoother than fast %K. Fast-stochastic is a percent-rank oscillator of the close within a high-low window and is the supplied comparison baseline for smoothness and shared purpose.
Editorial reading
Editorial note: keep the spearman-indicator on the same closing-price window as fast-stochastic so the shared role and the smoother rank path can be judged directly. That is a construction lesson, not a claim that one oscillator replaces the other.
All readings on this track · 42 readings
- 1987Stochastic fast and slow construction as a rebuildable stack
- 1989Building the stochastic oscillator from close location
- 1990Monthly stochastics as a multi-year bond regime filter
- 1990Walk-forward screen for yen indicator rules
- 1990Slow stochastic construction for index pullback entries
- 1991Random Walk Index construction with an adaptive lookback
- 1991Building a two-stage stochastic oscillator from close location
- 1992Constructing fast and slow stochastic oscillator lines
- 1992Constructing nested stochastic lookbacks
- 1994Construct the four-state price-volume rank before filtering it
- 1996Crowded stochastics, false breakouts, and hidden stops
- 1997Fade and follow entries from stochastic extremes
- 1998Oversold confirmation as a staged rule-based-entry case
- 1999Constructing regular and slow stochastic oscillators
- 2001Construct a variable-interval simple moving average from stacked extremes
- 2001Threshold RSI and stochastic setups with next-bar stops
- 2001Two tests of a rate-adjusted earnings-yield gap
- 2002Constructing a two-line stochastic from a range-normalized close
- 2002Inspect mechanical stochastic daytrade rules on one bar
- 2003Constructing an adaptive stochastic RSI
- 2003Four parameters that construct a stochastic oscillator
- 2004Volume breakout as signal, pullback as entry
- 2004A first currency-market checklist with two averages and a slow stochastic
- 2005Shared-scale cycle indexes with companion oscillators
- 2005Current-bar versus prior-bar range construction for the stochastic oscillator
- 2005Two-session moving-average pullback short
- 2006Market condition as a permission layer for moving averages and oscillators
- 2008Lock the stop at support before sizing a stochastic entry
- 2010Construct a center-line volume oscillator and read it with a stochastic oscillator
- 2010Sharpened RSI turns with rainbow averages and a slow stochastic
- 2011Build a Spearman rank oscillator from ordered closes
- 2012Gold as a regime-dependent hedge in the euro-area crisis
- 2012Pairing moving averages with variable-length stochastics
- 2014Two-leg stochastic stress oscillator as a rebuild drill
- 2014Ingress dates as price bases for relative strength, stochastics, and moving averages
- 2017Constructing a dual EMA stochastic from range normalization
- 2018Constructing a two-stage stochastic RSI for comparable price-oscillator divergences
- 2018Combining a weekly stochastic, a long moving average, and two-day resistance
- 2018Weekly and daily stochastic readings with a long moving average and support
- 2018A confirming workflow for rotating from discretionary to staples
- 2019Stochastic scan thresholds, averages, and formula syntax
- 2020Constructing Slow %K as a two-stage helper