Jumat, 11 Mei 2018

Sponsored Links

Indicators & Oscillators - AgenaIndicator Documentation
src: agenatrader.github.io

The zero lag exponential moving average (ZLEMA) indicator was created by John Ehlers and Ric Way.

As is the case with the double exponential moving average (DEMA) and the triple exponential moving average (TEMA) and as indicated by the name, the aim is to eliminate the inherent lag associated to all trend following indicators which average a price over time.

The formula for a given N-Day period and for a given data series is:

Lag = ( P e r i o d - 1 ) / 2 {\displaystyle {\textit {Lag}}={(Period-1)/2}}
EmaData = D a t a + ( D a t a - D a t a ( L a g d a y s a g o ) ) {\displaystyle {\textit {EmaData}}={Data+(Data-Data(Lagdaysago))}}
ZLEMA = E M A ( E m a D a t a , P e r i o d ) {\displaystyle {\textit {ZLEMA}}={EMA(EmaData,Period)}}

The idea is do a regular exponential moving average (EMA) calculation but on a de-lagged data instead of doing it on the regular data. Data is de-lagged by removing the data from "lag" days ago thus removing (or attempting to) the cumulative effect of the moving average.


Video Zero lag exponential moving average



References


Maps Zero lag exponential moving average



External links

Source of the article : Wikipedia

Comments
0 Comments