Skip to main content
Track Bollinger Bands
21 / 45
Library

2002issue C081-9

Constructing a StochRSI and Bollinger mechanical system

Build the system as one procedure: encode an independent confirmation pair, add market-state filters, then decide whether excursion data should change the exit rule or stay a money-management overlay.

  • A mechanical trading system is one procedure with entry and exit signals, a stop plan, and a capital-allocation rule.
  • StochRSI and Bollinger Bands are paired as independent confirmation because one is range-based momentum and the other is a statistical envelope.
  • Volatility regime and volume state come next as filters, including skipping low-volume sideways stretches.
  • Excursion charts can justify a trailing stop instead of more exit-rule encoding, while capital allocation stays inside the procedure.
Entries in this reading3 entries

Three required parts of the procedure

A mechanical trading system is constructed as one procedure with three required parts: entry and exit signals, a stop plan, and a capital-allocation rule. Those parts turn rule inputs, market state, and execution constraints into entry, exit, or abstention signals over a defined holding period.

The archive presents the resulting script as a starting mechanical procedure, not a finished product. Later refinements include adjustable lookbacks and self-adapting thresholds.

First encode an independent confirmation pair

StochRSI and Bollinger Bands are paired because one is range-based momentum and the other is a statistical envelope. They are not reverse calculations of the same range formula, so one reading can corroborate the other.

The relative strength index is a bounded oscillator of ordered closes. It can be restated as StochRSI by measuring where current RSI sits inside its own recent high-low range. On a 14-period window, StochRSI is RSI minus its lookback low, divided by the lookback RSI range, which makes it reach extremes faster than raw RSI.

Bollinger Bands are a statistical envelope around a moving average that locates price against a volatility-scaled upper, mid, and lower band.

A long setup is encoded as price tagging the lower 20-day, two-standard-deviation band, then closing back above that band while StochRSI rises to 0.4.

Then add market-state filters

Volatility regime and volume state are construction inputs. Shorter StochRSI lookbacks fit quieter price regimes. Low-volume sideways stretches are treated as random and better skipped.

The system is specified for swing holding periods on names averaging more than 500,000 shares a day, not for noise-scale scalping.

Editorial: an in-gear price move that rises on expanding volume or falls on contracting volume is a market-state filter rather than a signal by itself. That reading belongs with the volume-state skip, not with the entry rule.

Then decide what excursion data should change

An encoded exit after an upper-band tag is a later close back through the Bollinger midline once momentum has faded.

Excursion charts are used as a construction check. Many losers first showed open profit, so a trailing stop is a candidate alternative to further exit-rule encoding. Maximum favorable excursion records the best intra-trade open profit before a close. Maximum adverse excursion records the worst intra-trade drawdown before a close. Together they inspect stop and exit logic and whether open gains are given back.

Capital allocation is part of the procedure. At most one-tenth of current capital is assigned to any single position.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
21 of 45 in the Bollinger Bands track
20031-1 pp.Next on Bollinger BandsConstructing volatility-scaled Bollinger envelopesBuild the envelope as a middle moving average with a customary 20-day lookback, then place the upper and lower lines two standard deviations from that path.
All readings on this track · 45 readings
  1. 1992Constructing volatility-scaled bands with relative strength index confirmation
  2. 1994Implied volatility as a band-defined regime filter for index options
  3. 1995Constructing projection bands from least-squares slopes
  4. 1995Constructing regression projection bands and range oscillators
  5. 1996Constructing Bollinger bands, percent-b, and stochastics
  6. 1996Constructing mechanical rules from Bollinger Bands and stochastics
  7. 1996Constructing a standard-error envelope around a linear regression
  8. 1996Dual-horizon ratio envelopes and regression error channels
  9. 1997Rational group structure with a trend screen, RSI, and bands
  10. 1997Asymmetric volatility band construction
  11. 1998Constructing three-state filters from Bollinger band envelopes
  12. 1999Combination filters with Bollinger Bands and the relative strength index
  13. 1999Constructing stochastic timed exits and band-RSI reversals
  14. 1999Evaluating Bollinger Bands against fixed-width and range-based envelopes
  15. 2000Constructing a Bollinger Band target as a forward price
  16. 2001Numeric candlestick encoding with local size bands
  17. 2001Ranked candlestick sentiment to band-cross entries
  18. 2002Combining Bollinger Bands, RSI, and a stop-loss
  19. 2002Bollinger Bands remain filters, not forecasts
  20. 2002Constructing a stochastic RSI with Bollinger bands
  21. 2002Constructing a StochRSI and Bollinger mechanical system
  22. 2003Constructing volatility-scaled Bollinger envelopes
  23. 2003Why tick breadth fails as a market personality
  24. 2005Constructing Bollinger bands versus fixed trading bands
  25. 2006Squared versus absolute deviation in envelope construction
  26. 2006Confirming yen crossovers with implied volatility and bands
  27. 2006A daily candle reversal is a hypothesis until shorter sessions fail at the same zone
  28. 2008Rebuild the Relative Strength Index as price-scale bands
  29. 2008Reading Relative Strength Index extremes on one price axis with Bollinger Bands and moving averages
  30. 2011Three-filter confirmation for short-swing futures
  31. 2011Constructing an inverse Fisher stochastic with bands and averages
  32. 2012Constructing a Bollinger Band indicator suite
  33. 2012Stacking price extremes, crossovers, bands, and MACD
  34. 2012Adaptive Bollinger band impulse, trend, and momentum filters
  35. 2013Rescaling stochastic, percent-B, and wave-count parameters
  36. 2014Industry-group quartile pivots as a Bollinger Bands case study
  37. 2014Bollinger Bands as adaptive price envelopes: a 2014 classroom case
  38. 2016Trend-channel entry rules from stacked moving averages
  39. 2016A permission stack for Bollinger, RSI, and the 50-period average
  40. 2017Constructing weighted Bollinger bands and volume averages
  41. 2017Four swing-entry rules that share a timed exit
  42. 2017Two-wave monthly cycles as a regime filter
  43. 2019Constructing exponential-deviation-bands from a midline-average
  44. 2020Critiquing exponential variants of Bollinger Bands
  45. 2020Constructing selectable volatility and moving-average bands
All 84 readings tagged Bollinger Bands
Also on Bollinger Bands5 readings