FXCM Forex Trading

Zero Lag indicator

Custom MT4 expert advisors published here.

Moderator: admin

Zero Lag indicator

Postby Alexander.Gettinger » Thu Jul 05, 2012 4:39 pm

Original indicator: viewtopic.php?f=17&t=2511

Zero Lag indicator is described in November 2010 issue of Stocks & Commodities.

The formula of the indicator is:
ZL = α * (EMA + Gain * (Close - ZL[1])) + (1 - α) * ZL[1]

The formula is similar to EMA, except that new term Gain * (Close - ZL[1]) is introduced.
'Gain' represents the value which is chosen from [-GainLimit, GainLimit] interval to minimize
the error for current data sample, (Close - ZL) → min


ZeroLAg_MQL.PNG


Download:
ZeroLag.mq4
(1.96 KiB) Downloaded 392 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 2713
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 2 guests