Dalal Street Blogs provides information for educational purposes only and does not constitute investment advice. Please consult a SEBI-registered investment adviser before making any investment decisions.
CAUTION: Dalal Street Blogs publishes market news and educational content only. We do not promote, recommend or endorse any stock, and nothing here is a solicitation to buy or sell securities. Please consult a SEBI-registered adviser before investing.

Indian Stock Market News, Analysis and Trading Guides

Technical Analysis

TRIX Indicator: Triple-Smoothed Momentum That Filters Out the Noise

TRIX indicator concept: a fine metal mesh sieve that filters out noise

Image by webandi on Pixabay (Pixabay Content License)

By Dalal Street Blogs Editorial10 min read

Most momentum oscillators twitch. One gap-up, one ugly session, and the line jumps around like it has had three cups of cutting chai. The TRIX indicator was built to calm that down. It runs price through three exponential moving averages, one after another, and then measures how fast that heavily smoothed line is changing. What comes out is a slow, rounded wave that ignores a lot of day-to-day chatter, and that is exactly why some swing traders on Dalal Street like it and why others find it too sluggish.

In this guide we go through what TRIX actually calculates, build it by hand on a small set of hypothetical prices, and then look at the three ways people read it: the zero line, the signal line and divergence. We also spend some time on where it lets you down, because every indicator built from moving averages pays a price in lag.

In this article
  1. What the TRIX indicator measures
  2. How TRIX is calculated, step by step
  3. A worked example with hypothetical prices
  4. Reading TRIX: the zero line
  5. Reading TRIX: the signal line
  6. Reading TRIX: divergence
  7. Choosing the period
  8. Where TRIX fits alongside other tools
  9. Common mistakes with TRIX
  10. Key takeaways

What the TRIX indicator measures

TRIX is a momentum oscillator. According to TradingView’s TRIX reference, it is the rate of change of a triple exponentially smoothed moving average, and it was introduced in the early 1980s by Jack Hutson, who was an editor at Technical Analysis of Stocks and Commodities magazine. The name itself is a contraction of “triple exponential”, as the Wikipedia entry on Trix explains.

Put simply, TRIX tells you the slope of a very smooth average. When the smoothed average is rising, TRIX is above zero. When it is falling, TRIX is below zero. When the average flattens out at a peak or a trough, TRIX passes through zero. That is the whole idea. Everything else is detail about how you smooth and how you trade the signals.

If you have read our piece on the rate of change indicator, TRIX will feel familiar. ROC measures percentage change in raw price. TRIX measures a one-period percentage change in something that has been smoothed three times over. Same family, very different temperament.

How TRIX is calculated, step by step

TradingView lays out four components, using an 18-period setting in its description:

  1. Single smoothed EMA: an 18-period EMA of closing prices.
  2. Double smoothed EMA: an 18-period EMA of the first EMA.
  3. Triple smoothed EMA: an 18-period EMA of the second EMA.
  4. TRIX: the one-period percentage change of the triple smoothed EMA.

Most platforms also draw a signal line, which is an EMA of the TRIX line itself. The period is adjustable everywhere, so you will see traders run TRIX on different lookbacks depending on the timeframe they trade. One point from Wikipedia worth keeping in mind: a period of 1 is invalid, because an EMA of one period is just the price and nothing gets smoothed.

Written as a formula, with EMA3 standing for the triple smoothed average:

TRIX (today) = (EMA3 today ÷ EMA3 yesterday − 1) × 100

So the output is a percentage. A TRIX reading of 0.25 means the triple smoothed average rose 0.25% from the previous bar. Not price, the average. That distinction matters when you are explaining a reading to yourself at 3:25 pm with a position open.

Why three layers of smoothing behave differently from one

A plain EMA leans heavily on the last few bars, so it hugs price closely. Smoothing it two more times changes the weighting a lot. Wikipedia notes that with a triple EMA the weights get spread much more broadly across past bars, and the most recent few days actually carry smaller weights than days a little further back. In other words, TRIX deliberately pays less attention to what happened in the very last session or two. That is the noise filter. It is also the reason for the lag, and you cannot have one without the other.

