---
title: "Moving Average Envelope: Formula"
description: "Two lines set a fixed percentage above and below a moving average, forming an envelope around price. Unlike Bollinger Bands, the width does not adjust to..."
canonical: https://www.getswoopr.com/indicators/trend/moving-average-envelope/
source: "Swoopr Investment: https://www.getswoopr.com"
---

## Direct Answer



> Two lines set a fixed percentage above and below a moving average, forming an envelope around price. Unlike Bollinger Bands, the width does not adjust to volatility. Price touching or exceeding the upper line shows price stretched above its average by the chosen percentage, and the lower line the reverse.





      


# Moving Average Envelope: Formula, Meaning, Signals, Examples and How to Use It



## How Is Moving Average Envelope Calculated?

Two lines set a fixed percentage above and below a moving average, forming an envelope around price. Unlike Bollinger Bands, the width does not adjust to volatility.

**Formula:** `Upper = MA * (1 + p); Lower = MA * (1 - p), where p is the percentage offset`

**Inputs:**

- Closing prices
- Moving average period and type
- Percentage offset p

**Worked example.** A 100 moving average with a 2.5 percent offset gives an upper envelope line of 102.50. The inputs are illustrative numbers, not market data.

**Reading it.** Price touching or exceeding the upper line shows price stretched above its average by the chosen percentage, and the lower line the reverse. In trends, price may ride along one boundary instead of reverting.

**Limits.** Fixed percentage width does not adapt to changing volatility: it is too narrow in volatile markets and too wide in quiet ones. The best percentage differs by instrument.


      

## What is Moving Average Envelope?



Two lines set a fixed percentage above and below a moving average, forming an envelope around price. Unlike Bollinger Bands, the width does not adjust to volatility.




## How to use Moving Average Envelope



Price touching or exceeding the upper line shows price stretched above its average by the chosen percentage, and the lower line the reverse. In trends, price may ride along one boundary instead of reverting. A reading alone is never a buy or sell signal; it needs context from price structure, volume, volatility and the broader market regime.




## Strengths



- A fixed percentage offset gives bands whose width is proportional to the average's level, so they scale with price.
- With one offset parameter and one average, the construction can be recomputed by hand from a column of averages.
- Reproducible when the formula and data convention are fixed.




## Weaknesses and limitations



- Since the offset is a fixed share of the average, the bands are symmetric around it and do not reflect asymmetric moves.
- Envelope edges are not tied to any distribution, so the share of closes outside them varies by instrument and period.
- Correlated indicators can create false confidence by repeating the same underlying information.





## Choose your next step

### Apply

- [Moving Average Envelope Explained](https://www.getswoopr.com/learn/technical-analysis/indicators/moving-average-envelope/) Step-by-step use, worked examples and the mistakes to avoid


      

## Related Swoopr content



- Related guide: [Moving Average Envelope Explained](https://www.getswoopr.com/learn/technical-analysis/indicators/moving-average-envelope/)



## Editorial and risk note



This page is educational content, not individualized investment advice. It should not imply guaranteed prediction, accuracy or outperformance.







## Frequently Asked Questions


        



Is Moving Average Envelope a buy or sell signal?




No. Price touching or exceeding the upper line shows price stretched above its average by the chosen percentage, and the lower line the reverse. Fixed percentage width does not adapt to changing volatility: it is too narrow in volatile markets and too wide in quiet ones. A trade built on it still needs a trigger, an invalidation rule, a position size and realistic execution assumptions.










What is the best setting for Moving Average Envelope?




Moving Average Envelope takes these inputs: closing prices; moving average period and type; percentage offset p. There is no universal best setting for the tunable ones, so test them across instruments, regimes and out-of-sample periods and favor stable parameter regions over one historical winner.










Can Moving Average Envelope be used by itself?




Fixed percentage width does not adapt to changing volatility: it is too narrow in volatile markets and too wide in quiet ones. The best percentage differs by instrument. For that reason it is read next to measures of direction, participation, valuation, liquidity and risk, not alone.










Does Moving Average Envelope work on every timeframe?




The calculation (Upper = MA * (1 + p); Lower = MA * (1 - p), where p is the percentage offset) can be run on any bar size, but behavior is not portable: a reading on a five-minute chart describes a very different market window from the same reading on a daily chart. Validate the exact timeframe before relying on it.










Why does Moving Average Envelope give false signals?




Since the offset is a fixed share of the average, the bands are symmetric around it and do not reflect asymmetric moves. Envelope edges are not tied to any distribution, so the share of closes outside them varies by instrument and period. Lag, noise and regime changes add to this, because market participants react to new information after the reading is calculated.










How should Moving Average Envelope be backtested?




Rebuild Moving Average Envelope from closing prices using point-in-time data, write the rules before testing, include delisted securities where relevant, model realistic fills and costs, reserve a validation sample and compare with a simpler baseline.












S




Swoopr Editorial Team



The Swoopr Editorial Team produces independent investment education, research, and tools for understanding markets, evaluating opportunities, and managing risk. All content is educational only and does not constitute personalized investment advice.



See our [editorial policy](https://www.getswoopr.com/legal/editorial-policy/) and [corrections policy](https://www.getswoopr.com/legal/corrections-policy/).
