Trix (technical analysis)
Encyclopedia
Trix is a technical analysis
Technical analysis
In finance, technical analysis is security analysis discipline for forecasting the direction of prices through the study of past market data, primarily price and volume. Behavioral economics and quantitative analysis incorporate technical analysis, which being an aspect of active management stands...

 oscillator
Oscillator (technical analysis)
An oscillator is a technical analysis indicator that varies over time within a band . Oscillators are used to discover short-term overbought or oversold conditions....

 developed in the 1980s by Jack Hutson, editor of Technical Analysis of Stocks and Commodities magazine. It shows the slope (i.e. derivative
Derivative
In calculus, a branch of mathematics, the derivative is a measure of how a function changes as its input changes. Loosely speaking, a derivative can be thought of as how much one quantity is changing in response to changes in some other quantity; for example, the derivative of the position of a...

) of a triple-smoothed exponential moving average. The name Trix is from "triple exponential."

Trix is calculated with a given N-day period as follows:
  • Smooth prices (often closing prices) using an N-day exponential moving average (EMA).
  • Smooth that series using another N-day EMA.
  • Smooth a third time, using a further N-day EMA.
  • Calculate the percentage difference between today's and yesterday's value in that final smoothed series.


Like any moving average, the triple EMA is just a smoothing of price data and, therefore, is trend-following. A rising or falling line is an uptrend or downtrend and Trix shows the slope of that line, so it's positive for a steady uptrend, negative for a downtrend, and a crossing through zero is a trend-change, i.e. a peak or trough in the underlying average.

The triple-smoothed EMA is very different from a plain EMA. In a plain EMA the latest few days dominate and the EMA follows recent prices quite closely; however, applying it three times results in weightings spread much more broadly, and the weights for the latest few days are in fact smaller than those of days further past. The following graph shows the weightings for an N=10 triple EMA (most recent days at the left):


Note that the distribution's mode will lie with pN-2's weight, i.e. in the graph above p8 carries the highest weighting. An N of 1 is invalid.

The easiest way to calculate the triple EMA based on successive values is just to apply the EMA three times, creating single-, then double-, then triple-smoothed series. The triple EMA can also be expressed directly in terms of the prices as below, with today's close, yesterday's, etc., and with (as for a plain EMA):


The coefficients are the triangle numbers, n(n+1)/2. In theory, the sum is infinite, using all past data, but as f is less than 1 the powers become smaller as the series progresses, and they decrease faster than the coefficients increase, so beyond a certain point the terms are negligible.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK