Select Language

Add Bollinger Bands to chart

On MetaTrader4 (MT4) / MetaTrader5 (MT5), you can display the Bollinger Bands. The Bollinger Band is a technical indicator developed by John Bollinger (USA). It consists of a set of trendlines plotted based on the standard deviations above and below a moving average of the price. The Bollinger Band lets you see the volatility at a glance. It gives you an idea of how much the price is dispersed from the average.

Switch between MT4/MT5 tabs to check the steps for each.

mt4
mt5

Step 1

The Bollinger Bands can be set up from the menu or Navigator.

point The middle line is a simple moving average

The middle line of the Bollinger Bands is a simple moving average (SMA). Changing it to an exponential moving average (EMA) or other MAs, or hiding it is not allowed in MT4/MT5.

Add Bollinger Bands from the menu

Click "Insert" in the menu. Hover the pointer over "Indicators" > "Trend" and select "Bollinger Bands".

Bollinger Bands settings Bollinger Bands settings

Add Bollinger Bands from the Navigator

On the Navigator, click on the "+" signs next to "Indicators" and "Trend". Select "Bollinger Bands" and drag it onto the chart you wish to apply it to.

Add Bollinger Bands by dragging Bollinger Bands from the Navigator Add Bollinger Bands by dragging Bollinger Bands from the Navigator

Or, right-click on "Bollinger Bands" and select "Attach to a chart".

Add Bollinger Bands by right-clicking Bollinger Bands in the Navigator Add Bollinger Bands by right-clicking Bollinger Bands in the Navigator

Step 2

The setting window for Bollinger Bands will appear. Set the parameters in the "Parameters", "Levels", and "Visualization" tabs and click "OK".

"Parameters" tab

Parameters tab for Bollinger Bands Parameters tab for Bollinger Bands

Number

Item name

Descriptions

1

Period

Set the period for the moving average. The unit here is the number of candlesticks. If you select the daily chart and set it to "20", the Bollinger Bands for the past 20 days will be generated.

2

Shift

You can shift the placement of the Bollinger Bands to the left or right. The unit is the number of candles. Type a positive value to move it to the right, and a negative value to move it to the left.

3

Deviations

Set the standard deviation. If you set it to "2", Bollinger Bands will be formed with ±2σ deviation.

4

Apply to

Price to use for calculating Bollinger Bands.

Close: close price

Open: open price

High: high price

Low: low price

Median Price (HL/2): (high price + low price) ÷2

Typical Price (HLC/3): (high price + low price + close price) ÷3

Weighted Close (HLCC/4): (high price + low price + close price×2) ÷4

5

Style

Set the color, line type, and line thickness for Bollinger bands.

"Levels" tab

To add a band, go to the "Levels" tab and click "Add" to enter your preferred multiplier for the standard deviation of the main Bollinger Bands. For example, if "Deviations" is set at "2" and the level is also "2", a new band will be formed with "4σ".

Levels tab for Bollinger Bands Levels tab for Bollinger Bands
point "1" is recommended for the deviation of the main bands

When the "Deviations" parameter in the "Parameter" tab is set to "1", and "2" and "-2" are added in the "Levels" tab, you will see two sets of bands, ±1σ and ±2σ. The "Levels" tab specifies the value that the standard deviation of the main Bollinger Bands is to be multiplied by. Therefore, setting the "Deviation" parameter at "1" can make it simple to tell what a standard deviation of an additional band will be, which is, the same as the value of the multiplier.

"Visualization" tab

On the "Visualization" tab, you can show/hide Bollinger Bands in the Data Window and specify the timeframes to use Bollinger Bands with.

Visualization tab for Bollinger Bands Visualization tab for Bollinger Bands
knowledge Bollinger Band comes from the theory of standard deviation and normal distribution

The Bollinger Bands come from the theory of standard deviation and normal distribution. Standard deviation shows how much the data (price in this case) is spread out relative to the average. The theory of normal distribution defines the probability of a data group falling within a certain range. See the figure on the right for more details.

Bollinger Bands

The Bollinger Band tool lets you draw these theoretical lines on the chart. The lines indicate a ±1σ, ±2σ, ±3σ from the inside to the outside. However, please note that the currency pairs don't always follow the rules of normal distribution.

Bollinger Bands Bollinger Bands

Step 3

Bollinger Bands will be displayed on the chart. The upper line of the Bollinger Bands is called the upper band, the middle one is the middle line, and the lower one is the lower band.

Bollinger Bands will be displayed Bollinger Bands will be displayed
point To display multiple Bollinger Bands

You can add a standard deviation from the "Levels" tab, or follow the same steps above and adjust the view settings of the Bollinger Bands to display multiple Bollinger Bands on the chart. Go to the "Parameters" tab and adjust the moving average and standard deviation settings to display multiple Bollinger Bands on the same chart.

Step 1

The Bollinger Bands can be set up from the menu or Navigator.

point The middle line is a simple moving average

The middle line of the Bollinger Bands is a simple moving average (SMA). Changing it to an exponential moving average (EMA) or other MAs, or hiding it is not allowed in MT4/MT5.

Add Bollinger Bands from the menu

Click "Insert" in the menu. Hover the pointer over "Indicators" > "Trend" and select "Bollinger Bands".

Add Bollinger Bands from the menu Add Bollinger Bands from the menu

Add Bollinger Bands from the Navigator

On the Navigator, go to "Indicators" and click on the "+" sign next to "Trend". Select "Bollinger Bands" and drag it onto the chart you wish to apply it to.

