Skip to content
All library documents

Moving Average Crossovers with Bollinger Bands

Article MQL5 code base

Summary

This document describes an MT5 indicator that combines two configurable moving averages with Bollinger Bands. It marks a potential buy when the faster average crosses above the slower one and a potential sell when it crosses below. The averages can use several common calculation methods and selectable price inputs; the bands have configurable period, deviation, shift, and display settings.

Signals are described as being evaluated on closed candles, with optional chart, sound, and email alerts. The bands provide a visual reference for price volatility and channels, while the crossover supplies a directional entry cue. The description suggests using the tool across symbols and timeframes, either alone or with other filters. It gives no backtest, performance evidence, exit rules, or detailed risk controls, so it explains indicator mechanics rather than establishing a profitable strategy.

Key ideas

  • The indicator combines a fast and slow moving average with Bollinger Bands.
  • An upward crossover creates a potential buy signal, while a downward crossover creates a potential sell signal.
  • Signals are based on closed candles and can trigger optional notifications.
  • The bands offer a visual view of price channels and volatility but do not validate a trade by themselves.
  • The document provides no performance testing or complete trade management rules.

Tags

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