Skip to content
All library documents

Bollinger Band Breakout Entries with Opposite-Band Exits

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses a simple Bollinger Band breakout rule to take long or short positions. It calculates a moving-average middle band and upper and lower bands using a configurable standard-deviation multiplier. Stop entries are placed at the upper band for longs and at the lower band for shorts, aiming to participate when price moves beyond its recent range. The accompanying explanation describes closing an existing long after a lower-band break and closing a short after an upper-band break.

The document presents the approach as a basic trend-following system and notes that false signals may lead to repeated small losses. It recommends considering volume or moving-average confirmation, market-specific parameter tuning, and stop-distance adjustments. Although backtest settings are listed for BTC/USDT futures over a short historical interval, no return, drawdown, trade count, or other result is reported. The source code's exits are conditional on the corresponding direction being disabled, so its implementation does not fully match the explanation's general opposite-band exit description; the published settings also do not establish evidence of profitability.

Key ideas

  • A long stop entry is placed at the upper Bollinger Band, while a short stop entry is placed at the lower band.
  • The bands are built from a moving average and a configurable multiple of standard deviation.
  • The explanation describes exits when price breaks through the opposite band, though the source implements exits conditionally when a direction is disabled.
  • Repeated false breakouts can produce a sequence of small losses, especially with poorly chosen parameters.
  • The document lists a BTC/USDT futures test interval but reports no performance statistics.

Tags

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