curtis33e 15 posts msg #97717 - Ignore curtis33e |
12/2/2010 12:39:48 AM
Can any of you coding guru's tell me if I coded TEMA formula correctly.
Tema=(3XEMA)-(3xEMA of EMA)+(EMAofEMAofEMA)
This is what I came up with below.
set{A1,EMA(5)}
set{A2,EMA(A1)}
set{A3,EMA(A2)}
set{A4,3 * A2}
set{A5, 3 * A1}
set{A6,A5 - A4}
set{A7,A6 + A3}
set{TEMA,A7}
|
four 5,087 posts msg #97718 - Ignore four |
12/2/2010 12:45:54 AM
TRIX Oscillator
http://forums.stockfetcher.com/sfforums/?q=view&fid=1006&tid=224&qrid=&isiframe=
-----------------------------------------
Parameters PERIOD
EMA PERIOD
Usage TRIX(PERIOD)
TRIX(PERIOD,EMA PERIOD)
TRIX EMA(PERIOD,EMA PERIOD)
TRIX Histogram(PERIOD,EMA PERIOD)
Description The TRIX is an oscillator developed by Jack Huton which uses a triple-smoothed EMA to produce a resulting signal that is fairly tolerant to recent volatile price moves. This ability to ignore recent volatility produces a trend oscillator that can assist in following current trends.
The construction of the TRIX requires a single period. Essentially, 3 successive EMA's are computed from this period.
In addition to the primary TRIX signal, a smoothed signal is presented along with the TRIX that further reduces volatility. This smoothing is an n-day EMA of the raw TRIX value.
Finally, StockFetcher also provides a TRIX Histogram. Which, similar to the MACD Histogram, measures the difference between the TRIX signal and the smoothed , or slower, EMA of the TRIX.
Examples
|
curtis33e 15 posts msg #97726 - Ignore curtis33e |
12/2/2010 11:18:28 AM
Thank You for your responce four. Please do not get me wrong. I very much appreciate any help that I can get when it comes to stocks. However, I was realy trying to learn how to code. So that in the future I would be able to stand on my own when it comes to coding specialized screens. Lol, I guess I coded the TEMA wrong hugh?
|