JFD02818 2 posts msg #103836 - Ignore JFD02818 |
12/17/2011 12:56:17 PM
Hi to all. I have been attempting to program the DEMA indicator and just can't seem to get it to operate. The following is the basic formuls from Quotetracker. Any help would be appreciated.
DEMA - Double Exponential Moving Average
A moving average indicator created by Patrick Mulloy - introduced in the February 1994 issue of Technical Analysis of Stocks & Commodities magazine.
Its formula is: (2 * EMA(N)) - (EMA(EMA(N),N)) - that is, twice the N-period EMA minus the N-period EMA of the EMA. This indicator is supposed to have less delay than the regular EMA.
http://www.quotetracker.com/help/techind.shtml#DEMA.
Thanks
|
Kevin_in_GA 4,599 posts msg #103837 - Ignore Kevin_in_GA |
12/17/2011 2:24:00 PM
DEMA - Double Exponential Moving Average
A moving average indicator created by Patrick Mulloy - introduced in the February 1994 issue of Technical Analysis of Stocks & Commodities magazine.
Its formula is: (2 * EMA(N)) - (EMA(EMA(N),N)) - that is, twice the N-period EMA minus the N-period EMA of the EMA. This indicator is supposed to have less delay than the regular EMA.
http://www.quotetracker.com/help/techind.shtml#DEMA.
+++++++++++
Not hard to do ...
No question - it is certainly more responsive than the standard ema. Question whether or not you would get more whipsaws, as this seems to track more like an ema(3)!
|
JFD02818 2 posts msg #103839 - Ignore JFD02818 |
12/18/2011 9:32:40 AM
Thanks very much Kevin_in_GA for the help. I'm still very new to Stock Fetcher and could not see the forest from the trees but it works just fine now.
|
Kevin_in_GA 4,599 posts msg #103850 - Ignore Kevin_in_GA |
12/19/2011 11:07:55 AM
Remember - only one mathematical operation allowed per set{} statement. That's where most folks make their mistakes when they start using set statements.
|