[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] TEMA vs TRIX



PureBytes Links

Trading Reference Links

TEMA;

The triple exponential moving average ( TEMA ) is a composite of a single
exponential
moving average, a double exponential moving average, and a triple
exponential moving
average that provides less lag time ** when there is a trend ** than either
of the three 
components individually.

TEMA can be used in place of exponential moving averages. You can use it to
smooth
price data or other indicators.

pds=14;
t=(3*EMA(C,pds))-(3*EMA(EMA(C,pds),pds))+(EMA(EMA(EMA(C,pds),pds),Pds));
Plot(t,"T",colorWhite,styleLine);
Plot(TEMA(C,PDS),"TEMA",colorRed,styleLine); //BULT-IN INDICATOR


TRIX:
 
TRIX is a momentum indicator that displays the percent rate of change of a
triple exponentially smoothed moving average of a security's closing price.
It is designed to keep you in trends equal
to or shorter than the number of periods you specify.
 
The TRIX indicator oscillates around a zero line. Its triple exponential
smoothing is designed to filter
out "insignificant" cycles.
 
CALCULATION:
 
pds=9;
tr=ROC(EMA(EMA(EMA(C,pds),pds),pds),1)*10;
Plot(tr,"tr",colorWhite,styleLine);
Plot(Trix(pds),"trix",colorRed,styleLine);//bUILT-IN INDICATOR
 
 Anthony
-------Original Message-------
 
From: amibroker@xxxxxxxxxxxxxxx
Date: Thursday, May 08, 2003 8:46:28 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] TEMA vs TRIX
 
Can someone tell me exactly what the difference is between these two 
functions and what the calculations are for each?
 
The Amibroker HELP doesn't really describe the difference and it is 
hard to tell from the HELP description.
 
Thanks in Advance
 
Dennis
 
 
Yahoo! Groups Sponsor
 
 
 
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq
html 
 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 
 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/