What moving average envelopes are
Moving average envelopes are bands drawn at a fixed percentage above and below a moving average (MA). An MA is the average closing price over a chosen number of candles. The envelope adds an upper band and a lower band that follow the MA at a constant percentage distance.
The basic idea is that price usually moves around its average. The bands mark a zone you can treat as "normal" distance from that average. Price near or beyond a band has moved unusually far from the average for the current settings.
New to MAs? Read SMA indicator and EMA indicator before this page.
Ready to try it on a real or demo account?
Partner link · trading carries a high risk of loss
Formula
- Middle line: a moving average (simple, exponential, smoothed or linear weighted) of the chosen price over the chosen period.
- Upper band: MA + (MA × deviation percentage)
- Lower band: MA − (MA × deviation percentage)
The band width does not respond to volatility. It only changes when the MA itself moves. This is the main difference from Bollinger Bands, which use standard deviation, and Keltner Channels, which use ATR.
Adding it in MT4 and MT5
In both MetaTrader 4 and MetaTrader 5, open Insert → Indicators → Trend → Envelopes, or find Envelopes in the Navigator panel and drag it onto the chart. The settings window lets you choose:
- Period: how many candles the MA averages.
- MA method: Simple, Exponential, Smoothed or Linear Weighted.
- Apply to: close, open, high, low, median, typical or weighted price.
- Deviation: the percentage distance of the bands.
- Shift: moves the bands forward or backward in time.
The default values are shown in that window when you add the indicator. Treat them as a starting point, not a recommendation.
How to read the bands: a drawn example
The sketch below is illustrative only. It shows no real prices.
- Zone A (range): price swings between the bands and returns to the MA. Touches of a band show stretch, not a turn.
- Zone B (trend): price breaks out and stays near the upper band for a long time. In this zone a band touch says nothing about a reversal.
Common uses: judging how far price is stretched from its average, describing a range, and seeing trend strength (price hugging one band). Each reading needs confirmation from structure, such as support and resistance or market structure.
Parameter choices for experienced traders
- Deviation must suit the instrument and timeframe. A setting that fits a quiet currency pair on a higher timeframe will sit far from price on a lower timeframe. Volatile instruments such as gold or indices need wider bands than many major pairs.
- Recalibrate after volatility changes. Because the width is fixed, a calm period makes old bands too wide and a news-driven period makes them too narrow. Comparing the envelope with ATR helps you see this.
- MA method changes the lag. Exponential and weighted MAs react faster. Simple MAs are smoother but lag more. See leading vs lagging.
- Shift is useful for display, not prediction. A forward-shifted band only redraws the past further to the right.
Where the envelope indicator misleads
- Strong trends: price can stay outside a band for a long time. Fading those touches is a well-known way to take repeated losses.
- Volatility regime changes: fixed bands fail to adapt.
- Gaps and spikes: a single event candle can pierce a band and mean nothing.
- Curve fitting: a deviation tuned to past charts often fails on new data.
- The current candle: band values change until it closes.
No envelopes indicator strategy removes risk. Leveraged forex and CFD trading can lose money fast. Test settings on a demo account and read risk management before using real money.
Frequent questions
What are the best MA envelopes settings?
No setting suits every instrument. Match the period and deviation to the instrument's typical swings on your timeframe, then check them again when volatility changes.
Is the envelope indicator the same as Bollinger Bands?
No. Envelopes use a fixed percentage. Bollinger Bands widen and narrow with standard deviation.
Does a band touch mean price will reverse?
No. In ranges price often returns to the MA. In trends it can keep riding the band.
Does the indicator repaint?
Closed candles do not change. The value on the current candle updates until that candle closes.
Which timeframe works with envelopes?
It works on any timeframe, but each timeframe needs its own deviation setting. See multiple timeframes.
