Skip to content
All library documents

Using Higher-Timeframe Bollinger Bands to Display Price Zones

Article MQL5 code base

Summary

This MetaTrader 5 indicator displays two colored rectangular zones derived from the Bollinger channel levels of an XMA_BBx5_Cloud indicator. The levels are calculated for a selected chart timeframe and shown on a bar, allowing a trader to view bands from a higher timeframe alongside the current chart. Its configurable inputs include the timeframe, averaging method and length, price source, display shifts, and two band deviations; the example settings use deviations of two and four.

The description explains a visualization tool rather than a complete trading strategy. It does not define entry or exit rules, explain how the zones should be interpreted, or provide backtests or performance evidence. The indicator also depends on a separate XMA_BBx5_Cloud file, so the description alone is insufficient to reproduce or assess its calculations. Bands can help frame relative price levels, but no predictive value is established here.

Key ideas

  • The indicator draws colored zones between Bollinger channel levels calculated by a companion cloud indicator.
  • Users can select the calculation timeframe, averaging method, length, price input, and band deviations.
  • The display can place higher-timeframe channel information on a chart bar.
  • The description provides no trade rules or evidence that the displayed zones predict price movement.
  • The indicator requires a separate XMA_BBx5_Cloud component.

Tags

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