Digital adaptive Moving Average (XMA)

Custom MT4 expert advisors published here.

Moderator: admin

Digital adaptive Moving Average (XMA)

Postby Alexander.Gettinger » Mon Sep 22, 2014 11:13 am

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

Formulas:
XMA[i] = MA[i], if Abs(MA[i]-MA[i-1])>=Step, else
XMA[i] = XMA[i-1], where
MA - moving average with [Length] number of periods and [Method] type,
Abs - absolute value.

XMA_MQL.PNG


Download:
XMA.mq4
(1.79 KiB) Downloaded 510 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: No registered users and 5 guests