TRIX gives the latest couple of sessions less weight than the days just before them. That is how it filters noise, and it is also why it will always be a little late.

A worked example with hypothetical prices

Numbers make this easier. Below is a made-up stock that we will call ABC, with 15 daily closes in rupees. These are not real market prices; they exist only to show the arithmetic. To keep the table readable we use a 3-period setting, so the smoothing factor is 2 ÷ (3 + 1) = 0.5, and each EMA starts from the first close. On a real chart you would use a longer period, but the steps are identical.

Day Close (₹) EMA1 EMA2 EMA3 TRIX (%)
1 500 500.00 500.00 500.00 –
2 504 502.00 501.00 500.50 0.100
3 508 505.00 503.00 501.75 0.250
4 506 505.50 504.25 503.00 0.249
5 512 508.75 506.50 504.75 0.348
6 518 513.38 509.94 507.34 0.514
7 521 517.19 513.56 510.45 0.613
8 519 518.09 515.83 513.14 0.526
9 524 521.05 518.44 515.79 0.516
10 530 525.52 521.98 518.88 0.600
11 528 526.76 524.37 521.63 0.529
12 525 525.88 525.13 523.38 0.335
13 522 523.94 524.53 523.96 0.110
14 518 520.97 522.75 523.35 −0.115
15 520 520.49 521.62 522.49 −0.166

Let us walk through one row so the method is clear. On day 2, the close is ₹504. EMA1 moves halfway from ₹500 towards ₹504, giving ₹502.00. EMA2 moves halfway from its previous ₹500 towards the new EMA1 of ₹502, giving ₹501.00. EMA3 moves halfway from ₹500 towards ₹501, giving ₹500.50. TRIX is then (500.50 ÷ 500.00 − 1) × 100 = 0.100%.

Now step back and look at the shape. A few things jump out.

  • Day 4 barely registers. The close dropped ₹2, from ₹508 to ₹506, yet TRIX went from 0.250 to 0.249. A raw ROC would have flipped negative that day. TRIX shrugged.
  • Day 8 is a wobble, not a reversal. Price slipped from ₹521 to ₹519, and TRIX eased from 0.613 to 0.526 but stayed comfortably positive.
  • The top of the move is day 10 at ₹530. TRIX on day 10 was 0.600, lower than its own peak of 0.613 on day 7. Price made a higher high, TRIX made a lower high. That is a bearish divergence, and we will come back to it.
  • TRIX turned negative only on day 14. By then the close had already fallen from ₹530 to ₹518, which is ₹12 or about 2.3% below the day-10 high. That is the lag, in rupees.

This little table captures the trade-off well. The indicator kept us out of two false scares, on days 4 and 8. It also gave a quiet early warning through divergence. But anyone waiting purely for the zero line would have handed back a fair chunk of the move.

Reading TRIX: the zero line

The simplest reading is the sign. TradingView describes a positive TRIX as upward momentum and a negative TRIX as downward momentum. Wikipedia frames the zero cross as a trend change, since it marks a peak or trough in the underlying triple smoothed average.

The catch is that TradingView itself says zero line crossovers tend to have a lot of lag and are not always reliable. Our example showed why. A zero cross confirms that the smoothed average has already turned, and the smoothed average turns after price does. So a lot of traders treat the zero line as a filter rather than a trigger: they only look for long setups while TRIX is above zero and short setups while it is below, and they use something faster for timing.

Reading TRIX: the signal line

Because TRIX is already so smooth, crossovers of its own signal line come earlier than zero crosses. TradingView puts it this way: when TRIX is negative but crosses above the signal line, upside momentum is increasing, and when TRIX is positive but crosses below the signal line, downside momentum is increasing. Wikipedia makes the same point, describing a TRIX cross above its signal line as implying prices will likely move higher, and a cross below as implying they will likely move lower.

