Zero Lag Exponential Moving Average (ZLEMA)

ZLEMA
Indicator

TrendOn the price chartFree on ChartLabs

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.

Example market1hIndicatorsAtlas AIZLEMAchartlabs.co/charts
Atlas reads it

Price and the ZLEMA 14 are tangled. No clear short-term trend.

ZLEMA 14 65,409.2 · Close 65,677.1

Atlas reads it

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.

1Bullish

Price above a rising ZLEMA

Most closes stay above the line while it climbs.

2Bearish

Price under a falling ZLEMA

Most closes stay under the line while it falls.

3Bullish lean

Close crosses above

After a run under the line, price closes above it and stays there for a few bars.

4Bullish

Pullback that holds

Price dips to a rising ZLEMA and closes back above it.

ZLEMA formulaHow it is calculated.

xt=2×closet−closet−7ZLEMAt=α×xt+(1−α)×ZLEMAt−1,α=215
STEP 1

Find the lag

Half the length, rounded down: 7 for the default 14.

STEP 2

Correct the input

Take twice the close minus the close 7 bars ago.

STEP 3

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.

SettingDefaultRangeWhat it changes
Length141 to 2,000The EMA length; the lag is half of it. Longer is smoother and slower.
SourceCloseAny priceWhich values feed the calculation.
LineGrey #787B86, 1 pxAny colour and widthColour 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.
1436 price crosses in view
70,30066,89363,48560,07864,803.7

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

WhileZLEMArisesifprice dips to it and closes above

Traders often want the close back above the line before acting.

Crosses the ZLEMA 40

Fast ZLEMA crosses a slower one

IfZLEMA 14crosses aboveZLEMA 40exit whenit crosses back

Two ZLEMAs filter out some of the single-line crosses. The 40 is drawn here in orange for illustration.

Cross with follow-through

Ifprice closes aboveZLEMAandholds for 3 bars

Waiting a few bars filters out the crosses that are undone right away.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

ZLEMA mistakesCommon mistakes.

Through the line and straight back

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.

Flat line, many crosses

Trading crosses in a range

Sideways, the line flattens and price crosses it back and forth.

The lowThe cross comes later

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 indicators

Try ZLEMA on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
ZLEMA (14, close)