Skip to content
All library documents

Bollinger Band Breakout Strategy and Its Published Code Mismatch

Article Strategy library · Author: ianzeng123

Summary

The narrative describes a long-only Bollinger Band trend strategy: enter when the close crosses above the upper band and exit when it falls below the lower band. It gives a default 20-period basis, a standard-deviation multiplier of 2, and several selectable moving-average types. The document discusses false breakouts, parameter sensitivity, and possible additions such as volume confirmation, trend filters, and trailing stops. Its published settings specify BTC/USDT futures and a roughly one-year daily backtest, but no performance results are reported.

The included source does not match the narrative. Its entry condition is a close crossing above the lower band, and its exit condition is a close crossing back below that same lower band; neither condition uses the stated upper-band breakout entry. This distinction changes the strategy from the described momentum breakout into a lower-band crossover rule. The document's claims about trend capture and its proposed risk controls should therefore be treated as discussion, not demonstrated results for the code provided.

Key ideas

  • The narrative proposes entering long above the upper Bollinger Band and exiting below the lower band.
  • The stated defaults are a 20-period basis and a standard-deviation multiplier of 2.
  • The source instead enters on a cross above the lower band and exits on a cross below it.
  • The BTC/USDT futures backtest settings are given without performance results.

Tags

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