Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Triple or Double Exponential Moving Average (DEMA or TEMA) for Metastock
over 12 years ago

0 / 5 (Votes 0)
metastock, moving average

DEMA and TEMA are unique smoothing indicators developed by Patrick Mulloy. TEMA was originally introduced in the January 1994 issue of Technical Analysis of Stocks & Commodities magazine. The inherit problem with normal moving averages is the lag that increases as the moving average length increases. One solution to reduce this lag is a modified version of exponential smoothing with less lag time. TEMA is an acronym that stands for Triple Exponential Moving Average. HOWEVER, the name of this smoothing technique is a bit misleading in that it is not simply a moving average of a moving average of a moving average. It is a unique composite of a single exponential moving average, a double exponential moving average, and a triple exponential moving average that provides less lag than either of the three components individually.

Source: equismetastock[at]yahoogroups[dot]com



Indicator / Formula

Copy & Paste Friendly

{Plots either a DEMA or TEMA}
Plot:= Input("Display [1] Dema[2] Tema",1,2,2);
Period:= Input("What Period",1,250,10);
EMA1:= Mov(C,Period,E);
EMA2:= Mov(EMA1,Period,E);
EMA3:= Mov(EMA2,Period,E);
Difference:= EMA1 - EMA2;
DMA:= EMA1 + Difference;


Leave Comment

Please login here to leave a comment.