Indicators
Zero Lag Moving Average (ZLMA) Indicator Explained
How the Zero Lag MA uses error correction to remove EMA lag, and how to automate ZLMA crossovers in Setup.Cash.
Featured image placeholder
/og/setup-cash-og.svg
The Zero Lag Moving Average (ZLMA) attacks lag with a simple trick: before smoothing, it adds back the difference between price and a delayed copy of itself — a momentum-based error correction. The EMA then smooths this 'de-lagged' series, tracking price with almost no delay.
How It Works
- Price plus (price − price N/2 bars ago) forms the corrected input series.
- An EMA smooths the corrected series, keeping the noise reduction without the drag.
- The line turns nearly in sync with price at trend changes.
How to Trade It
ZLMA is built for fast triggers: price/ZLMA crosses, ZLMA/EMA pairs (fast corrected line vs slow honest line), and slope flips. The speed costs whipsaw in chop, so pair with a choppiness or ADX gate.
Building It in Setup.Cash
Add Zero Lag Moving Average (ZLMA) in the strategy builder — the length input controls its sensitivity — and use its value in any entry, exit, or filter condition. You can also combine it with other tools in the Indicators Lab or via the AI indicator generator. See HMA, DEMA and TEMA for other lag-reduction approaches. For the full category overview, see the advanced trend library guide.
Trend tools reward patience: pick one, pair it with a volatility or regime filter, and backtest before trading it live.
Related Posts
View allIndicators
Arnaud Legoux Moving Average (ALMA) Indicator Explained
How the ALMA uses Gaussian weighting to stay smooth and responsive at once, and how to automate it in Setup.Cash.
2 min read · 237 words
Indicators
Fibonacci Weighted Moving Average (FWMA) Indicator Explained
How the FWMA weights recent price by Fibonacci numbers, and how to automate the Fibonacci weighted average in Setup.Cash.
2 min read · 202 words
Indicators
Holt-Winters Moving Average (HWMA) Indicator Explained
How the Holt-Winters Moving Average applies forecasting-model smoothing with level, trend, and seasonality terms in Setup.Cash.
2 min read · 204 words
Indicators
Jurik Moving Average (JMA) Indicator Explained
What makes the Jurik Moving Average exceptionally smooth with low lag, and how to use JMA in automated strategies in Setup.Cash.
2 min read · 214 words
Start here
Build your trading bot workflow with structure
Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.