ZLEMA
Indicator
ZLEMA is an EMA of a de-lagged price: each close plus its change over the last 7 bars. It follows price more closely than an EMA of the same length.
Described by John Ehlers and Ric Way, 2010. Reviewed by the ChartLabs team, updated Nov 2026.
Price and the ZLEMA 14 are tangled. No clear short-term trend.
ZLEMA 14 65,409.2 · Close 65,677.1
Price and the ZLEMA 14 are tangled. No clear short-term trend.
ZLEMA 14 65,409.2 · Close 65,677.1
Illustration on simulated data.
Zero Lag Exponential Moving Average (ZLEMA)What is the ZLEMA indicator?
ZLEMA draws one grey line on the price chart. By default it uses a length of 14 on the close.
An EMA lags because it averages old prices. ZLEMA feeds it a corrected input instead: twice the close minus the close 7 bars ago, which is the close plus its recent change. The EMA of that input sits much nearer to price.
The correction works best in steady moves. When price reverses sharply, the extra push from the old trend can carry the line a little past price before it turns, so it is not free of lag, only shorter.
The lag setting
ChartLabs uses half the length, rounded down, as the de-lag distance: 7 bars for a length of 14.
From the first bar
For the first 7 bars ZLEMA equals the close; from the 8th it runs as an EMA of the corrected input.
ZLEMA signalsFour patterns to know.
Price above a rising ZLEMA
Most closes stay above the line while it climbs.
Price under a falling ZLEMA
Most closes stay under the line while it falls.
Close crosses above
After a run under the line, price closes above it and stays there for a few bars.
Pullback that holds
Price dips to a rising ZLEMA and closes back above it.
ZLEMA formulaHow it is calculated.
Find the lag
Half the length, rounded down: 7 for the default 14.
Correct the input
Take twice the close minus the close 7 bars ago.
Smooth it
Run a 14-bar EMA (weight 2 / 15) over the corrected input. The first 7 bars are the close itself.
ZLEMA settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 14 | 1 to 2,000 | The EMA length; the lag is half of it. Longer is smoother and slower. |
| Source | Close | Any price | Which values feed the calculation. |
| Line | Grey #787B86, 1 px | Any colour and width | Colour and width of the line. |
- Setting
- Length
- Default
- 14
- Range
- 1 to 2,000
- What it changes
- The EMA length; the lag is half of it. Longer is smoother and slower.
- Setting
- Source
- Default
- Close
- Range
- Any price
- What it changes
- Which values feed the calculation.
- Setting
- Line
- Default
- Grey #787B86, 1 px
- Range
- Any colour and width
- What it changes
- Colour and width of the line.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
ZLEMA strategiesUse it in 3 setups.
Pullback to a rising ZLEMA
Traders often want the close back above the line before acting.
Fast ZLEMA crosses a slower one
Two ZLEMAs filter out some of the single-line crosses. The 40 is drawn here in orange for illustration.
Cross with follow-through
Waiting a few bars filters out the crosses that are undone right away.
ZLEMA mistakesCommon mistakes.
Acting on every cross
ZLEMA sits close to price, so a single bar can poke through it. Here a cross was undone within two bars.
Trading crosses in a range
Sideways, the line flattens and price crosses it back and forth.
Expecting zero lag
The name promises more than any average can give. The cross still comes after the low.
ZLEMA combinationsPair it with these.
ZLEMA FAQQuestions traders ask.
What are the default ZLEMA settings?
Length 14 on the close, with a de-lag distance of 7 bars.
How is ZLEMA calculated?
It is an EMA of twice the close minus the close 7 bars ago, so each input is pushed forward by its recent change.
Does ZLEMA really have zero lag?
No. It lags much less than an EMA in steady moves, but it still follows price and turns after it.
ZLEMA or EMA?
ZLEMA sits closer to price and turns sooner. The EMA is smoother and crosses less often.
ZLEMA or HMA?
Both cut lag. The HMA uses weighted averages; ZLEMA corrects the input of an EMA. On most charts they look similar.
Why can ZLEMA move past price?
After a strong run the correction still adds the old momentum, so for a few bars the line can sit beyond the latest closes.
What length should I use?
14 is the default. Longer lengths also lengthen the de-lag distance and give a calmer line.
Does ZLEMA work on crypto?
Yes. It works on any market with prices.
Does ZLEMA repaint?
No. Values on closed bars never change. The live bar moves until it closes.
Who created ZLEMA?
John Ehlers and Ric Way described the idea in Technical Analysis of Stocks & Commodities in 2010.
Related indicatorsMore trend tools.
All trend indicatorsTry ZLEMA on a live chart.
Free. No download.
Works in your browser and on iPhone too.