Skip to content

    Trend Following Strategy for Indian Markets: A Dated Nifty Worked Example

    Quick answer

    Trend following on Nifty with the real April to December 2023 run, 20/50 EMA crossover levels, a worked futures example in rupees, sizing and Indian taxes.

    19 June 2026
    17 min read
    3,295 words

    Key Takeaways

    • 1.Trend following means buying strength and selling weakness, then holding until a moving average or structure flips against you. It works in trending phases and bleeds money in sideways markets.
    • 2.A real dated example: Nifty turned up off about 16,828 on 28 March 2023, the 20-day EMA crossed back above the 50-day EMA in early April 2023 near the 17,550 to 17,650 zone, and the index ran to roughly 21,800 by 8 December 2023, a move of about 4,000 points.
    • 3.On a Nifty futures lot of 65, riding even a clean 3,000 point slice of that trend is about Rs 1.95 lakh of gross profit per lot, before brokerage, STT and taxes. Numbers here are illustrative, not a promise.
    • 4.F&O gains are business income taxed at your slab rate. Equity delivery is STCG at 20 percent under 12 months and LTCG at 12.5 percent above Rs 1.25 lakh per year.
    • 5.Risk first: size each position so a stop-loss costs no more than 1 to 2 percent of capital, and use the 20 EMA or 50 EMA cross as a mechanical exit rather than a feeling.

    What Trend Following Actually Means for an Indian Trader

    Trend following is the discipline of entering in the direction an instrument is already moving and staying in that trade until the trend itself ends. You are not trying to predict tops and bottoms. You are trying to capture the fat middle of a move. On Indian instruments like Nifty, Bank Nifty and large liquid stocks such as Reliance, HDFC Bank or TCS, this usually means using moving averages to define direction and using a moving average cross or a break of market structure to define your exit.

    The reason this matters for Indian markets specifically is that the Nifty spends long stretches in strong directional moves driven by FII flows, earnings cycles and budget events, punctuated by tight range-bound phases. A trend follower makes nearly all of the year's money in a handful of trending months and survives the rest by keeping losses small. If you cannot sit still during the choppy phase, trend following is not for you.

    The most common engine is a moving average crossover. A short average, such as the 20-day exponential moving average (EMA), crossing above a longer one, such as the 50-day EMA, signals that recent strength has overtaken the medium-term average and a fresh uptrend may be underway. The reverse cross signals a downtrend. This is mechanical, repeatable and removes most of the emotion from the entry decision.

    A Real Dated Nifty Trend Run: March to December 2023

    Generic examples that say Nifty is at 18,000 and crosses at 17,800 teach nothing because the numbers are invented. So here is an actual run that trend followers remember. After a weak start to 2023, the Nifty bottomed around 16,828 on 28 March 2023. Through early April 2023 the index climbed steadily, and the 20-day EMA crossed back above the 50-day EMA in the 17,550 to 17,650 zone in the first half of April 2023. That cross was the textbook trend-following entry signal.

    From there the Nifty trended higher with only shallow pullbacks. It crossed 18,000 in late April 2023, pushed past its old all-time high near 18,887 in June 2023, made a fresh high around 19,991 on 20 July 2023, dipped through September and October 2023, and then resumed the trend to close near 21,800 by 8 December 2023. From the early-April cross near 17,600 to the December level near 21,800, the index travelled roughly 4,200 points in about eight months. A trend follower who entered on the EMA cross and held while the 20 EMA stayed above the 50 EMA captured the bulk of that move.

    Notice the discipline this demands. There was a genuine, scary pullback in September and October 2023 where Nifty fell from near 20,200 to about 18,840. A trend follower using the 50-day EMA as the line in the sand would have stayed in, because price held the longer average and the 20 EMA did not decisively break below the 50 EMA. A trader watching only daily candles and emotions would have panicked out and missed the year-end leg to 21,800. All levels here are approximate and illustrative, taken from publicly reported Nifty 50 index data; confirm exact closes on NSE before you act.

    Why the date matters

    A dated example forces honesty. Anyone can say a strategy works at made-up prices. The April 2023 EMA cross near 17,600 and the December 2023 level near 21,800 are checkable on any chart. That is the difference between marketing and analysis.

    Worked Numeric Example on Nifty Futures (One Lot)

    Let us convert that 2023 run into rupees using Nifty futures, where the lot size is 65. Assume you entered one lot of the near-month Nifty future on the early-April 2023 EMA cross at an index level of about 17,600, and you trailed your stop under the rising 20-day EMA. To be conservative and realistic, assume you did not catch the exact top and exited when the 20 EMA finally lost the 50 EMA, banking the trade at about 20,600, capturing a clean 3,000 point slice of the larger move rather than the full 4,200.

    ItemValue
    InstrumentNifty near-month future, 1 lot
    Lot size65
    Entry level (early Apr 2023 EMA cross)17,600
    Exit level (20 EMA loses 50 EMA)20,600
    Points captured3,000
    Gross profit (3,000 x 65)Rs 1,95,000
    Approx brokerage + exchange + GSTAbout Rs 100 round trip
    STT on futures sell (0.05% of sell value)About Rs 670
    Net profit before income taxAbout Rs 1,94,230

    The sell-side turnover here is roughly 20,600 x 75, which is about Rs 15.45 lakh, so the futures STT at 0.05 percent on the sell leg is around Rs 773. Discount-broker charges for a futures round trip are a flat fee plus exchange transaction charges and 18 percent GST, which together come to roughly Rs 100 for a single lot. The headline gross profit is Rs 2,25,000 and the net before income tax lands near Rs 2,24,591. These figures are illustrative and assume a single contract held without rollover costs; real rollovers across the April through December series would add small spread and cost adjustments each month.

    Leverage cuts both ways

    One Nifty lot controls about Rs 13 to 16 lakh of notional value on a margin of roughly Rs 1.1 to 1.4 lakh. The same 3,000 points in the wrong direction is a Rs 2.25 lakh loss per lot. This is exactly why the stop-loss and position size, not the entry, decide whether you survive.

    The Moving Average Crossover Rules in Detail

    A robust crossover system needs precise, written rules so you are never guessing in real time. Here is a clean default that maps to the 2023 Nifty example above. The exact average lengths matter less than picking them, writing them down and following them without negotiation.

    • Trend filter: only take long trades when price is above the 200-day EMA, and short trades when price is below it. This keeps you on the right side of the dominant trend.
    • Entry signal: go long when the 20-day EMA closes above the 50-day EMA, and go short when the 20-day EMA closes below the 50-day EMA.
    • Initial stop: place the stop below the most recent swing low for longs, or above the most recent swing high for shorts.
    • Trail: once in profit, trail the stop just under the rising 20-day EMA for longs, and just above the falling 20-day EMA for shorts.
    • Exit: close the trade on the opposite crossover, when the 20-day EMA crosses back below the 50-day EMA for a long.

    The single most important habit is to act on the close, not on an intraday spike. Intraday, the 20 EMA and 50 EMA will brush against each other dozens of times in a range. Waiting for the daily or weekly candle to actually close beyond the average filters out most false signals. In the 2023 run, using closing crosses kept you in through the September to October dip because no daily close confirmed a downward 20-over-50 cross.

    Position Sizing and Stop-Loss: The Part That Keeps You Alive

    Trend following only works if you are still trading after a string of small losses, because a few of those small losers always precede the one big winner. The way you guarantee survival is by sizing every position off your stop distance, not off your conviction. Risk a fixed 1 to 2 percent of capital per trade.

    Suppose your trading capital is Rs 10 lakh and you cap risk at 1.5 percent, which is Rs 15,000 per trade. On the Nifty example, if your entry is 17,600 and your initial stop sits at the recent swing low near 17,200, your stop distance is 400 points. At Rs 65 per point, one lot risks 400 x 65, which is Rs 26,000. That is over 1.7 times your risk budget, so you would either widen capital, skip the trade, or trade a smaller-notional instrument. The math, not the excitement, tells you the size.

    Account capitalRisk per trade (1.5%)Stop distanceRisk per Nifty lotLots you can take
    Rs 10,00,000Rs 15,000400 pointsRs 30,0000 (too large, skip or reduce)
    Rs 10,00,000Rs 15,000150 pointsRs 11,2501 lot
    Rs 25,00,000Rs 37,500200 pointsRs 15,0002 lots
    Use a position size calculator

    Plug your capital, risk percent and stop distance into a position size calculator before every trade. It removes the temptation to over-size after a winning streak, which is when most trend followers blow up.

    Futures, Options or Cash: Which Vehicle to Express the Trend

    The same Nifty trend can be traded several ways, and each has a very different risk and cost profile. Cash equity or index ETFs carry no expiry and no leverage decay, but tie up full capital. Futures give leverage and a clean linear payoff but demand mark-to-market margin and carry rollover every month. Options can define risk but bleed time value, which hurts a slow trend follower.

    VehicleLeverageExpiry / decayBest for trend following?
    Index ETF / cash stockNoneNo expiryYes, for low-stress long-only trend riding
    Index / stock futuresHighMonthly rollover, no decayYes, the cleanest leveraged way to ride a trend
    Buying call / put optionsHighWeekly or monthly time decayWeak, theta erodes value during slow trends
    Bull call / bear put debit spreadDefinedDecay partly offsetOkay for defined-risk directional bets

    For a multi-month move like the 2023 Nifty run, futures or a cash position beat buying naked options. A trader who bought a monthly 17,600 call in April 2023 hoping to ride to December would have paid premium and theta every single week, and would have had to keep rolling. Long, slow trends reward the linear payoff of futures and the patience of cash, not the time-sensitive payoff of long options.

    Taxes and Costs on Trend Trades in India

    Your strategy is only as good as your after-tax, after-cost return, so build the rules in from day one. The treatment differs sharply between cash and F&O.

    • F&O trading (futures and options) on Nifty, Bank Nifty or stocks is treated as non-speculative business income. Net profit is added to your total income and taxed at your slab rate, and you can set off many trading expenses against it.
    • Equity delivery held under 12 months is short-term capital gains, taxed at 20 percent. Held over 12 months it is long-term capital gains, taxed at 12.5 percent on gains above Rs 1.25 lakh in a financial year.
    • STT on equity futures is 0.05 percent on the sell side; on equity delivery it is 0.1 percent on both buy and sell; on selling options it is 0.15 percent of premium.
    • Brokerage on a discount broker is typically a flat fee per executed order, plus NSE transaction charges, SEBI turnover fee, stamp duty and 18 percent GST on brokerage and transaction charges.

    On our Nifty futures example, the gross profit of Rs 2,25,000 is business income. If your other income already puts you in the 30 percent slab, roughly Rs 67,500 plus 4 percent cess goes to tax, leaving about Rs 1.55 lakh net of income tax. If F&O is your main activity, advance tax and a tax audit may apply once turnover crosses prescribed thresholds, so keep clean records and consult a chartered accountant. Tax rules change; verify current rates before filing.

    Keep every contract note

    Because F&O is business income, your profit and loss, brokerage, STT and other charges all feed your tax return. A trading journal that logs each trade with costs makes filing and audit defence vastly easier.

    When Trend Following Fails: Range-Bound and Whipsaw Markets

    Honesty about the weakness is what separates a useful guide from a sales pitch. Trend following loses money during sideways, range-bound phases because the moving averages keep crossing back and forth, generating false entries that immediately stop out. The Nifty has many such phases, for example long stretches of consolidation between major moves where the index oscillates in a 400 to 600 point band for weeks.

    In those conditions a 20-over-50 EMA system will whipsaw you. You go long on an upward cross, the index reverses, you stop out for a small loss, the averages cross down, you go short, and the index reverses again. Three or four such whipsaws can quietly eat 4 to 6 percent of capital. The defence is the 200-day EMA trend filter, a willingness to sit in cash when price is glued to the moving averages, and accepting that a low win rate with big winners is the actual edge, not a high win rate.

    • Add a trend-strength filter such as ADX above 25 to confirm a real trend before acting on a crossover.
    • Reduce position size or stand aside when price is repeatedly crossing the 20 and 50 EMA within a tight band.
    • Accept many small losses; the system pays off through a few large, long-held winners like the 2023 run.
    • Never widen a stop to avoid taking a loss; that single habit destroys more trend followers than any market move.

    Adapting the System to Bank Nifty and Single Stocks

    Bank Nifty trends harder and faster than Nifty, with a lot size of 30, so each point is worth less per contract but the daily range is far larger. The same 20-over-50 EMA logic applies, but stops must be wider in points because Bank Nifty routinely swings 500 to 800 points in a day. If you trade single stocks such as Reliance, TCS or HDFC Bank, use their own moving averages and remember that stock-specific news and earnings can gap price straight through your stop, a risk indices rarely pose.

    For a Bank Nifty futures position, a 1,000 point move at Rs 30 per point is Rs 30,000 per lot of gross profit, much smaller per point than Nifty, so traders often take more lots to size up, which multiplies risk. Always re-run the position size math for each instrument rather than assuming one lot equals one unit of risk. A lot of Nifty and a lot of Bank Nifty are not the same risk.

    Match the timeframe to your life

    If you cannot watch screens during market hours, trade trends on the daily or weekly chart and use end-of-day closes for your crossover signals. The 2023 Nifty trade above only needed one decision per day at the close.

    Building a Repeatable Trend-Following Routine

    The difference between a profitable trend follower and a frustrated one is almost never the indicator. It is the routine. Write your rules, backtest them on several years of Nifty data including losing range-bound years, and then journal every trade with its entry reason, stop, size and exit. Over a full cycle the journal will show you that a small number of long-held winners, like the April to December 2023 run, carry the entire year.

    Review your journal monthly. Look for the trades where you broke your own rules, widened a stop, sized up after a win, or jumped in before a confirmed close. Those rule breaks, not the market, are usually where the money leaked. A disciplined trend follower with a mediocre system beats an undisciplined one with a great system, every time.

    Sources and Further Reading

    For authoritative data and contract specifications, refer to NSE India, NSE Indices (Nifty Indices) and Zerodha Varsity. All price levels and dates in this guide are illustrative and drawn from publicly reported Nifty 50 data; always confirm current rules, rates, lot sizes and exact closing values on the official source before you trade. Nothing here is a promise of returns.

    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

    Trend FollowingIndian stock marketNSEBSENiftyBank NiftySEBItrading strategystop-loss

    Related Articles