Skip to content
All library documents

A Stochastic Trend Trigger Using Bollinger Bands and Trailing Stops

Article ProRealCode

Summary

This indicator applies Bollinger-style bands to a stochastic oscillator rather than directly to price. It calculates the oscillator, a moving average, and standard-deviation bands, then changes the trend state when the oscillator crosses above the prior upper band or below the prior lower band. The band levels are constrained in the direction of the current trend, creating trailing trigger levels; the script also plots the oscillator, bands, and directional markers. Several periods and scaling parameters are configurable, with example settings included.

The material explains the indicator’s construction and includes an implementation for a charting platform, but it provides no backtest, market examples, or evidence of profitability. A stochastic crossing its own bands can generate delayed or repeated signals, especially in choppy conditions, and results depend on parameter choices and implementation details. The indicator is a trend-trigger concept; the document does not specify a complete trading system, position sizing, or risk controls.

Key ideas

  • The indicator places moving-average and standard-deviation bands around a stochastic oscillator.
  • Crosses above or below the prior band levels switch the trend state.
  • Band constraints make the trigger levels trail according to the current trend direction.
  • The document exposes parameters for oscillator, average, deviation, and risk settings.
  • No performance testing or complete trade-management rules are provided.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.