Skip to content

    TRIX Indicator for Nifty and Bank Nifty

    Quick answer

    TRIX indicator explained with a worked Nifty TRIX(15) example, real EMA values, zero line crossover, settings, costs and Indian tax rules.

    19 June 2026
    14 min read
    2,627 words

    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.

    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.

    DayNifty CloseEMA1EMA2EMA3TRIX %
    Day 3024,420.0024,235.3624,176.5624,211.81minus 0.0208
    Day 3124,457.0024,263.0624,187.3724,208.75minus 0.0126
    Day 3224,497.0024,292.3124,200.4924,207.72minus 0.0043
    Day 3324,540.0024,323.2724,215.8424,208.73plus 0.0042
    Day 3424,574.0024,354.6124,233.1824,211.79plus 0.0126
    Day 3524,611.0024,386.6624,252.3724,216.86plus 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.

    Reproduce it yourself

    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 75, which is Rs 13,500 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 75, equal to Rs 5,250. Now subtract costs. Options STT is 0.1 percent of premium on the sell side, so 0.1 percent of 250 times 75, about Rs 19. Add roughly Rs 20 per order brokerage on a discount broker, plus exchange charges, GST, SEBI and stamp fees. Realistic all in costs land near Rs 90 to Rs 120, leaving net profit around Rs 5,130 to Rs 5,160, 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.

    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 PeriodBest ForTrade Off
    8 to 9Intraday Nifty and Bank Nifty on 15 min or 1 hour chartsFaster but many false signals in choppy sessions
    14 to 15Daily swing trading on indices and large capsBalanced, the most common default
    21Positional trades held for weeksVery smooth, late entries, misses minor swings
    30Long term trend filter on weekly chartsExtremely 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.

    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 ToolWhat It Adds to TRIX
    50 and 200 EMADefines 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
    MACDCross 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.

    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.
    Risk first

    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.1 percent of premium on the sell side. On futures, STT is 0.02 percent on the sell side. 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.

    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

    TRIX IndicatorIndian stock marketNSEBSENiftyBank Nifty

    Related Articles

    OneTradeJournal

    The trading journal built for Indian F&O traders. 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
    Start journaling

    Yearly ₹2,499 · No broker credentials