Home / Learn Hub / Indicators / Envelopes
Beginner

The Envelopes Indicator: A Moving Average With a Fixed Percentage Band

Envelopes are the simplest band indicator there is: a moving average, then two lines a fixed percentage above and below it. That simplicity is both the reason beginners understand them instantly and the reason they break in exactly the conditions you most need a band to work.

In one sentence:

Draw a moving average, then draw one line a set percentage above it and one the same percentage below, and you have Envelopes.

Envelopes at a glance

DifficultyBeginner: the easiest band indicator to understand and to misuse
What it plotsA moving average, plus two lines a fixed percentage above and below it
Where the width comes fromYou. It is a setting, not a measurement of the market
MT5 locationShips as standard. Insert → Indicators → Trend → Envelopes
Key settingsPeriod, MA method, Applied price, and Deviation expressed as a percentage
Typical deviationWell under 1% on major FX pairs; noticeably wider on indices and gold. It must be tuned per instrument and per timeframe
Effectively duplicatesBollinger Bands and Keltner Channels, all three are a moving average with a band; only the width rule differs
What kills itA trend. Price rides the outer line for days and every fade against it loses

What it is and why it works

There is almost nothing to the calculation, and that is worth saying plainly before any of the trading advice. The indicator takes a moving average, usually a 14 or 20 period average of the closes, and then plots two more lines: one at the average multiplied by 1.005 and one at the average multiplied by 0.995 if you have chosen a 0.5% deviation. That is it. The upper and lower lines are not derived from volatility, from volume, or from anything the market did. They are the middle line scaled up and down by a number you typed in.

The idea behind it is old and reasonable. Price tends to oscillate around a mean rather than sit on it, and in a given market over a given period there is usually some typical distance it strays before pulling back. If you can find that distance and draw it, you have a rough map of where price is stretched. Envelopes are the crudest possible implementation of that idea.

Because the width is fixed and the centre is a moving average, the entire behaviour of the indicator comes from those two settings. A short average with a wide envelope produces bands price rarely touches. A long average with a narrow envelope produces bands price is outside half the time. Neither is right or wrong; both are just consequences of what you chose.

This is the honest comparison: Bollinger Bands are Envelopes where the width is set by recent volatility instead of by you, and Keltner Channels are Envelopes where the width is set by ATR. All three are a moving average with a band around it. Running two of them together is not confirmation; it is the same centre line with two different width rules. If you want the band to adapt when the market speeds up, use one of the adaptive versions. If you specifically want a band that does not move when volatility spikes, Envelopes are the only one of the three that gives you that, and there are situations where that fixed reference is genuinely what you want.

How to trade it, step by step

  1. Add it and understand the two settings that matter. In MT5 go to Insert → Indicators → Trend → Envelopes. Period controls the centre line and Deviation is the percentage half-width. Leave Applied price on Close and the method on Simple until you have a reason to change either.
  2. Tune the deviation to the instrument rather than using the default. The default will be far too wide on a quiet FX cross and far too narrow on an index. Set the period first, then increase or decrease the deviation until roughly nine out of ten bars close inside the bands over the visible history. You are calibrating to the instrument’s own behaviour, not to a number someone posted online.
  3. Recalibrate whenever you change timeframe or instrument. A deviation that fits EUR/USD on H1 will be wrong on the same pair on M5 and badly wrong on gold on any timeframe. This is the step people skip, and skipping it is why the indicator gets a reputation for not working.
  4. Establish the market state before you read the bands at all. Look at the slope of the centre line and at the sequence of highs and lows. If the centre line is close to flat and price is crossing it repeatedly, you are in a range and the outer lines mean “stretched”. If the centre line is clearly sloped and price keeps failing to reach the far band, you are in a trend and the outer lines mean “strong”. The exact same touch means opposite things in the two states.
  5. In a range, use a touch as a location, then wait for a rejection. A close outside the band is not an entry. Wait for the following bar to close back inside, put the stop beyond the extreme of the bar that pierced the band, and target the centre line. The centre line, not the far band, is the realistic objective in most ranges.
  6. In a trend, invert the reading completely. Repeated closes outside the upper band in an uptrend are strength, not exhaustion. The usable trade there is a pullback to the centre line continuing in the direction of the slope, with the far band as an invalidation rather than a target.
  7. Use the centre line as a trailing reference, not the outer band. Trailing a stop just beyond the opposite envelope keeps you in a move longer than trailing on the centre line, but gives back much more at the turn. Choose one deliberately and stay with it long enough to know which suits how you trade.
  8. Write your calibration down. Record the period and deviation you settled on for each instrument and timeframe. Envelopes are one of the few indicators where the settings genuinely are the strategy, so if you cannot reproduce them next month you have nothing.

