StockFetcher Forums · Filter Exchange · Help Please to pgm the DEMA indicator<< >>Post Follow-up
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 ...

Fetcher[

set{double_ema, cema(ema(10),10)}
set{2ema, 2 * ema(10)}
set{dema, 2ema - double_ema}
draw dema on plot price
draw ema(10)

symlist(spy)
]



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.

StockFetcher Forums · Filter Exchange · Help Please to pgm the DEMA indicator<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.