Moving Average Envelopes
By Chad Smith, Director of Research & Analysis · Updated
On this page
Moving average envelopes are two bands set a fixed percentage above and below a moving average. If the average is at 100 and the envelope is 2%, the bands sit at 102 and 98. They are one of the oldest band indicators and the simplest: the band width never changes with volatility, only with the level of the average itself.
What it measures
Envelopes measure how far price has moved from its average in percentage terms. The middle line shows the trend. The outer bands mark a fixed distance that the trader considers "normal" for that market.
When price reaches or crosses a band, it is stretched relative to its average by at least the chosen percentage. In a sideways market, that stretch often reverses. In a trending market, it can persist as price rides along one band.
Because the bands are fixed in percentage terms, envelopes do not adapt to changing volatility. That is the main thing that separates them from Bollinger Bands and Keltner Channels.
The formula
Middle line = MA(Close, N)
Upper band = Middle line × (1 + p)
Lower band = Middle line × (1 − p)
where
MA = moving average (simple by default; exponential is also common)
N = the moving average period (often 20)
p = the envelope percentage as a decimal (for example 0.025 for 2.5%)
Worked example (illustrative numbers). A stock's 20-period SMA is 80.00 and the envelope is set at 5%. The upper band is 80.00 × 1.05 = 84.00 and the lower band is 80.00 × 0.95 = 76.00. If price drops to 75.50, it has closed below the lower envelope, more than 5% below its 20-bar average. In a range-bound market, a trader might watch for a reversal back toward 80.00.
Default settings
| Setting | Common value |
|---|---|
| MA period | 20 (some platforms default to 14) |
| MA type | Simple |
| Percentage | Set per market, often between 0.1% and 10% |
The percentage depends heavily on the market. Forex pairs move a smaller percentage per day than many stocks, so their envelopes are often set much tighter. Shorter timeframes also need tighter envelopes. Envelopes are built into MetaTrader and TradingView.
How to read it
Band touches in a range. When the middle line is flat, touches of the upper or lower envelope often mark the edges of the range. Price tends to move back toward the average.
Band rides in a trend. When the middle line is sloping, price may stay near one band for a long time. A close beyond the band in the trend's direction shows strength, not exhaustion.
Position within the envelope. Price above the middle line suggests bullish bias; below suggests bearish bias.
Tuning the percentage. If price constantly breaks the bands, the percentage may be too small for current conditions. If price never reaches them, it may be too large. Traders tune envelopes so the bands contain most normal swings.
Envelopes vs Bollinger Bands and Keltner Channels
All three draw bands around an average, but they set the distance differently.
- Envelopes: a fixed percentage of the average. Width changes only when price level changes.
- Bollinger Bands: a multiple of the standard deviation of closes. Width expands sharply in volatile periods and contracts in quiet ones.
- Keltner Channels: a multiple of ATR. Width adapts to volatility, but more smoothly than Bollinger Bands.
Envelopes are easier to understand and keep a consistent meaning: a touch always means "price is X% from its average". The downside is that the same envelope may be too wide in quiet markets and too narrow in volatile ones. Bollinger Bands and Keltner Channels adjust automatically.
Common strategies
Range fades
When the middle line is flat, sell touches of the upper envelope and buy touches of the lower envelope, targeting the middle line. A momentum reading such as RSI at an extreme adds confirmation.
Trend pullbacks
In an uptrend, buy when price pulls back toward the middle line and then turns up. The upper envelope serves as a target. In a downtrend, sell rallies to the middle line.
Breakout confirmation
A strong close beyond an envelope after a quiet period can signal the start of a trend. Traders then look for the moving average to turn in the same direction.
Double envelopes
Some traders draw two sets of envelopes, such as 2% and 4%. The inner set marks normal stretch; the outer set marks extreme stretch, which may be used for profit-taking.
Choosing the percentage
A practical way to set the envelope is to look back over recent months and widen or narrow the percentage until the bands contain most of the swings. Traders then revisit the setting when market conditions change, for example after a period of unusually high or low volatility. Keeping a note of why a given percentage was chosen helps avoid adjusting it after every losing trade, which is a common way to over-fit the tool.
Weaknesses
Envelopes ignore volatility. A fixed percentage cannot adjust to calm or wild conditions, so the bands become less useful when volatility changes.
The percentage is arbitrary. There is no standard value; the trader must choose and adjust it, which makes the tool subjective and easy to over-fit to past data.
They lag. The middle line is a moving average, so the whole envelope trails price.
Band touches carry two opposite meanings. The same touch can signal reversion in a range or strength in a trend, so a separate read of market state is needed.
Indicators it pairs with
- Bollinger Bands, to compare fixed and volatility-based bands.
- ADX, to decide whether to fade or follow band touches.
- RSI or the stochastic oscillator, for momentum confirmation at the bands.
- ATR, to check whether the envelope width suits current volatility.
- Support and resistance levels, for confluence with band touches.
For more on bands, channels and how they differ, see the technical analysis course.
Brokers with strong charting to practice on
Put this into practice on a demo account first, with no money at risk.
- Featured broker
Pepperstone4.7 / 5Visit
IC Markets4.9 / 5Visit
GO Markets4.8 / 5Visit
Frequently asked questions
What are moving average envelopes?
They are two lines drawn a fixed percentage above and below a moving average. They mark a band around the average that does not change with volatility.
How are envelopes different from Bollinger Bands?
Envelopes use a constant percentage, so their width stays proportional to price. Bollinger Bands use standard deviation, so their width expands and contracts with volatility.
What percentage should I use for envelopes?
It depends on the market and timeframe. Traders adjust the percentage so that the bands contain most normal price swings for that market, then watch for moves beyond them.
Are envelopes a trend or range tool?
They are used both ways. In ranges, traders fade moves to the bands, and in trends, a close beyond a band can show strength.
Which moving average do envelopes use?
The simple moving average is the traditional choice, but most platforms let you use an exponential or other average instead.