Size every one of those entries with the position size calculator and check the trade is worth taking with the risk/reward calculator before you commit.

The conditions it needs

A genuine range with a flat centre line

This is the one condition Envelopes were designed for. When the moving average is horizontal and price is oscillating either side of it, a fixed-width band is a reasonable map of stretched and not-stretched, and the centre line is a realistic target. Confirm the range structurally first, see trends versus ranges, rather than assuming one because the band is being touched.

Instruments with a stable typical excursion

The fixed percentage assumption holds best where the market’s normal stretch from the mean does not change dramatically week to week. Liquid FX majors during their main session behave that way for long stretches. Instruments that alternate between dead and frantic invalidate the fixed width the moment they switch state.

When you deliberately want a band that ignores volatility

There is a real edge case in favour of Envelopes over Bollinger Bands. When volatility explodes, Bollinger Bands widen to accommodate it and price ends up back inside them, so the band tells you nothing about how extreme the move was. A fixed envelope does not move, so a violent excursion registers as a violent excursion. If you want a stable reference rather than an adaptive one, that is a feature.

As a visual mean-reversion filter, not as a trigger

Used to answer “is price stretched relative to its own recent average?” before you consider a setup you found elsewhere, it adds a small amount of genuinely useful context. Used as the reason for the trade, it does not.

When it fails

Markets it is most informative on

For different levels of experience

If you are brand new

Think of it as a moving average with a lane painted either side of it. The lane width is a number you choose; the market has no say in it.

Before you use it for anything, look at the middle line. Is it roughly flat, or is it clearly angled? That single observation decides everything. Flat middle line: the outer lanes mark places where price has gone too far and often comes back, so you are looking for price to poke outside and then close back in. Angled middle line: throw the fade idea away entirely, because price in a trend will sit outside the lane for hours and taking the other side is the fastest way to lose money with this tool.

One practical setup tip. The default deviation is unlikely to fit whatever you are trading. Adjust it up or down until most bars, roughly nine in ten, close inside the lanes on the chart in front of you. Write down what you used. If you change timeframe, do it again.

If your results are inconsistent

If Envelopes have not worked for you, the cause is almost always one of two things: you never recalibrated the deviation, or you used them in a trend.

The recalibration point deserves a hard rule. Because the width is fixed, a strategy built on it is only valid inside the volatility regime it was tuned in. Check monthly whether the same deviation still contains roughly the same proportion of bars. When it stops doing so, your setup has expired even though the chart still looks tidy.

The trend point deserves a hard rule too. Never fade a band touch when the centre line is sloping in the direction of the touch. Filter it out mechanically rather than judging it in the moment, because in the moment a stretched market always looks like it must snap back. If you want to trade a trending market with this indicator, the trade is a pullback to the centre line in the direction of the slope, and the outer band is where you admit you were wrong.

If you are experienced

The fixed-percentage width is usually treated as the indicator’s weakness, and for systematic mean reversion it is. But it is the reason to keep one on the chart alongside an adaptive band. Bollinger Bands are self-referential: a volatility shock widens the band, which pulls the extreme back towards price, so a two-standard-deviation excursion during a shock is a far larger move than the same reading in a quiet week. A fixed envelope has no such feedback, so excursions measured against it are directly comparable across regimes. Plotting both and watching the gap between them is a cheap and reasonably informative volatility-regime read.

The second use is as an execution reference rather than a signal. In a persistent trend, distance to the fixed envelope is a stable measure of extension that does not reset every time the market accelerates, which makes it a more consistent basis for scaling out than a Bollinger touch that quietly redefines itself.

What it cannot support is a fitted mean-reversion system. The deviation parameter is a free variable with no anchor in observed data, and optimising it produces the classic overfit result: a smooth equity curve in the sample and immediate failure out of it, because the parameter encoded the sample’s volatility rather than any structural property of the market.

