Trix (technical analysis) explained

Trix (or TRIX) is a technical analysis oscillator developed in the 1980s by Jack Hutson, editor of Technical Analysis of Stocks and Commodities magazine. It shows the slope (i.e. derivative) of a triple-smoothed exponential moving average.[1] [2] The name Trix is from "triple exponential."

TRIX is a triple smoothed exponential moving average used in technical analysis to follow trends. Positive TRIX values indicate bullish price trends, while negative TRIX values indicate bearish price trends. TRIX crossing zero indicates a trend change. A TRIX signal line, a moving average with a smaller period, is used to anticipate where the TRIX line is headed. TRIX crossing above its signal line implies that the price will likely move higher. TRIX crossing below its signal line implies that the price will likely move lower.

Trix is calculated with a given N-day period as follows:

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

p0

today's close,

p1

yesterday's, etc., and with

f=1-{2\overN+1}={N-1\overN+1}

(as for a plain EMA):

TripleEMA0=(1-f)3(p0+3fp1+

2p
6f
2

+

3p
10f
3

+...)

The coefficients are the triangle numbers, n(n+1)/2. As f is less than 1, the powers

fn

decrease faster than the coefficients increase. At a certain point the magnitude of all remaining terms becomes negligible.

Notes and References

  1. Web site: TRIX Uptrend & Downtrend | Stock Buy & Sell Signal |Technical Analysis . Web.archive.org . 2018-03-22 . dead . https://web.archive.org/web/20160305065749/http://chartalytics.com/cgi-bin/details?TRIX-indicates-an-downtrend&c=33 . 2016-03-05 .
  2. Web site: TRIX . Web.archive.org . 2018-03-22 . bot: unknown . https://web.archive.org/web/20060108165138/http://www.stockcharts.com/education/IndicatorAnalysis/indic_trix.htm . 2006-01-08 .