Skip to content
All library documents

Using Bollinger Bands for Reversal Signals and Volatility Context

Article MQL5 code base

Summary

This guide explains Bollinger Bands as a volatility measure and a possible source of overbought or oversold signals. It describes a middle line based on a moving average, commonly using 20 periods, with upper and lower bands set two standard deviations away. A move to the lower band is framed as a possible buy cue, while a move to the upper band is framed as a possible sell cue. It also discusses band width: widening reflects rising volatility, while narrowing may precede a breakout.

The examples illustrate the band arithmetic, and the article suggests confirming signals with other indicators such as MACD or RSI. It cautions that band touches do not guarantee reversals; strong trends can persist outside the bands, and usefulness varies with market conditions. The page also mentions analyzing band values over 14- or 28-day periods and outlines a basic workflow using price data and a technical-analysis library. It supplies no backtest or evidence that these signals are profitable, so the reversal interpretation needs independent validation.

Key ideas

  • Bollinger Bands combine a moving-average centerline with upper and lower standard-deviation bands.
  • Touches of the lower or upper band are presented as possible buy or sell cues, not guarantees.
  • Band width can help describe changing volatility and may signal a possible breakout setup.
  • Strong trends can keep prices outside the bands, so reversal assumptions can fail.
  • The guide recommends confirmation and gives no backtest evidence for profitability.

Tags

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