Add Bollinger Bands from the Navigator Add Bollinger Bands from the Navigator

Or, right-click on "Bollinger Bands" and select "Attach to Chart".

Step 1 Step 1

Step 2

The setting window for Bollinger Bands will appear. Set the parameters in the "Parameters", "Levels", and "Visualization" tab and click "OK".

"Parameters" tab

"Parameters" tab "Parameters" tab

Number

Item name

Descriptions

1

Period

Set the period for the moving average. The unit here is the number of candlesticks. If you select the daily chart and set it to "20", the Bollinger Bands for the past 20 days will be generated.

2

Shift

You can shift the placement of the Bollinger Bands to the left or right. The unit is the number of candles. Type a positive value to move it to the right, and a negative value to move it to the left.

3

Deviations

Set the standard deviation. If you set it to "2", Bollinger Bands will be formed with ±2σ deviation.

4

Apply to

Price to use for calculating Bollinger Bands.

Close: close price
Open: open price
High: high price
Low: low price
Median Price (HL/2): (high price + low price) ÷2
Typical Price (HLC/3): (high price + low price + close price) ÷3
Weighted Close (HLCC/4): (high price + low price + close price×2) ÷4
Previous indicator's data: the price data applied to the previous indicator
First indicator's data: the price data applied to the first indicator

5

Style

Set the color, line type, and line thickness for Bollinger bands.

"Levels" tab

To add a band, set "Deviations" to 1 in the "Parameters" tab first. Then go to the "Levels" tab and click "Add" to enter your preferred standard deviation. If you add "2" and "-2", you can display bands with two standard deviations, "±1σ" and "±2σ" on the chart.

"Levels" tab "Levels" tab
point "1" is recommended for the deviation of the main bands

When the "Deviations" parameter in the "Parameter" tab is set to "1", and "2" and "-2" are added in the "Levels" tab, you will see two sets of bands, ±1σ and ±2σ. The "Levels" tab specifies the value that the standard deviation of the main Bollinger Bands is to be multiplied by. Therefore, setting the "Deviation" parameter at "1" can make it simple to tell what a standard deviation of an additional band will be, which is, the same as the value of the multiplier.

"Visualization" tab

On the "Visualization" tab, you can show/hide Bollinger Bands in the Data Window and specify the timeframes to use Bollinger Bands with.

"Visualization" tab "Visualization" tab
knowledge Bollinger Band comes from the theory of standard deviation and normal distribution

The Bollinger Band comes from the theory of standard deviation and normal distribution. Standard deviation shows how much the data (price in this case) is spread out relative to the average. The theory of normal distribution defines the probability of a data group falling within a certain range. See the figure below for more details.

Bollinger Bands

The Bollinger Band tool lets you draw these theoretical lines on the chart. The lines indicate a ±1σ, ±2σ, ±3σ from the inside to the outside. However, please note that the currency pairs don't always follow the rules of normal distribution.

Bollinger Bands Bollinger Bands

Step 3

Bollinger Bands will be displayed on the chart.The upper line of the Bollinger Bands is called the upper band, the middle one is the middle line, and the lower one is the lower band.

Step 3 Step 3
point To display multiple Bollinger Bands

You can add a standard deviation from the "Levels" tab, or follow the same steps above and adjust the view settings of the Bollinger Band to display multiple Bollinger Bands on the chart. Go to the "Parameters" tab and adjust the moving average and standard deviation settings to display multiple Bollinger Bands on the same chart.


Date

Created

 : 2022.07.27

Update

Last updated

 : 2024.01.05

Takayoshi Nakamaru

Manual production consultant, MBA

arrow
Takayoshi Nakamaru

Nakamaru is a manual production consultant at FINTECS, a company that specializes in creating manuals for their clients.
With a wide range of experience from fintech to entertainment, he presents what user-friendly manuals should be like.
He works with numerous large corporations as an external manual production project manager.

【Business information】
http://www.fintecs.co.jp/profile/

Supervisor

Akira Takagi

Systems engineer, MetaTrader administrator

arrow
Akira Takagi

After graduating from Computer Science at the Uninove, Brazil, in 2014, he has worked on various systems development projects.
He participated as a developer in the launch of forex services in 2019. Since then, he has also been involved in the development of MetaTrader plugins and APIs. He is certified by MetaQuotes as a MetaTrader5 Administrator and active in consulting and advisory as well.

Was this article helpful?

We hope you find this article useful. Any comments or suggestions will be greatly appreciated.  
We are also looking for writers with extensive experience in forex and crypto to join us.

please contact us at [email protected].

Thank you for your feedback.
Thank you for your feedback.

Disclaimer:arw

All information and content provided on this website is provided for informational purposes only and is not intended to solicit any investment. Although all efforts are made in order to ensure that the information is correct, no guarantee is provided for the accuracy of any content on this website. Any decision made shall be the responsibility of the investor and Myforex does not take any responsibility whatsoever regarding the use of any information provided herein.

The content provided on this website belongs to Myforex and, where stated, the relevant licensors. All rights are reserved by Myforex and the relevant licensors, and no content of this website, whether in full or in part, shall be copied or displayed elsewhere without the explicit written permission of the relevant copyright holder. If you wish to use any part of the content provided on this website, please ensure that you contact Myforex.

  • Facebook
  • Twitter
  • LINE

Myforex uses cookies to improve the convenience and functionality of this website. This website may include cookies not only by us but also by third parties (advertisers, log analysts, etc.) for the purpose of tracking the activities of users. Cookie policy

I agree
share
Share
Cancel