Bollinger Bands alerts in MetaTrader 5
A Bollinger Bands alert fires when price reaches a level that moves with the market's own volatility rather than sitting still. MetaTrader 5 draws the bands but cannot alert on them. fx-alert reads the bands already on your chart — upper, lower or middle — and tells you when price closes beyond the one you chose.
What the bands are measuring
A moving average with an envelope drawn a set number of standard deviations above and below it. The middle band is a simple moving average of the close — with the usual settings, a 20-period one. The distance to the outer bands is calculated from how much price has actually been moving lately, so the envelope widens in fast markets and narrows in quiet ones. "Price touched the upper band" therefore means "this move is large for this pair, lately" — a statement about the pair's own recent behaviour, not about direction.
When traders reach for it
To mark a move as unusual relative to recent conditions, and to watch the middle band as a drifting level that price returns to between moves. In a strong trend price can walk along the outer band for many candles, which is why the band is more often used as a second condition than as a first.
How to set it in fx-alert
- Put Bollinger Bands on your MT5 chart with the period and deviation you use.
- On that chart, press + Alert, then choose Indicator.
- Pick the band to watch: BB Upper, BB Middle or BB Lower.
- Choose the other side — a price (Close, Open, High or Low on the close; Ask or Bid every tick) or a number you type.
- Choose On close, pick your channels, and press Set alert.
Alert rows and notifications name the band in full — "BB Middle(20, 2.0)" — because a Telegram message can reach you hours later, with no chart in front of you, and the label is the only thing identifying which line fired.
Common mistakes
Treating the middle band as something new. It is a simple moving average of the close. If you already run an MA alert with the same period, a BB Middle alert is the same condition under a different name — two slots spent on one idea.
Reading a band touch as a reversal. In a trend, closes beyond the outer band are what the trend looks like. The band says "unusual", not "over".
Expecting a squeeze alert. Band width — the distance between upper and lower — is not one of the indicator's lines, and fx-alert compares lines, prices and numbers rather than arithmetic between them. A squeeze cannot be alerted here. Watching the middle band, or a level of your own, is the closest you get.
Changing the deviation and keeping the habit. At 2.0 the outer bands are reached often; at 3.0 rarely. The same alert means a different thing after that change.
Pair it with
The bands sit on the price scale, so they can be compared with price inside a single alert. Pairing a band with your own drawn line takes two alerts — the pattern is on the combinations page.
fx-alert is an alert tool, not investment advice. It reports that a condition you set became true; what to do about it is always your decision. Trading forex and CFDs carries a high risk of losing money.