Skip to content
All library documents

Long Breakouts and Exits with Dynamic Bollinger Bands

Article Strategy library · Author: ianzeng123

Summary

This long-only breakout system enters when the closing price rises above the upper Bollinger Band and closes the position when price falls below the lower band. The middle band can use several moving-average methods, while the upper and lower bands are set by adding or subtracting a standard-deviation multiple. The parameters allow changes to the lookback length, price source, average type, and band width.

Published settings describe a DOGE/USDT spot-market backtest on two-day bars from mid-2024 to early 2025. No performance statistics are supplied, so these settings do not show whether the method worked. The implementation sets commission and slippage assumptions and uses account equity for position sizing, but it has no separate stop, short entry, or explicit date filter in its trading logic. Breakouts can fail in consolidating markets, and band-based exits may lag reversals. The document suggests confirmation filters, volatility-aware risk controls, and parameter adaptation for further testing.

Key ideas

  • A close above the upper Bollinger Band opens a long position, while a close below the lower band closes it.
  • The middle band supports several selectable moving-average calculations.
  • Band width depends on a standard-deviation multiple applied to the selected price series.
  • The implementation is long-only and does not specify a separate stop loss.
  • Backtest settings are given without performance results, and false breakouts remain a key risk.

Tags

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