ind · Pro template

Bollinger Band Mean Reversion

Counter-trend entries when the market is ranging. Range test: the Bollinger middle band (SMA 20 by default) has moved less than a set fraction of ATR over the last 5 bars (fixed look-back), which approximates flat, parallel bands. Entry on the bar after a candle that touched the outer band with RSI beyond the overbought/oversold level (70/30 by default): sell at the upper band, buy at the lower band. The stop is the farther of a fixed ATR multiple (1.5 by default) and a small buffer outside the band; the target is the middle band, and the trade is skipped when the middle band offers less than the minimum reward:risk. Every setting is an EA input defined in the Variables & Constants window. Suggested timeframes: 5m and 15m. The flat-band test is an approximation, not an exact definition of a range.

The idea

In a ranging market, fade moves to the outer Bollinger Band when RSI agrees that price is stretched.

How the trade is built

  1. Is the market ranging? The middle band has barely moved over the last 5 candles compared with ATR (an approximation of flat bands, not an exact range definition).
  2. Stretch A candle touched the outer band and RSI is beyond overbought (sell) or oversold (buy).
  3. Entry Enter on the next candle: sell at the upper band, buy at the lower band.
  4. Stop The farther of a fixed ATR multiple and a small margin outside the band.
  5. Target The middle band; skipped if it offers less than the minimum reward-to-risk.

Management

Spread filter and daily loss guard. 5m and 15m are suggested.

Open this template in the builder →

Educational material, not investment advice. Trading carries a high risk of loss; see the risk disclosure. Test any expert on historical data and a demo account first.

← All strategy templates
Bollinger Band Mean Reversion - ready-made EA template · Lupuso