Skip to content
All library documents

A Bollinger Band Breakout with Moving Average Filters and Trailing Stops

Article Strategy library · Author: ChaoZhang

Summary

This long-only breakout strategy enters when price reaches or exceeds the upper Bollinger Band and exits when it reaches a stop based on the lower band. The bands use a moving-average basis and standard-deviation offsets, allowing their levels to change with recent volatility. The described default settings use a 20-period basis and a two-standard-deviation multiplier. Signals can be evaluated on candle closes or wicks, and entries may be filtered by a moving average on the current or a higher timeframe.

The script also offers an optional fixed-percentage initial stop before switching to the lower band, with an eight-percent default, and allows SMA or EMA filters. Published backtest settings specify daily BTC/USDT futures data over a stated date range, but no return, drawdown, or trade statistics are provided. The document warns that band breaks do not reliably identify overbought or oversold conditions, filters may delay entries, and stop choices have trade-offs. It recommends parameter checks and additional risk controls, but does not establish that optimization or live use will be profitable.

Key ideas

  • The strategy opens long positions on an upper Bollinger Band break and exits using the lower band as a stop.
  • The bands use a moving-average basis and standard-deviation offsets that adapt to recent price variability.
  • Entries can be filtered by a current- or higher-timeframe moving average and triggered on closes or wicks.
  • An optional fixed-percentage initial stop can be used before the lower band catches up.
  • The listed BTC/USDT futures backtest settings contain no reported performance results.

Tags

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