Skip to content
All library documents

Reducing EMA Lag with a Log-Return Adjustment

Article TradingView scripts

Summary

This indicator applies a lag adjustment to an exponential moving average (EMA) of a selected price or other series. It compares the current EMA with its previous value, expresses that change as a logarithmic ratio, scales it by a user controlled reduction setting, and applies the resulting exponential adjustment to the EMA. The chart can show the adjusted filter alongside the original EMA for comparison.

The document presents an implementation and describes the approach as usable with different time series, while using an EMA as its example. It supplies no performance tests, trading rules, or empirical evidence that the adjustment improves signals. Its main stated limitation is overshoot when the reduction setting is too aggressive; reducing that setting is suggested as a remedy. The output should therefore be treated as a transformed indicator whose behavior needs evaluation for the chosen series and use case.

Key ideas

  • The filter adjusts an EMA using the logarithmic ratio between consecutive EMA values.
  • A configurable reduction parameter controls the size of the adjustment.
  • The input series and EMA length can be selected by the user.
  • Aggressive lag adjustment can cause overshoot.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.