Skip to content
All library documents

Moving Average and Bollinger Band Oscillation Strategy

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines a fast and slow simple moving average with Bollinger Bands to generate long and short signals. A moving average crossover sets the directional bias, while a price crossing a Bollinger Band boundary supplies confirmation. The described rules open a position when the signals agree and close it when they conflict; the code also checks for band signals during a preceding window of bars. The example uses a short and long moving average and a configurable Bollinger period, with the band width set to a fixed multiple of standard deviation.

The document gives qualitative advantages and risks, but reports no performance results. It warns that strong trends can hurt an oscillation approach and that moving average exits may incur losses. It suggests stop losses, avoiding strong trends, parameter trials, and optional volume or RSI filters. The brief published backtest covers BTC futures over a single day, so it does not establish robustness, realistic costs, or behavior across market regimes.

Key ideas

  • A fast and slow moving average crossover supplies the strategy's directional signal.
  • A price crossing a Bollinger Band boundary is used as confirmation for a trade.
  • Positions are opened when the moving average and band signals agree and closed when they diverge.
  • The approach may struggle in strong trends and its results depend on indicator settings.
  • The published BTC futures example spans only a brief period and provides no performance statistics.

Tags

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