Mcginley Dynamic
Author: jps
Creation Date: 11/19/2010 11:47 AM

#### jps

#1
Does an indicator exist which can be used with Wealth Lab based on the McGinley Dynamic trading instrument?

#### Eugene

#2
Based on the formula taken here: http://www.forexfactory.com/showthread.php?t=204858
QUOTE:
Ref(Mov(C,12,E),-1)+((C-(Ref(Mov(C,12,E),-1))) / (C/(Ref(Mov(C,12,E),-1))*125))

CODE:
Please log in to see this code.

#3
Great!

Thx.

#### Eugene

#4
The formula above appears to be a simplification. Here's an explanation made by its author on DailyFX forums:
QUOTE:
This is a creation for Metastock before it could do recursive calculations. It is nothing like my indicator. I created this in 1990 and it was published in the Market Technician's Assn Journal in Summer 1997. I can e-mail you the pages of that article. The equation is: D = D1 + (I - D1) / ( N * (I/D1)^4) where D1 = yesterday's Dynamic, I = today's price, N = smoothing factor. If you want the indicator to fit as closely as, say, a 20da MA, make N = 60% of 20. Larger fits more loosely, stays out of consolidations longer. This automatically speeds up when the market does and vice versa.

Honestly, I can see how this equation could work at all because D1 has always to be 0 on the 1st bar, and you have to divide by zero. Here's the broken code:
CODE:
Please log in to see this code.

#### Eugene

#5
Added to our Community Indicators library v2010.12.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).