Skip to content
All library documents

Bollinger Band Breakout Strategy for Long and Short Trades

Article Strategy library · Author: ChaoZhang

Summary

This strategy calculates a moving average and standard-deviation bands, then uses price crossings of the bands to trigger directional positions. Its published settings use a 20-period basis and a multiplier of 2. The source enters long when price crosses above either the upper or lower band, and enters short when price crosses below either band. That means the code's signal rules are broader than a conventional upper-band long and lower-band short breakout interpretation, and the description's claim that the channel is double-sided is not reflected as two separately parameterized bands.

The document describes a time window for limiting the test, though the source function shown does not actually enforce date bounds. Backtest settings specify BTC/USDT futures, daily strategy bars and hourly base data over about a year, but no returns or other outcomes are given. The stated risks are sensitivity to the lookback and standard-deviation multiplier, false signals, and the absence of stop losses, which can leave losses open-ended. Suggested improvements include parameter tuning, stop rules and additional filters.

Key ideas

  • The band center is a moving average, with upper and lower boundaries offset by a multiple of standard deviation.
  • Price crossings of either band trigger long or short entries in the source rules.
  • The settings specify a 20-period lookback and a standard-deviation multiplier of 2.
  • No stop-loss rule is included, so adverse moves may increase losses.
  • The BTC/USDT futures test configuration reports no strategy performance results.

Tags

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