Elder Envelope
Indicator
The Elder auto envelope is an exponential average of the close with bands one standard deviation of the price's distance from that average.
The channel idea is Alexander Elder's, 2002. Reviewed by the ChartLabs team, updated Nov 2026.
Upper is above Lower (64,662.8).
Upper 64,662.8 · Lower 63,957.9 · EMA 64,310.3
Upper is above Lower (64,662.8).
Upper 64,662.8 · Lower 63,957.9 · EMA 64,310.3
Illustration on simulated data.
Elder auto envelopeWhat is the Elder Envelope indicator?
Alexander Elder described an exponential average with a channel taken from how far price has been from that average, in Come Into My Trading Room (2002). The book does not print this exact band width.
ChartLabs draws an exponential average of the source, length 13, seeded with the first value, so the weight on a new close is 2/14. The band width is the population standard deviation of (close minus that average) over the last 27 bars. Before 27 bars exist, the deviation uses the bars so far. Upper is the average plus that deviation. Lower is the average minus it.
On the first bar the average equals the close and the deviation of a single zero is 0, so both bands sit on the price. The source defaults to the close. The average is #2196F3, the upper band #26a69a and the lower band #ef5350, all 1 px, on the price chart.
The width is ours
The 27-bar population deviation is the width this chart uses. Do not expect a different book formula to match the bands bar for bar.
First bar
Average, upper and lower are the same price. The channel opens only after the close leaves the average.
Elder Envelope signalsFive patterns to know.
Close above the average
The close is on the upper side of the 13-bar average. The bands are still just one deviation away.
Close below the average
The close is on the lower side of the average.
Bands pinched
Closes have stayed near the average, so the deviation is small.
Bands wide
Closes have been far from the average over the 27-bar window.
Close outside a band
Price is more than one deviation from the average. The band is a distance, not a barrier.
Elder Envelope formulaHow it is calculated.
Average the close
Exponential average, length 13, seeded with the first close. Alpha is 2/14.
Measure the gap
Population standard deviation of (close minus that average) over 27 bars, or over the bars so far if fewer are loaded.
Add and subtract
Upper is the average plus the deviation. Lower is the average minus it. On bar 1 both bands equal the close.
Elder Envelope settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 13 | 1 to 2,000 | The exponential average. The Signal lens changes this. |
| Deviation length | 27 | 1 to 2,000 | How many bars go into the population standard deviation of the gap. |
| Source | Close | Any price, or volume | The series that is averaged. |
| Lines | EMA #2196F3, upper #26a69a, lower #ef5350 | Fixed | Three lines, 1 px, on the price chart. A light fill sits between the bands. |
- Setting
- Length
- Default
- 13
- Range
- 1 to 2,000
- What it changes
- The exponential average. The Signal lens changes this.
- Setting
- Deviation length
- Default
- 27
- Range
- 1 to 2,000
- What it changes
- How many bars go into the population standard deviation of the gap.
- Setting
- Source
- Default
- Close
- Range
- Any price, or volume
- What it changes
- The series that is averaged.
- Setting
- Lines
- Default
- EMA #2196F3, upper #26a69a, lower #ef5350
- Range
- Fixed
- What it changes
- Three lines, 1 px, on the price chart. A light fill sits between the bands.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
Elder Envelope strategiesUse it in 3 setups.
A close outside the band
Price is more than the recent deviation from the average. Traders often look for a stall or a return toward the average. The band is not a promise of either.
A narrow channel
The recent gaps from the average have been small. A break of the band is a smaller distance than a break of a wide channel.
Holding the upper half
The average is the middle of this channel. Staying above it says the last 13 bars have been pulled upward. It is context, not an entry rule by itself.
Elder Envelope mistakesCommon mistakes.
Fading every tag of the band
A trend can ride the outer band for a long time. One deviation is a description of recent distance, not a reversal level.
Matching the bands to a printed Elder formula
The book gives the idea. This width is the 27-bar population deviation used here. Another implementation can differ.
Reading the first bar as a signal
On the first bar the three lines are the same price. There is no channel yet.
Elder Envelope combinationsPair it with these.
Elder Envelope + EMA
The middle line is an EMA of length 13. The EMA indicator's own default length is different.
Elder Envelope + Bollinger Bands
Bollinger Bands use a simple average and a standard deviation of price. These bands deviate from an exponential average, and the deviation is of the gap, over 27 bars.
Elder Envelope + Keltner Channel
Keltner's width is a multiple of ATR. This width is a standard deviation of the price gap.
Elder Envelope + ATR
ATR is a range measure. It does not build the bands, but it says whether the channel is wide for recent ranges.
Elder Envelope FAQQuestions traders ask.
What are the Elder auto envelope settings?
Length 13, deviation length 27, source close.
What happens on the first bar?
The average equals the close, the deviation is 0, and both bands sit on that price.
Does the book print this width?
No. Come Into My Trading Room (2002) describes the channel idea. This chart uses a 27-bar population standard deviation of the close minus the average.
What is the average's weight?
Alpha is 2/(13+1), so 2/14 of the new close and 12/14 of the previous average, after the first bar.
Which line is which colour?
The average is #2196F3, the upper band #26a69a, the lower band #ef5350.
Why can the bands differ from another platform?
The width is this implementation's. A different deviation, seed or length will not land on the same prices.
Does it repaint?
No. A closed bar's source stays. The live bar's close can still move the average and the deviation until it closes. Once a bar leaves the 27-bar window, the width can step.
Who is it named for?
Alexander Elder. The channel idea is in Come Into My Trading Room (Wiley, 2002).
Related indicatorsMore volatility tools.
All volatility indicatorsTry Elder Envelope on a live chart.
Free. No download.
Works in your browser and on iPhone too.