Page 1 of 3

Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Tue May 18, 2010 6:42 am
by Apprentice
EMA.png
EMA,DEMA, TEMA

Developed by Patrick Mulloy and introduced in the February 1994 issue of Technical Analysis of Stocks & Commodities magazine, this trend indicator.

As Mr. Mulloy explains in the article:
"Moving averages have a detrimental lag time that increases as the moving average length increases. The solution is a modified version of exponential smoothing with less lag time."

It's possible to use the Double & TripleExponential Moving Averages in the same way as the Simple Moving Average or Exponential Moving Average.

DEMA = EMA of EMA of Price
TEMA = EMA of EMA of EMA of Price

DEMA.lua
(2.14 KiB) Downloaded 2729 times

TEMA.lua
(1.92 KiB) Downloaded 2648 times

Update November 14

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Wed Jun 02, 2010 12:18 pm
by Apprentice
This is an old version,
is not deleted, because of compatibility,
with indicators and strategies that use it

DEMA1.lua
DEMA
(1.83 KiB) Downloaded 1984 times

TEMA1.lua
(1.61 KiB) Downloaded 1895 times

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Sun Nov 14, 2010 5:03 am
by magicfx
Would be good if someone can add the option to change the solid line width to 2.

Quite difficult to see inf Marketscope with Line width 1.

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Sun Nov 14, 2010 6:12 am
by Apprentice
Style Options Updated

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Sun Nov 14, 2010 6:34 am
by Apprentice
DoubleMovingAverage.png


This versions allow you to select type of moving average.
If you choose EMA Indkator is in every respect identical to DEMA or TEMA,
(depending on which indicator you use).

DEMA = EMA of EMA of Price
DMA = MA of MA of Price

DoubleMovingAverage.lua
(2.68 KiB) Downloaded 1900 times

TripleMovingAverage.lua
(2.46 KiB) Downloaded 2088 times

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Tue Jan 11, 2011 11:37 am
by mazdaq100
Apprentice wrote:
DoubleMovingAverage.png


This versions allow you to select type of moving average.
If you choose EMA Indkator is in every respect identical to DEMA or TEMA,
(depending on which indicator you use).

DEMA = EMA of EMA of Price
DMA = MA of MA of Price

DoubleMovingAverage.lua

TripleMovingAverage.lua


Hi

Thanks for these. Is it possible to get these converted into Strategies please?

Thanks.

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Tue Jan 11, 2011 2:20 pm
by Apprentice
Of course, Can you describe the strategy you want to describe.
For example, Price / CrossOver DEMA, DEMA / TEMA Crossover, a change in slope Signal.

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Fri Nov 25, 2011 6:14 pm
by Apprentice
From: samsds
Could you help me ?
The application of Trading Station made some updates to the application,
but I'm seeing that the Indicator TEMA1 with the parameters 250 and 800 did not work, does not show the line on the screen and price, but parameter 100 and lower, show the line a price on the char

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Mon Mar 19, 2012 10:27 am
by dwrench
Hello Apprentice,
I have been looking for an alert that would deliver a sound, txt message and/or pop-up telling me when two custom ema's cross or touch.
Do you already have one that is coded?
Thanks

Re: Double & Triple Exponential Moving Average (DEMA & TEMA)

PostPosted: Tue Mar 20, 2012 2:30 am
by Apprentice
I do not have anything like this, for now.