Skip to content
All library documents

Using Bollinger and Keltner Compression to Identify Breakouts

Article MQL5 code base

Summary

This indicator combines Bollinger Bands, a Keltner Channel, and a momentum histogram to describe volatility conditions and trend direction. When the Bollinger Bands sit inside the Keltner Channel, the indicator marks a compressed, potentially sideways market. When the bands move outside the channel, it marks an expansion associated by the document with a stronger trend. The histogram’s position relative to zero indicates direction, while its rising or falling state distinguishes stronger from weaker momentum within that direction.

The proposed approach is to watch for a range during compression, then consider a breakout as the channel relationship changes to expansion. The histogram can help assess trend strength and indicate weakening as a possible exit cue. Parameters include the lookback periods and channel factors, the number of bars processed, and whether alerts use the current or most recently closed candle. The description offers an indicator interpretation and trading concept, but no tested results, entry rules, stop placement, or evidence that a breakout will follow any particular squeeze.

Key ideas

  • Bollinger Bands inside the Keltner Channel indicate volatility compression in this indicator.
  • A move of the bands outside the channel marks volatility expansion that may accompany a trend.
  • Momentum’s zero-line position indicates direction, while its slope represents strengthening or weakening.
  • The suggested setup looks for a breakout after a compressed trading range.
  • The document does not supply backtest results or complete risk and entry rules.

Tags

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