CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Bollinger Bands: Formula, Settings and How to Read Them

This guide explains what Bollinger Bands measure, how to set them up in MetaTrader, how to read squeezes and band walks, and the market conditions where they mislead.

Extrade Pakistan editorial team ·

On this page
  1. What is Bollinger Bands?
  2. The formula
  3. How to add Bollinger Bands in MT4 and MT5
  4. How to read it: a drawn example
  5. Typical uses in a Bollinger Bands strategy
  6. Where Bollinger Bands mislead
  7. Parameter choices for experienced traders
  8. Risk note
  9. Frequent questions

What is Bollinger Bands?

The Bollinger Bands indicator draws a channel around price. It has three lines:

When price swings widely, the standard deviation grows and the bands move apart. When price is calm, the bands move closer together. The indicator therefore shows volatility, meaning how much price is moving, and where price sits relative to its recent average. It does not predict direction.

BB 20, 2SMA 20
Bollinger Bands: a 20-period average with bands two standard deviations away. Narrow bands mean low volatility, wide bands high volatility. Illustrative example: made-up numbers for learning, not real prices or a broker's conditions.

The formula

Let N be the lookback period and k the deviation multiplier.

Line Calculation
Middle band SMA of the closing price over N bars
Upper band Middle band + k × standard deviation of the same N closes
Lower band Middle band − k × standard deviation of the same N closes

Traders also use two derived readings:

Neither is built into MetaTrader by default.

How to add Bollinger Bands in MT4 and MT5

In both MetaTrader 4 and MetaTrader 5:

  1. Open a chart of the instrument.
  2. Go to Insert → Indicators → Trend → Bollinger Bands.
  3. In the settings window, check Period (N), Deviations (k), Shift and Apply to (usually Close).
  4. Set colours and click OK.

The default Period and Deviations values are the classic settings John Bollinger published. Look at them in the dialog before you change anything. You can practise on a demo account without risking money.

How to read it: a drawn example

The sketch below is drawn by hand. It does not show real prices.

Typical uses in a Bollinger Bands strategy

Traders usually combine the bands with other tools rather than use them alone:

These are ways of reading the chart, not signals. No setting gives a reliable win rate.

Where Bollinger Bands mislead

Parameter choices for experienced traders

Risk note

Leveraged forex and CFD trading can lose money fast, and an indicator does not change that. Size positions with risk management in mind. Before using any offshore platform, read about the legal position on our law and regulators page.

Frequent questions

What is Bollinger Bands in simple words?

It is a moving average with an upper and a lower band. The bands widen when price moves a lot and narrow when it is calm.

Is touching the upper band a sell signal?

No. In a strong trend, price can keep riding the upper band. Read a band touch together with trend and structure.

What are the default settings?

MetaTrader uses the classic Bollinger settings. You can see them in the Period and Deviations fields when you add the indicator.

What does a squeeze mean?

Volatility has dropped. A larger move often follows, but the squeeze gives no direction.

Do Bollinger Bands repaint?

The bands on closed bars do not change. The current bar's values move until the bar closes. See repainting indicators.

Can I use them on gold or indices?

Yes, the calculation works on any chart. Volatility differs by instrument, so judge band width against that market's own history. See technical analysis for related tools.

Related pages