Risk management for this strategy

Envelopes are dangerous for one specific reason: fading a band touch feels safe. Price is stretched, the band is right there, and the stop can be placed just outside it: a tight stop and an obvious level. That combination invites over-sizing, and the trades that go wrong are the ones where price does not come back at all.

The discipline is to size from the stop distance, not from the confidence. Place the stop beyond the extreme of the bar that pierced the envelope, not just outside the line itself, because in a live break the line will be pierced again on the next bar. Then work the size from that distance with a position size calculator and accept the smaller position.

Add one absolute rule: no envelope fades into scheduled economic releases. A fixed-width band has no way of anticipating a repricing, and the moves that make mean reversion look foolish almost all begin at a known time on the calendar.

Where Market Structure Pro fits

Every problem with Envelopes reduces to a single question: is this market ranging or trending? Get that right and a band touch is informative. Get it wrong and the same touch is a trap that keeps offering itself until the account is damaged.

That is precisely the judgement Market Structure Pro is built to make. It has a dedicated ranging and chop filter whose whole job is to classify the current state, and it returns one verdict (TRADE, TRANSITION or NO TRADE) with a confidence percentage, a grade and a plain-English explanation of what is driving it. Rather than staring at the slope of a moving average and deciding what you would prefer it to mean, you get a state read that was made on the closed bar and does not change afterwards.

It is also session-aware and spread-aware, which matters more with Envelopes than most indicators. A fixed-percentage band calibrated during London hours will be pierced constantly in thin overnight trade, and the centre-line target that looked reasonable can be a large fraction of a widened spread. MSP grades a setup for the conditions it is actually appearing in, rather than for the conditions the calibration assumed.

TRADETRANSITIONNO TRADE

One verdict with a confidence score, an A/B/C grade and a plain-English reason. Non-repainting, on every MT5 instrument and timeframe.

Stop guessing whether the setup is valid

Market Structure Pro reads structure, trend, momentum, levels, volatility, volume and session in one pass and gives you a single answer with the reasoning attached. Free 7-day trial, no card required.

Start free trial

Frequently asked questions

What is the Envelopes indicator?

It is a moving average with two extra lines plotted a fixed percentage above and below it. The upper and lower lines come from a deviation setting you type in, not from anything the market has done, so the indicator is best understood as a moving average with a lane of your chosen width painted around it.

What is the difference between Envelopes and Bollinger Bands?

Both draw a band around a moving average; only the width rule differs. Bollinger Bands set the width from recent volatility, so they widen and narrow as the market changes, while Envelopes keep a fixed percentage width that ignores volatility entirely. That makes Bollinger Bands more adaptive and Envelopes a more stable reference.

What is the best deviation setting for Envelopes?

There is no universal figure, because the correct value depends on the instrument, the timeframe and the current volatility. A workable method is to adjust the deviation until roughly nine out of ten bars close inside the bands over the visible history, then recalibrate whenever you change instrument or timeframe.

Does the Envelopes indicator come with MetaTrader 5?

Yes, it ships as standard. In MT5 go to Insert, then Indicators, then the Trend group, and choose Envelopes. You can set the period, the moving-average method, the applied price and the deviation percentage from the dialog that appears.

Can you use Envelopes in a trending market?

Not for fading the bands, which is the most common way traders lose money with them. In a trend price will close outside the outer envelope repeatedly without reversing. The usable approach in a trend is to buy pullbacks towards the centre line in an uptrend, or sell them in a downtrend, and treat the far band as invalidation.

Are Envelopes good for beginners?

The idea is easy to grasp, which makes them a reasonable first band indicator, but the fixed width has to be calibrated per instrument and per timeframe or the tool is meaningless. Beginners who leave the default deviation in place and fade every touch usually conclude the indicator does not work, when in fact it was never set up.

Do Envelopes repaint?

No. Both the centre line and the bands are calculated from closed bars, so once a bar has closed its envelope values are fixed and will not be redrawn. The current forming bar will move as price moves, as it does with any indicator, but past values stay where they are.

Should I use Envelopes and Bollinger Bands together?

There is little point in using them for the same job, because they share a centre line and differ only in how the width is set, so agreement between them is not confirmation. The one legitimate reason to plot both is to compare an adaptive band against a fixed one as a rough read on the current volatility regime.

Related reading