What Are Envelopes? Why Does the Channel Width Never Change?

“Envelopes and Bollinger Bands look the same. What is the difference?”

The difference is width. Envelopes add a fixed percentage above and below a moving average, so the width never changes; Bollinger Bands use standard deviation, so they spread wider the wilder the market gets. That means the same Envelopes channel can be too wide when things are calm and too narrow when they are wild. This article first works it out once with a table, then uses a real chart marked 1 to 3, and finally looks at how much the same percentage differs across instruments.

This article is part of MASQuant’s “Trading Academy · Technical Indicators” series. All the indicators are sorted by category in Technical Indicators: The Complete Guide.

In one sentence

Envelopes = a moving average shifted up and down by a fixed percentage.

The upper band is the average × (1 + percentage), and the lower band is the average × (1 − percentage).

Envelopes are like the hard shoulder of a motorway: the width is set by the engineer in advance and stays the same however busy the road is. Bollinger Bands are more like a barrier that moves by itself, spreading out when traffic gets messy. The shoulder is simple and easy to calculate, but it knows nothing about today’s road conditions.

Work it out once: average plus or minus a percentage

Suppose the 14-period average is 1,000 and the percentage is 2% (the following are round numbers for illustration, not market data):

Line Calculation Result
Upper band 1,000 × (1 + 2%) 1,020
Middle line 14-period average 1,000
Lower band 1,000 × (1 − 2%) 980

The channel is 4% wide in total, whether the market moves 0.3% or 3% a day. The width depends only on the percentage you set, not on the market. That width is measured in percent; in actual points it still moves with the level of the moving average. That is the biggest difference from Bollinger Bands and Keltner Channels.

The formula

The MT5 default is a 14-period SMA with a deviation of 0.1%:

Middle line = SMA(14) of the close
Upper band = middle line × (1 + deviation ÷ 100)
Lower band = middle line × (1 − deviation ÷ 100)

Envelopes are a built-in trend indicator in MT5. The default 0.1% suits very short timeframes; on a daily chart it almost sits on top of the average, as the statistics below show.

Read the chart: Germany 40 in early 2020, following 1 to 3

The chart below shows the Germany 40 index (GER40) daily from October 2019 to April 2020, taken from MT5 historical prices. The orange lines are Envelopes (14 periods, ±2%) and the purple dashed lines are Bollinger Bands (20 periods, 2 standard deviations). From 12 November 2019 to 3 February 2020 the market was calm, with a daily range averaging about 1.2%; from 4 February to 22 April it was extremely wild, with a daily range averaging about 4.1%, ending 21.5% lower.

Germany 40 daily, October 2019 to April 2020: the orange Envelopes keep a fixed width, while the purple dashed Bollinger Bands spread sharply in March and price stays outside the Envelopes for many days
Chart: Germany 40 (GER40) daily, 21 October 2019 – 22 April 2020, MT5 historical prices. Hollow candles closed up, filled candles closed down; grey shading marks the calm stretch, light orange shading marks the wild stretch. The orange channel is Envelopes(14, ±2%) and the purple dashed lines are Bollinger Bands(20, 2). Price is on the right, dates along the bottom, and the circled numbers match the notes below.
1

In calm times, Envelopes are too wide (7 January 2020, upper band 13,527). In the grey stretch, closes were outside the Envelopes on only 3.6% of days. Price hardly ever reached the bands, so the channel did nothing.

2

On the same day, the Bollinger Bands were narrower (upper band 13,425). In the calm stretch, the average Bollinger width was 3.35%, narrower than the fixed 4% of the Envelopes. Bollinger Bands contract by themselves and stay close to the market.

3

First close outside the channel (12 February 2020, close of 13,780). Once the wild stretch began, closes were outside the Envelopes on 74.5% of days. The average Bollinger width in this stretch spread to 29.21%, 8.7 times the calm stretch, while the Envelopes stayed at 4%. The same channel was first too wide, then too narrow.

This is a real stretch of historical prices, used to show how Envelopes behave. It is not a general rule. Change the instrument, the timeframe or the period, and every number will change.

Statistics: how much does the same percentage differ across instruments?

Using daily data from 9 instruments on MT5 since 2015, we calculated the share of days on which the close was outside the 14-period Envelopes:

Instrument MT5 default ±0.1% ±2%
EUR/USD 90.6% 4.6%
GBP/USD 91.8% 6.1%
USD/JPY 91.0% 7.8%
S&P 500 94.8% 23.3%
Gold 94.9% 26.9%
Germany 40 95.0% 30.9%
Silver 96.9% 51.2%
Bitcoin 98.9% 70.8%
Ethereum 98.7% 77.0%

