Skip to content
All library documents

Bollinger Band Breakouts with EMA-Based Trailing Stops

Article Strategy library · Author: ChaoZhang

Summary

This trend-following approach uses Bollinger Bands to generate directional signals: a close above the upper band prompts a long position, while a close below the lower band prompts a short position. The bands are based on a simple moving average and standard-deviation offsets. An EMA, combined with the band basis in the supplied implementation, sets a trailing stop that adjusts as the market moves. The code also contains optional sizing based on a configured stop amount and the distance to a band-derived level.

The document identifies false breakouts, sensitivity to EMA settings, and overfitting from excessive parameter tuning as key concerns. It suggests testing added volume or momentum filters and keeping parameters stable. Settings and a Binance BTC/USDT futures backtest period are listed, but no backtest outcomes or supporting performance evidence are reported. The description's claim that the stop tightens as price falls does not fully match the implementation, which uses the greater of the band basis and EMA for longs; actual stop behavior depends on how these levels move. The strategy needs careful implementation review and independent testing.

Key ideas

  • A close beyond a Bollinger Band triggers a directional breakout trade.
  • The trailing exit uses the more favorable of the band basis and EMA for longs, with the reverse relationship for shorts.
  • Position sizing can be linked to a configured stop amount and a band-based distance calculation.
  • Band breakouts can generate false signals, and parameter tuning can lead to overfitting.
  • The document lists backtest settings but provides no performance results.

Tags

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