If this sounds like MACD, it should. TradingView notes that TRIX is very similar to MACD, with a much smoother line. In practice, signal line crosses on TRIX are fewer and slower than MACD crosses on the same chart, which some traders welcome and others find frustrating. It depends on whether you trade a two-day swing or a two-month position.

Here is a sensible way to think about it on an Indian large-cap. Say a stock has been in a downtrend for weeks, TRIX is below zero, and then it hooks up and crosses its signal line while still negative. That tells you the selling pressure is easing. It does not tell you the trend has reversed. Many traders would wait for price itself to confirm, for example by reclaiming a recent swing high, before acting. TRIX is the heads-up, price is the evidence.

Reading TRIX: divergence

Divergence is where TRIX earns its keep. TradingView defines it as price action that is not confirmed by the indicator, which can be a sign that underlying momentum does not support the move and a reversal may be near. A bearish divergence is price rising while TRIX falls. A bullish divergence is price falling while TRIX rises.

Our hypothetical ABC showed a textbook bearish case: a higher price high on day 10 alongside a lower TRIX high. Because TRIX strips out so much noise, divergences on it tend to be cleaner than on twitchier oscillators. That said, divergence can persist. A strong trend can keep making higher highs on fading momentum for longer than your stop-loss can stand, so divergence on its own is a reason to tighten risk, not a reason to short.

Divergence on TRIX is a reason to tighten your stop, not a licence to reverse your position.

Choosing the period

TradingView’s summary is blunt and correct: shorter periods make TRIX more sensitive, longer periods make it less sensitive, and the longer the period, the more lag you get. There is no magic number. A few practical pointers we find useful:

  • Match the period to your holding time. If you hold for days, a long TRIX on daily candles may only flip a couple of times a year, which is useless for you. If you invest for months, the same setting may be perfect.
  • Remember the period is applied three times. The effective smoothing is heavier than the number suggests. A setting that sounds short on paper still produces a slow line.
  • Test before you trust. Pull up a few years of a stock you know well, say a Nifty 50 name you have tracked, and see how often each setting would have kept you in good moves versus whipsawed you.

Where TRIX fits alongside other tools

TRIX belongs to a group of smoothed momentum tools that try to solve the same problem in different ways. The True Strength Index double-smooths price changes. The Know Sure Thing indicator blends several smoothed rates of change. TRIX triple-smooths price first and then takes the change. If you run two of these on the same chart, you mostly get the same message twice, so it is usually better to pair TRIX with something that measures a different thing: volume, support and resistance, or a volatility band.

For the wider toolkit, including how momentum indicators sit next to trend and volume tools, see our guide to technical analysis for Indian stocks.

Common mistakes with TRIX

  • Reading the value as price change. A TRIX of 0.5 is the change in the triple smoothed average, not a 0.5% move in the stock.
  • Trading every zero cross. They arrive late by design. On their own they often hand back much of the move, as our day-14 example showed.
  • Ignoring the trend. A bullish signal-line cross in a stock stuck below its falling averages is a weak signal. Context first, indicator second.
  • Over-optimising the period. A setting that would have nailed the last six months of one stock is likely to disappoint on the next six.
  • Using it on illiquid counters. Smoothing cannot fix a chart full of gaps and circuit-filter sessions. The output will look smooth and still mislead.

Key takeaways

  • TRIX is the one-period percentage change of a price series smoothed by three successive EMAs, introduced by Jack Hutson in the early 1980s.
  • Above zero means the smoothed average is rising; below zero means it is falling. Zero crosses are reliable confirmations but slow.
  • Signal line crossovers arrive earlier and work much like MACD crossovers, on a smoother line.
  • Divergence between price and TRIX is often the most useful early warning it gives.
  • Longer periods mean fewer false signals and more lag; there is no free lunch.

Sources

Disclaimer: This article is for education only and is not investment advice. The stock and prices in the worked example are hypothetical and used only to illustrate the calculation. Indicators can give false signals; do your own research or consult a SEBI-registered adviser before trading.

Leave a Reply

Join the conversation

Commenting is open to registered readers. Sign up with just your email — no password needed, and it takes under a minute.

Sign up to comment Log in