Two things are clear. First, on a daily chart MT5’s default 0.1% leaves the close outside the channel on over 90% of days, which amounts to no channel at all. Second, the same ±2% is rarely reached on EUR/USD, while Ethereum is outside it on 77% of days. The Envelopes percentage must be set for each instrument and timeframe.

What you see, what it means

What you see What it usually means But be careful
Price touches the upper band It is 2% (or your setting) above the average That distance means very different things on different instruments
Price never reaches the bands The market is calmer than the setting The channel is doing nothing (1 on the chart)
Price stays outside the channel The market is wilder than the setting That is not overbought or oversold; the channel is just too narrow (3 on the chart)
Channel width never changes That is how the formula works To see volatility change, look at Bollinger Bands or ATR

How to use it: three examples

Example 1: set the percentage from history

Start from a target such as “about 5% of days close outside the channel” and work back to the percentage. Do it separately for each instrument and timeframe, rather than using one number for everything.

Example 2: as a trend-following channel

Go long only when the close is above the upper band, and exit when it falls back to the middle line. A fixed width keeps the rule simple and easy to backtest.

Example 3: read it with a channel that adapts

When volatility is low, Bollinger Bands shrink inside the Envelopes, a sign of calm; when they spread outside, volatility has expanded. Treat the Envelopes as a fixed ruler and the Bollinger Bands as the one that moves.

All three examples have to accept the same thing: a fixed percentage knows nothing about today’s road conditions. Simplicity is both its strength and its blind spot.

Common mistakes

1. Using MT5’s default directly on a daily chart

At 0.1% on a daily chart, the close is outside on over 90% of days, so the channel means nothing. Change the percentage before reading it.

2. Trading against price whenever it touches a band

In the wild stretch on the chart, closes were outside the channel on 74.5% of days. Buying every break below the lower band would mean buying all the way down.

3. Using one set of parameters on every instrument

±2% is rarely reached on EUR/USD, while Ethereum is outside it on 77% of days.

FAQ

What are Envelopes?

Envelopes are a channel drawn by shifting a moving average up and down by a fixed percentage. The width is fixed and does not change with the market.

How do Envelopes differ from Bollinger Bands?

Envelopes use a fixed percentage, so the width never changes; Bollinger Bands use standard deviation, spreading when the market is wild and contracting when it is calm.

What percentage should I use?

There is no fixed answer. Use a small percentage for low-volatility instruments and a large one for high-volatility ones. You can work back from history so that about 5% of days close outside the channel, then backtest and adjust.

Does MT5 have Envelopes?

Yes. It is a built-in trend indicator named Envelopes, with defaults of 14 periods and 0.1%, which you need to raise yourself for daily charts.

Conclusion

Envelopes are the simplest channel there is. They will not tell you the market has changed, so you have to know for yourself whether this percentage suits this instrument and this stretch of the market right now.

So the real question is: did you set your channel percentage after looking at this instrument’s history, or did you just type one in? One stretch of historical prices cannot answer that; you have to backtest the rule over many stretches of the market.

Don’t have rules of your own yet, and don’t want to piece them together one indicator at a time? With MASQuant’s Strategy Genie, you just choose an investment style first; the AI analyses market conditions, selects instruments and gives you three candidate strategies at once. Each one has already been backtested on historical data, with its returns and maximum drawdown laid out in the open, and then you decide whether to deploy it to MT5.

If you already have an idea of your own, write the condition as one sentence, for example “only go long when the close is more than 2% above the 14-period average”, give it to the AI Strategy Assistant, and press go to start the backtest. The backtest environment includes real market frictions such as spreads, slippage, changes in market liquidity and execution delays (see the AI Strategy Assistant guide for how to use it). Then change 2% to another number and run it again, and you will see how sensitive the results are to the parameter. A backtest tells you “how this rule performed in past market conditions”, not a guarantee about the future.

An idea only becomes a strategy once it’s been tested.

Not sure which strategy to use?

New here? Start with this 10-minute beginner’s guide. It walks you through picking your investment style, letting MASQuant’s Strategy Genie use AI to generate and backtest candidate strategies, and running one on an MT5 demo account, step by step.

Read the 10-Minute Beginner’s Guide →

Ready already? Sign in with Google to start for free. No credit card needed for your 15-day free trial.

All strategies and backtests are for reference only and do not constitute investment advice.

The price chart and statistics in this article are taken from historical prices on the MT5 platform (daily; quotes and daily candle cut-off times differ slightly between platforms, so values may not match exactly), and the indicators are calculated by a program using the standard formulas; the round numbers in the example are not market data. The statistics do not include spreads, commissions or slippage. Historical prices are used only to show how the indicator behaves and do not represent future price movements.

Risk disclosure: CFDs are high-risk financial products and can lead to rapid loss of capital. Past performance does not guarantee future results. All strategies and backtests are for reference only and do not constitute investment advice. Please read our Risk Disclosure carefully before trading.