TRIX Indicator for Nifty and Bank Nifty
TRIX indicator explained: formula, best settings, TRIX vs MACD, is it leading or lagging, overbought levels, intraday use and how to add it to a chart.
Key Takeaways
- 1.TRIX is a triple smoothed momentum oscillator. It takes an EMA of an EMA of an EMA of closing price, then plots the one period percent change of that final line.
- 2.The zero line is the heart of TRIX. A cross from below zero to above zero is a buy bias, and a cross from above to below is a sell bias.
- 3.Because of triple smoothing, TRIX is slow and lagging. It shines on Nifty and Bank Nifty positional or swing trends and is poor in flat, range bound sessions.
- 4.A signal line, usually a 9 period EMA of TRIX, gives earlier entries than the zero line at the cost of more whipsaws.
- 5.In India, equity delivery swings are taxed as STCG at 20 percent under 1 year, and F and O is taxed as business income at your slab. Always account for STT and brokerage before judging a TRIX strategy.
What the TRIX Indicator Actually Measures
TRIX, short for Triple Exponential Average, was created by Jack Hutson, an editor at Technical Analysis of Stocks and Commodities, in the early 1980s. The name is slightly misleading. TRIX is not the triple EMA value itself. It is the rate of change of a triple smoothed EMA, expressed as a percentage. You smooth the closing price three times to strip out short term noise, then you measure how fast that very clean line is rising or falling.
The result is a single line that oscillates around a zero line. When TRIX is positive, the smoothed trend is accelerating upward. When negative, it is accelerating downward. Because three rounds of smoothing remove most of the day to day chop, TRIX tends to stay on one side of zero for long stretches during a real trend, which is why Indian positional traders use it on Nifty, Bank Nifty and large caps like Reliance, HDFC Bank and TCS rather than for scalping. The trade off is that triple smoothing makes TRIX one of the slowest oscillators in common use. It rarely catches the exact top or bottom, but it does confirm that a trend is genuine and filters out the false starts that trap fast indicator users.
How TRIX Is Calculated, Step by Step
The calculation uses the standard exponential moving average. For a period of N, the smoothing factor is k equals 2 divided by N plus 1. For the common 15 period TRIX, k equals 2 divided by 16, which is 0.125. Each new EMA value is the current input times k, plus the previous EMA times one minus k.
- EMA1: take the EMA of the daily closing prices over N periods.
- EMA2: take the EMA of EMA1 using the same N. This smooths the already smoothed line.
- EMA3: take the EMA of EMA2 using the same N. This is the fully triple smoothed line.
- TRIX: compute the percentage change of EMA3 from the prior bar to the current bar. The formula is EMA3 today minus EMA3 yesterday, divided by EMA3 yesterday, multiplied by 100.
- Optional signal line: take a 9 period EMA of the TRIX line itself to generate faster crossover entries.
A useful detail for Indian charts: most platforms multiply by 100, so values are small, often between minus 0.5 and plus 0.5 on a daily Nifty chart. Some scale by 10000 instead, so the same move reads as minus 50 to plus 50. The shape is identical, only the axis numbers differ, so do not panic if TradingView and your broker terminal disagree.
Is TRIX Leading or Lagging?
TRIX is a lagging indicator. It is built from three layers of moving averages of past closes, so it can only react after price has moved. The worked example below shows the lag: Nifty rallied about 490 points before the zero cross.
It can still feel earlier than a moving-average crossover. TRIX measures the one-bar rate of change of the smoothed line, so it turns before the smoothed line itself changes direction on the chart. Think of it as a slow but early warning about the direction of a trend, not a prediction. The signal-line cross turns sooner than the zero-line cross, with more false signals.
A Fully Worked Nifty TRIX(15) Example With Real EMA Values
Generic articles describe TRIX but never show the arithmetic. Here is a concrete, illustrative TRIX(15) walk through on the Nifty 50 daily chart, using a smoothing factor of 0.125. Assume Nifty drifted down for about three weeks from roughly 24,500 to near 24,050, then turned and began rallying. We track the three EMAs and the TRIX value across the exact bars where the turn happens. These numbers are illustrative but internally consistent, built with the real EMA formula.
| Day | Nifty Close | EMA1 | EMA2 | EMA3 | TRIX % |
|---|---|---|---|---|---|
| Day 30 | 24,420.00 | 24,235.36 | 24,176.56 | 24,211.81 | minus 0.0208 |
| Day 31 | 24,457.00 | 24,263.06 | 24,187.37 | 24,208.75 | minus 0.0126 |
| Day 32 | 24,497.00 | 24,292.31 | 24,200.49 | 24,207.72 | minus 0.0043 |
| Day 33 | 24,540.00 | 24,323.27 | 24,215.84 | 24,208.73 | plus 0.0042 |
| Day 34 | 24,574.00 | 24,354.61 | 24,233.18 | 24,211.79 | plus 0.0126 |
| Day 35 | 24,611.00 | 24,386.66 | 24,252.37 | 24,216.86 | plus 0.0209 |
Read the EMA3 column carefully because it is the line TRIX is built on. From Day 30 to Day 32, EMA3 keeps falling, from 24,211.81 down to 24,207.72, so TRIX stays negative. On Day 33, EMA3 ticks up for the first time, from 24,207.72 to 24,208.73. That tiny upturn is the whole event. The percentage change becomes positive, so TRIX crosses the zero line from minus 0.0043 to plus 0.0042 on Day 33. That is the buy signal, and the close that day is 24,540.
Notice the lag. Nifty had already bottomed near 24,050 and rallied back to 24,540 before TRIX confirmed. You gave up the first 490 points of the bounce. That is the price of triple smoothing. In return, every false one day pop during the earlier downtrend was ignored, because EMA3 never actually turned up until the trend was real. This is the behaviour to expect and plan around, not a flaw to fix.
To verify any TRIX value, export Nifty daily closes, apply EMA with k equals 0.125 three times in sequence, then take the percent change of the third column. If your zero cross lands one bar early or late versus your broker, the cause is almost always a different EMA seeding method or a different period, not a bug.
Turning the Signal Into a Real Trade With Costs
A signal on a chart is not a profit. Suppose you act on the Day 33 zero cross and express the view through one lot of Nifty weekly options, since the cash index cannot be traded directly. Nifty lot size is 65. You buy one slightly in the money 24,500 call expecting continuation. Assume you pay a premium of 180 points. Your cost is 180 times 65, which is Rs 11,700 of capital at risk, plus charges.
If Nifty continues to the Day 35 level near 24,611 and your call premium rises to roughly 250 points, you exit. The gross gain is 250 minus 180, which is 70 points, times 65, equal to Rs 4,550. Now subtract costs. Options STT is 0.15 percent of premium on the sell side since 1 April 2026, so 0.15 percent of 250 times 65, about Rs 24. Add roughly Rs 20 per order brokerage on a discount broker, plus exchange charges, GST, SEBI and stamp fees. Realistic all in costs come to about Rs 84, leaving net profit around Rs 4,466, illustrative only.
The lesson is that TRIX gives you direction, but the instrument decides the outcome. A long option also fights theta, the daily time decay that is brutal near weekly expiry. Because TRIX is a slow confirming signal, a fast decaying weekly buy is a poor fit. A debit spread, a futures position, or a positional swing in the cash stock usually suits TRIX better.
Reading TRIX: Zero Line, Signal Line and Divergence
There are three classic ways to read TRIX, ranked from slowest and most reliable to fastest and noisiest. The zero line cross, shown in the worked example, is the most conservative. The signal line cross, where TRIX crosses its own 9 period EMA, fires earlier and is the usual choice for swing traders who find the zero line too late. Divergence is the most advanced read.
- Zero line cross: TRIX moves from negative to positive for a long bias, or positive to negative for a short bias. Slowest, fewest false signals.
- Signal line cross: TRIX crossing above its 9 EMA is a buy trigger, crossing below is a sell trigger. Earlier, but more whipsaws in sideways markets.
- Bullish divergence: price prints a lower low but TRIX prints a higher low, hinting the downtrend is exhausting.
- Bearish divergence: price prints a higher high but TRIX prints a lower high, warning that an uptrend such as a Bank Nifty rally is losing steam.
On Bank Nifty, which is far more volatile than Nifty, divergence is especially valuable. Bank Nifty can grind to a new high on thin momentum, and a TRIX that fails to confirm that high is often an early warning to tighten stops or book partial profits before a reversal.
TRIX Has No Fixed Overbought or Oversold Levels
RSI has 70 and 30, but TRIX has no standard overbought or oversold lines, because the size of its readings depends on the instrument, the period and the platform's scale. A TRIX reading of 0.05 can be large for a calm index and small for a volatile stock.
- Open a long daily chart of the same instrument and mark the highest and lowest TRIX values over the past year or two.
- Treat readings near those extremes as stretched for that instrument only, never for another one.
- Prefer the turn of TRIX away from an extreme, or a divergence, to the level itself.
- Do not carry thresholds from one platform to another if one scales by 100 and the other by 10,000.
This is context, not a trigger. A strong trend can keep TRIX near its high for weeks.
Best TRIX Settings for Indian Markets
There is no single correct setting, but there are sensible defaults for Indian instruments. The classic value is 15 on the daily timeframe, matching the worked example. Shorter periods react faster and suit volatile instruments and shorter holds. Longer periods are smoother and suit positional traders who act only on major trend shifts.
| TRIX Period | Best For | Trade Off |
|---|---|---|
| 8 to 9 | Intraday Nifty and Bank Nifty on 15 min or 1 hour charts | Faster but many false signals in choppy sessions |
| 14 to 15 | Daily swing trading on indices and large caps | Balanced, the most common default |
| 21 | Positional trades held for weeks | Very smooth, late entries, misses minor swings |
| 30 | Long term trend filter on weekly charts | Extremely slow, used mainly as a regime filter |
A practical tip: TRIX struggles in the tight, low volatility ranges that NSE indices often enter between major events such as RBI policy, Union Budget and quarterly results. In such phases the zero line cross produces repeated small losses. Many traders switch TRIX off in obvious ranges and only trust it once price breaks out of a multi week consolidation.
Using TRIX on Intraday Charts
Shorter periods make TRIX react faster on 5-minute and 15-minute charts. Common starting points are 8 or 9 on 15-minute charts and a slightly shorter period on 5-minute charts, but treat them as starting points to test, not recommendations. Faster settings give more crossings and more whipsaws, and each extra trade adds brokerage and other charges.
- Use a higher timeframe such as 1 hour or daily to decide the direction, and take TRIX signals on the lower chart only in that direction.
- Avoid acting on the first signals after the open, when prices are moving fast.
- Expect lag. By the time a 5-minute zero cross appears, a large part of the move may be gone.
- Count charges. Many small trades in one day can turn a small edge into a loss.
If you test an intraday TRIX setting, log each trade with its setting, entry reason and result in your journal. OneTradeJournal estimates charges per trade you enter by hand, so after a few weeks you can compare the setting against your actual results.
Combining TRIX With Other Tools
TRIX is a confirmation engine, not a standalone system. Because it is slow, it pairs best with one tool that defines the bigger trend and one that times the entry. A common Indian setup is a 50 and 200 period moving average for trend bias, TRIX to confirm momentum direction, and a structure based stop at the recent swing low or VWAP.
| Companion Tool | What It Adds to TRIX |
|---|---|
| 50 and 200 EMA | Defines the dominant trend so you only take TRIX signals in that direction |
| RSI (14) | Flags overbought above 70 or oversold below 30, helping avoid chasing late TRIX signals |
| MACD | Cross checks momentum, since both are EMA based you want them to agree, not conflict |
| Volume and Delivery % | Confirms that a TRIX breakout has real participation behind it |
One caution. MACD and TRIX are both built from EMAs, so stacking them can feel like confirmation when it is really redundancy. For a true second opinion, pair TRIX with something structurally different such as RSI or volume.
TRIX vs MACD
Both are built from exponential moving averages, so both lag. The difference is in what they measure. See the MACD guide for its details.
| Point | TRIX | MACD |
|---|---|---|
| Built from | Rate of change of an EMA of an EMA of an EMA | Difference between a fast and a slow EMA |
| Smoothing | Triple, one period | Single EMAs, two lengths |
| Centre line | Zero line (rate of change) | Zero line (EMA gap) |
| Signal line | 9-period EMA of TRIX, often optional | 9-period EMA of MACD, standard |
| Noise | Fewer small wiggles, later turns | More responsive, more false crosses |
| Extra output | Single line | Histogram of MACD minus signal |
TRIX filters noise more heavily, so it suits swing and positional charts. MACD reacts earlier and has the histogram. Using both adds little because they share the same raw ingredient. The rate of change indicator is the simpler cousin that skips the smoothing.
Limitations, Whipsaws and Honest Expectations
The biggest weakness of TRIX is the same as its biggest strength. Triple smoothing makes it lag heavily. In the worked example you missed nearly 490 Nifty points before the buy confirmed. In a fast V shaped recovery, like Indian markets saw after the 2020 crash, that lag can mean entering near the top of the first leg.
- Range bound markets: TRIX chops around zero and fires repeated false crosses, bleeding capital through brokerage and STT.
- News gaps: a budget or RBI surprise gaps the index, and TRIX needs several bars to catch up.
- Over optimisation: tuning the period to fit past Nifty data often fails forward. Keep settings simple.
- Scale confusion: comparing a TRIX scaled by 100 on one platform with one scaled by 10000 on another leads to wrong threshold rules.
No indicator removes risk. Position size so a single failed TRIX trade loses only a small, fixed fraction of your capital, define your stop before entry, and never average down on a losing F and O position to defend the signal. These numbers are illustrative and are not a promise of returns.
Taxes and Costs on TRIX Based Trades in India
Your net result depends on how the trade is taxed, and that depends on the instrument. Hold a cash equity such as Reliance or HDFC Bank for under one year and the profit is short term capital gains taxed at 20 percent. Hold beyond one year and it is long term capital gains at 12.5 percent on gains above Rs 1.25 lakh in a financial year. Trade Nifty or Bank Nifty futures and options instead, and the profit is business income taxed at your slab rate, with no STCG or LTCG benefit.
Transaction costs also differ. On options, STT is 0.15 percent of premium on the sell side. On futures, STT is 0.05 percent on the sell side. Both rates apply from 1 April 2026. On delivery equity, STT is 0.1 percent on both sides. Add brokerage, exchange charges, GST, stamp duty and SEBI fees. For a slow signal like TRIX, which holds across days, these frictions are smaller as a share of the move than for a scalper, one quiet advantage of a positional indicator.
How to Add TRIX on TradingView, Kite and Other Charts
- Open the chart and the indicators menu on your platform.
- Search for "TRIX" or "Triple Exponential Average". Most platforms list it among the built-in oscillators.
- Open the settings. Set the length (15 is the usual daily default) and, if the platform offers one, a signal line of 9.
- Check the scale. If values look like 0.02, the platform multiplies by 100; if they look like 2, it multiplies by 10,000.
- Add a zero line if it is not drawn already.
Names and inputs differ between TradingView, broker charts such as Zerodha Kite and desktop software, and not every platform has every option, so read the settings dialog on yours. OneTradeJournal does not draw charts; keep your charting in a separate platform and use the journal to record the trade.
Sources and Further Reading
For authoritative data and to confirm current contract specifications, lot sizes, tax rates and charges before trading, refer to Zerodha Varsity, Investopedia, NSE India and NSE Indices. Tax rules and STT rates change with each Union Budget, so always verify the latest figures on the official source. Nothing here is investment advice.
Sources and Further Reading
For authoritative data and further reading on this topic, refer to Zerodha Varsity, Investopedia, NSE India and NSE Indices (Nifty Indices). Always confirm current rules, rates and contract specifications on the official source before you trade.
Related Topics
Related Articles
Understanding Rights Issue in Indian Markets
What a rights issue is, how it works in India, how it affects the share price, a worked example, rights vs bonus issue, and mistakes shareholders make.
Understanding Trading Psychology in Indian Markets
Learn trading psychology for Indian markets with a worked Nifty options example showing how fear and greed turned a Rs 3,120 loss into Rs 14,300.
Pair Trading Strategy for Indian Markets
Pair trade TCS and Infosys with real z-score math, lot sizes, rupee P&L, STT and slab-rate tax. A worked, market-neutral guide for Indian traders.
Understanding Limit Orders in Indian Markets
How limit orders work on the NSE, with a real bid-ask order book, tick sizes, and worked Reliance, HDFC Bank and Nifty examples with charges.
Understanding the Harami Pattern in Indian Markets
What a harami candlestick pattern looks like, bullish vs bearish harami, how to confirm it on Nifty charts, and how it differs from engulfing.
Understanding the Flag Pattern in Indian Markets
How to trade bullish and bearish flag patterns on Nifty, Bank Nifty and NSE stocks, with a worked example, costs, taxes and honest reliability data.
The trading journal for Nifty, Bank Nifty and Indian F&O. Track your trades, spot patterns, build discipline.
- Log one trade a day by hand, on purpose
- AI mentor finds your repeat mistakes
- Behavioural analytics catch tilt early
- Trading calendar with P&L heatmap
- Pre-trade checklist flags risks
Yearly ₹3,499 · No broker credentials