PROTECTED SOURCE SCRIPT

PpSignal Non lag LSMA

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

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:[2][3]

{\displaystyle {\textit {Lag}}={(Period-1)/2}} {\textit {Lag}}={(Period-1)/2}
{\displaystyle {\textit {EmaData}}={Data+(Data-Data(Lagdaysago))}} {\displaystyle {\textit {EmaData}}={Data+(Data-Data(Lagdaysago))}}
{\displaystyle {\textit {ZLEMA}}={EMA(EmaData,Period)}} {\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.

We use Linear regression ma for calculate this script
cryptoForexMoving AveragesS&P 500 (SPX500)

보호된 스크립트입니다

이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.

차트에 이 스크립트를 사용하시겠습니까?


또한 다음에서도:

면책사항