TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
TradingView Futures Indicators

Zero Lag EMA on TradingView Compare everget, LazyBear and a Plain EMA

Searching for Zero Lag EMA can show several indicators with similar names. This five-minute MES example holds the source and length fixed so you can compare the effect of the formulas.

Quick Answer

Choose the script by author in TradingView. everget adjusts the closing price before smoothing it, while LazyBear applies a correction after two EMA passes. Set both scripts and a plain EMA to Length 14 on the same completed candles to see how their timing differs.

Start 7-Day TrialChoose the script by authorCompare the turns on MESVerify your own readings

Find the two Zero Lag EMA scripts in TradingView

Open the linked TradingView listings and verify the titles and authors. everget’s script is called Zero Lag Exponential Moving Average and defaults to length 14 with Close as its source. LazyBear’s script is called Indicator: Zero Lag EMA & a simple trading strategy. Its published source defaults to length 10 and uses Close.

Use the same length when comparing the formulas. At length 14, everget takes the close from six bars ago, subtracts it from the current close, adds that difference to the current close, then applies an EMA to the adjusted input. At 11:25 ET in the example, the close is 6,013.25 and the close six bars earlier is 6,012.75. The adjusted input is 6,013.75 before smoothing.

LazyBear first applies an EMA to closes, then applies another EMA to that first line. Its output is twice the first EMA minus the second. This gives a different correction even when both scripts use length 14.

Compare the first lower value on identical MES bars

The chart uses 42 synthetic five-minute MES candles after 42 flat warm-up closes at 6,000. Each scenario keeps the gray EMA and price bars visible. The only change is which zero-lag formula the colored line uses.

At A, 11:25 ET, the everget line falls from 6,014.68 to 6,014.56. On the same bar the LazyBear line is still rising, from 6,014.54 to 6,014.64. It first falls at B, 11:30 ET, to 6,014.58. The plain EMA first falls at C, 11:45 ET, from 6,011.46 to 6,011.40. Values are rounded for display.

The same length produced three different turn times on this pullback. A line can also turn back during a short bounce. Use these times to compare what each calculation responds to. They are indicator observations without simulated orders or trading results.

Zero Lag EMA formulas on 42 MES candles

Synthetic MES 5-minute candles. Times are bar closes in ET.

Marked bars · 11:25 A / 11:45 C

The cyan everget line turns down at A, 11:25 ET. The gray plain EMA first falls at the dot below the later candle, C at 11:45 ET.

Check the reason for a timing difference

Add the two named scripts and TradingView’s built-in Exponential Moving Average. Match Length, Close source, dated symbol, timeframe, and session. If you use the defaults, the difference in length is mixed in with the difference in formulas. Give all three lines distinct colors.

Step to a completed bar in Bar Replay. In the Data Window, record the current and previous values for each line. Mark the first lower value after the rise. If two readings round to the same value, increase the displayed precision or leave that bar unclassified in your notes.

Record a candle crossing below a line in a separate column. A crossing and a change of slope measure different events. Repeat the comparison in a sideways window and count how often each slope reverses before using the line in a rule.

Sources

Official References

Platform details on this page were checked against these official resources.

everget’s Zero Lag Exponential Moving AverageOpen the Source code tab to check how the script adjusts price.LazyBear’s Zero Lag EMAOpen the Source code tab to verify the two EMA passes.TradingView Exponential Moving Average documentationCheck the ordinary EMA calculation used for comparison.
Related Guides

Keep Building the Rule System

Compare Hull Moving Averages on the same MES candles

Check how changing length affects the first lower value.

Read indicator values in the TradingView Data Window

Match exact values to the same completed candle.

FAQ

Common Questions

Why are my two Zero Lag EMA lines different?

Scripts can transform the input or combine smoothed prices in different ways. Verify the author and match length, source, symbol, session and timeframe before interpreting timing differences.

Does Zero Lag EMA know where price will turn?

Both implementations use current and historical prices. A faster response to one pullback does not establish how the next pullback will behave.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.