Envelope Channel Indicator: Moving Average Envelope Formula, the Right Percentage, and Real Examples
How a moving average envelope is built, how to pick the percentage from your market's volatility, with the share of closes inside 2.5%, 5% and 10% bands on daily Bitcoin and the S&P 500 ETF, and what a run of closes above the band led to.

On this page
A moving average envelope, or envelope channel, is two lines drawn a fixed percentage above and below a moving average: with a 20-day simple average and 2.5%, the upper line sits 2.5% above the average and the lower line 2.5% below it. The width never adapts to volatility, so the one real decision is the percentage. Set it too tight and price lives outside the bands; too wide and price never reaches them. Below we measure how often daily closes stayed inside at 2.5%, 5% and 10% on two markets with very different volatility, and what a long run of closes above the upper band led to.
5% moving average envelope on daily Bitcoin

- Price, daily candles (hollow up, filled down)
- Middle, SMA(20) of the close (solid line)
- Envelope, SMA ±5% (dashed line)
- Shaded area between the bands
How the envelope is calculated
StockCharts gives the standard form: a simple moving average of the close, then the same average multiplied by one plus and one minus the chosen percentage. The bands are parallel to the average in percentage terms, so they move with its slope and nothing else.
Choosing the percentage
StockCharts notes that securities with high volatility need wider bands to contain most of the price action, and that the envelope does not adjust by itself. To see by how much, we counted the daily closes inside a 20-day envelope over the daily bars we use: Bitcoin from March 27, 2025 and the S&P 500 ETF (dividend-adjusted prices) from July 8, 2024, both to October 28, 2026, 581 closes each. A close counts as inside when it is at or between the two bands of the same day.
Share of daily closes inside a 20-day envelope

- Bitcoin
- S&P 500 ETF
The same 2.5% that holds four closes in five on the ETF holds fewer than half on Bitcoin: of Bitcoin’s 581 closes, 183 were above and 147 below; at 5%, 82 and 77; at 10%, 15 and 28. On the ETF, 79 and 40 at 2.5%, 13 and 8 at 5%, and a single close below at 10%. Over the same period the median 14-day average true range was about 2.9% of price on Bitcoin and 1.1% on the ETF, close to a factor of three, and the envelope that contains a similar share of closes is roughly that much wider. A practical rule follows from it: measure the typical daily range of your market, then pick the percentage that keeps most closes inside, so that a close outside means something. Volatility changes, so a width chosen on a calm year will be too tight in a volatile one; that is the problem Bollinger Bands, Keltner channels and STARC Bands solve by tying the width to standard deviation or ATR.
2.5% moving average envelope on the S&P 500 ETF

- Price, daily candles (hollow up, filled down)
- Middle, SMA(20) of the close (solid line)
- Envelope, SMA ±2.5% (dashed line)
- Shaded area between the bands
How to read the envelope
| What you see | The usual reading |
|---|---|
| Bands sloping up or down | The direction of the moving average, and so of the trend |
| Price riding the upper band | A strong uptrend, not necessarily a sell |
| A close above the upper band in a flat channel | Overbought, in StockCharts' terms |
| A close below the lower band in a flat channel | Oversold |
StockCharts adds a condition: overbought and oversold readings are best used when the trend flattens. In a trend, closes outside the band are what a trend looks like.
Same close above the band, two readings

A run of closes above the band, followed to the end
The first chart uses a 5% envelope on daily Bitcoin from July 1 to October 28, 2026. On August 19, 2026, Bitcoin closed at 69,334.79, above the upper band for the first time in the window. It then closed above the band on 15 of the next 16 days, through September 4. Read as overbought, the first close was a sell; it was the start of the move. Ten days later the close was 12.83% higher, thirty days later 16.66% higher (80,883.87 on September 18), and on October 7 still 20.17% higher at 83,321.81. A second run of six closes above the band, from September 21 (86,620) to September 26, was followed by a dip: 2.01% lower ten days later, 3.29% lower twenty days later.
On the ETF chart, with 2.5%, 14 closes fell outside the envelope in the window, in four episodes. The first was already under way when the chart starts on May 8, 2026: it began on April 8 at 672.60, and from then to May 14 the ETF closed above the band on all but one session (May 4), while the average, still falling when the run began and flat by April 10, was rising about 2% over five sessions by early May. The last close above, on May 14 at 744.40, was 10.7% above the April 8 close, and the ETF then eased: 1.11% higher ten sessions after May 14, 0.86% lower twenty sessions after. The chart below follows each episode from its first close outside the band: the spring run (26 closes above, 5 in the window), a single close below on June 10 at 721.77, and two August runs of 5 and 3 closes above.
S&P 500 ETF after each close outside a 2.5% envelope

- 10 sessions after
- 20 sessions after
From August 17, after that last close outside the band, price held in the upper half of the channel on 28 of the 52 sessions to October 28, and closed at 772.31, above the 20-day average. The overbought and oversold reading fared better in the three episodes with a flat average than in the spring run, during which the average turned up, and failed on Bitcoin in August. Four episodes say nothing about frequency; they show the reading working in a quiet market and failing in a trending one. That split is the usual test of mean reversion trading, which bets on a return to the average and loses when the move continues.
Does it work?
We have no long-run measurement of moving average envelopes: our bench tests chart patterns detected by rule against random entries, not indicators (see our methodology). The counts above describe how the bands fit two markets over the last 581 daily closes of each; they show how to choose a width, not that crossing the bands predicts anything. For the average at the center, see the moving average; for the rest of the family, the list of trend indicators.
Frequently asked questions
What is the envelope indicator?
A moving average with two bands drawn a fixed percentage above and below it. It shows the trend through the slope of the average and how stretched price is from it.
What are the best envelope indicator settings?
The common example is a 20-day SMA with 2.5%. The right percentage depends on volatility: on our data, 2.5% kept about four closes in five inside on the S&P 500 ETF, while Bitcoin needed about 5% to keep three in four and 10% to keep more than nine in ten.
What is the difference between an envelope and Bollinger Bands?
An envelope has a fixed width in percent. Bollinger Bands are set by the standard deviation of closes, so they widen when the market gets volatile and narrow when it calms.
What does ENV mean on a chart?
ENV is the usual short name of the envelope indicator on charting platforms: a moving average and two percentage bands.
Is a close above the upper envelope a sell signal?
Only when the trend is flat. In a trend, price can ride the upper band for weeks: on daily Bitcoin in August 2026 it closed above a 5% envelope on 16 of 17 days, and was still about 20% higher seven weeks after the first close above.
