DMA

Custom MT4 expert advisors published here.

Moderator: admin

DMA

Postby Alexander.Gettinger » Thu Aug 29, 2013 10:56 am

Original LUA oscillator: http://fxcodebase.com/code/viewtopic.php?f=17&t=58535.

Formulas:
DMA[i] = E*Price[i]+(1-E)*DMA[i-1], where
E = D*D,
D = C*2/31+(1-C)*2/3,
C=A/B,
A = Price[i] - Price[i-Length+1],
B = Sum(Price[i]-Price[i-1]) from (i-Length+1) to (i).

DMA_MQL.PNG


Download:
DMA.mq4
(1.76 KiB) Downloaded 895 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Bing [Bot] and 25 guests