FXCM Forex Trading

ZigZag and Moving Average (ZMA)

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

ZigZag and Moving Average (ZMA)

Postby Alexander.Gettinger » Mon Feb 21, 2011 5:34 am

Standard realization of ZigZag is taken for base of the indicator.
From each node is drawn MA with increasing period.
For example:
"A" is a node of ZigZag.
ZMA[A]=Price_close[A],
ZMA[A+1]=(Price_close[A]+Price_close[A+1])/2,
ZMA[A+2]=(Price_close[A]+Price_close[A+1]+Price_close[A+2])/3 and etc.

ZMA.png


Download:
ZMA.lua
(9.98 KiB) Downloaded 735 times


MQ4/MT4 version.
viewtopic.php?f=17&t=3485
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 2770
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: ZigZag and Moving Average (ZMA)

Postby Apprentice » Fri Feb 17, 2017 10:24 am

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17130
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 10 guests