How to Trade the MACD Crossover in Indian Markets
Trade MACD crossovers on NSE with a worked HDFC Bank example, real MACD and signal values, costs, STT and tax explained for Indian traders.
Key Takeaways
- 1.A MACD crossover is a momentum signal, not a price prediction. It tells you the 12 EMA and 26 EMA gap is widening or narrowing, which you confirm by watching the MACD line cross its 9 EMA signal line.
- 2.The standard MACD uses 12, 26 and 9 periods. On NSE charts the actual MACD line values for an index like Bank Nifty often run in the hundreds of points, while for a Rs 1,500 stock they may be just a few rupees. Read the numbers, not just the line shape.
- 3.Crossovers near the zero line in choppy markets produce the most whipsaws. The cleanest signals come when the MACD line crosses the signal line and both are clearly on one side of zero with a rising histogram.
- 4.In India your real profit is after brokerage, STT, exchange and SEBI charges, GST and stamp duty. A crossover trade that looks like a Rs 20,000 gain on screen is smaller once costs and tax are applied.
- 5.Equity intraday and delivery are taxed as capital gains (STCG 20 percent, LTCG 12.5 percent above Rs 1.25 lakh). F and O profits are business income taxed at your slab. These are illustrative rules, confirm current rates before filing.
What the MACD Crossover Actually Measures
The Moving Average Convergence Divergence is built from three numbers you can read directly off any NSE chart. The MACD line is the 12 period EMA minus the 26 period EMA. The signal line is a 9 period EMA of that MACD line. The histogram is the MACD line minus the signal line. A bullish crossover happens the moment the MACD line rises through the signal line, which is the same instant the histogram flips from negative to positive. A bearish crossover is the mirror image.
The trap most beginners fall into is treating the crossover as a price target. It is not. It only says short term momentum is now stronger than medium term momentum. On a Reliance daily chart the MACD line might read plus 18.4 while the signal line reads plus 16.9, giving a histogram of plus 1.5. On a Nifty chart the same setup might read plus 95 against plus 80. The absolute values depend entirely on the price of the instrument, so you compare the MACD line only against its own signal line, never against another stock's MACD.
Before you act on a crossover, glance at the histogram bars. If they are shrinking toward zero for several candles, the cross is coming and is usually cleaner than waiting for the exact line touch. If the histogram is already large and flat, the move may be tired.
Setting Up MACD on Zerodha Kite or Upstox
On Kite, open a chart for your instrument, for example HDFC Bank or the Nifty 50 index, click Studies, choose MACD and keep the defaults of 12, 26 and 9. On Upstox and TradingView the path is the same. Most Indian retail traders never need to change these. The default settings are the ones the rest of the market is watching, and on liquid NSE names that shared attention is part of why the signal works at all.
Match the timeframe to your holding period. Swing traders holding for days to weeks read the daily chart. Intraday traders on the NSE typically use the 5 minute or 15 minute chart, since cash equity intraday positions must be squared off by 3:20 pm and F and O by 3:30 pm. A daily MACD crossover and a 5 minute MACD crossover are completely different signals even on the same stock, so decide your timeframe before you look, not after.
A Worked Example on HDFC Bank With Real MACD Values
Here is a fully worked, illustrative delivery trade on HDFC Bank using daily candles. The numbers below are realistic for a Rs 1,650 to Rs 1,720 range stock and show how the MACD line and signal line behave around a crossover. These figures are for education only and are not a recommendation or a promise of any return.
| Day | Close (Rs) | MACD line | Signal line | Histogram | Reading |
|---|---|---|---|---|---|
| Mon | 1,648 | -4.1 | -2.0 | -2.1 | Below zero, falling |
| Tue | 1,655 | -2.6 | -1.9 | -0.7 | Histogram shrinking |
| Wed | 1,664 | -0.4 | -1.6 | +1.2 | Bullish crossover, MACD crosses above signal |
| Thu | 1,679 | +2.1 | -0.7 | +2.8 | Momentum building above signal |
| Fri | 1,690 | +4.0 | +0.6 | +3.4 | Trend confirmed |
| Next Wed | 1,712 | +5.2 | +3.9 | +1.3 | Histogram shrinking, momentum fading |
| Next Thu | 1,708 | +4.3 | +4.5 | -0.2 | Bearish crossover, exit signal |
The entry trigger is Wednesday, when the MACD line of minus 0.4 crosses above the signal line of minus 1.6 and the histogram turns positive at plus 1.2. You buy on Wednesday's close at Rs 1,664. The exit trigger is the following Thursday, when the MACD line of plus 4.3 falls below the signal line of plus 4.5 and the histogram turns negative. You sell at Rs 1,708. Notice you do not sell at the Rs 1,712 high. The crossover always lags the exact top, and accepting that lag is part of using the tool honestly.
Turning That Crossover Into Rupees After Costs
Suppose you bought 100 shares of HDFC Bank at Rs 1,664 and sold at Rs 1,708, a CNC delivery trade held about nine calendar days. The gross move is Rs 44 per share, so the screen shows Rs 4,400 of gain. But the real number is after charges. Using a typical zero brokerage delivery broker, brokerage is nil, but you still pay STT, exchange transaction charges, SEBI fee, GST on the brokerage and exchange charges, stamp duty on the buy side and DP charges on the sell side.
| Item | Basis | Amount (Rs) |
|---|---|---|
| Buy value | 100 x 1,664 | 1,66,400 |
| Sell value | 100 x 1,708 | 1,70,800 |
| Brokerage | Zero on delivery | 0 |
| STT | 0.1 percent both sides on turnover | 337 |
| Exchange + SEBI charges | Approx 0.00335 percent of turnover | 11 |
| GST | 18 percent on brokerage + exchange charges | 2 |
| Stamp duty | 0.015 percent on buy value | 25 |
| DP charge on sell | Per scrip, per broker | 16 |
| Total costs | Sum of the above | 391 |
| Net profit | 4,400 minus 391 | 4,009 |
So the honest result of this crossover trade is roughly Rs 4,009 net, not the flat Rs 4,400 the chart implied. The STT of Rs 337 is the single biggest cost on delivery equity, and many beginners forget it entirely. These cost figures are illustrative and vary by broker and by the exact rates in force, so check your own contract note.
One delivery crossover trade losing Rs 391 to charges is fine. But if you take ten small MACD crossovers a week, costs and STT quietly eat a large share of your edge. The MACD tempts you to overtrade. Resist it.
How This Crossover Trade Is Taxed in India
The HDFC Bank trade above was held nine days, so the net profit of about Rs 4,009 is a short term capital gain. STCG on listed equity is taxed at 20 percent under the rules effective after 23 July 2024, so the tax on this single trade would be about Rs 802, leaving roughly Rs 3,207 in hand. If you had instead held the shares for more than twelve months, it would be a long term capital gain, taxed at 12.5 percent only on the portion of your total LTCG above Rs 1.25 lakh in the financial year.
If you trade the same MACD crossover using Bank Nifty or Nifty futures and options instead of cash shares, the tax treatment changes completely. F and O profit is business income, added to your other income and taxed at your slab rate, and you can deduct trading expenses against it. Intraday cash equity is speculative business income, also taxed at slab. These distinctions matter at filing time, and the rates here are illustrative, so confirm the current law or ask a chartered accountant before you file.
The Same Signal on Bank Nifty Options
Many Indian traders prefer to express a MACD view through index options rather than buying shares, because of leverage and defined risk. Suppose the Bank Nifty spot is near 51,000 and your 15 minute chart prints a bullish MACD crossover, with the MACD line rising from plus 22 through a signal line at plus 18. You buy one lot of the weekly 51,000 call. The Bank Nifty lot size is 30, and say the call premium is Rs 280.
Your cost to enter is 280 x 15, which is Rs 4,200, and that is also your maximum loss if the move fails and you let it expire worthless. Suppose the crossover plays out and the premium rises to Rs 360 before the histogram rolls over and you exit. Your gross gain is (360 minus 280) x 15, which is Rs 1,200. On options the STT is charged on the sell side of the premium at 0.1 percent, plus exchange charges, GST and brokerage, so the net is a little under Rs 1,200. Because this is an F and O trade, that profit is business income at your slab, not capital gains. These are illustrative premiums, real option prices move every second.
On a monthly Bank Nifty option, time decay accelerates as expiry nears. A correct MACD crossover that takes two days to play out can still lose money if theta bleeds the premium faster than the move adds to it. On expiry day, only enter option-buying crossovers when the move is immediate.
Filtering Out False Crossovers
The MACD crossover's biggest weakness is the whipsaw, a cross that immediately reverses. These cluster when the MACD line and signal line are both hugging the zero line, which happens in sideways, low volume markets. The single most useful filter is the zero line itself. Treat bullish crossovers that occur above zero, or that quickly push above zero, as higher quality, and be suspicious of crossovers that happen far below zero in a clear downtrend.
- Demand a histogram that is expanding, not just barely positive, before you commit size.
- Trade crossovers in the direction of the higher timeframe trend. A 15 minute bullish cross is far safer when the daily MACD is also positive.
- Avoid fresh crossovers in the first fifteen minutes after the 9:15 am open, when gaps and noise distort short term EMAs.
- Skip crossovers that print right before major events such as an RBI policy, the Union Budget or a company's quarterly results.
- Confirm with volume. A bullish crossover backed by above average NSE delivery volume is more trustworthy than one on a thin session.
MACD Compared With Other Indicators
MACD is a trend and momentum tool, and it is at its best when a stock or index is actually trending. In a range, it whipsaws. That is exactly where a bounded oscillator like RSI is more useful, because RSI flags overbought and oversold turns inside a range. Pairing a momentum tool with a mean reversion tool gives you a more complete picture than stacking two momentum tools that say the same thing.
| Indicator | Best used for | Main weakness | Good partner for MACD |
|---|---|---|---|
| MACD | Trend direction and momentum shifts | Whipsaws in sideways markets | RSI for range filtering |
| RSI | Overbought and oversold turns | Stays extreme in strong trends | MACD to confirm the trend |
| Bollinger Bands | Volatility and squeeze breakouts | No direction on its own | MACD to pick the breakout side |
| Volume | Conviction behind a move | Lagging and noisy intraday | Confirms a MACD crossover |
Risk Management Around the Crossover
A crossover gives you an entry idea, never a position size or a stop. Decide your risk first. A common rule is to risk no more than one to two percent of your capital on a single idea. In the HDFC Bank example, if your stop was a close back below Rs 1,648, your risk per share was about Rs 16 from the Rs 1,664 entry, so 100 shares risked Rs 1,600. On a Rs 1.6 lakh position that is a one percent risk, which is sensible.
- Set the stop where the trade idea is proven wrong, for instance a daily close back below the level where the crossover happened, not at a random rupee amount.
- Size the position from the stop distance and your risk budget, not from how confident you feel.
- For options, your premium paid is your defined maximum loss, so never average down into a losing long option just because the MACD still looks hopeful.
- Use a trailing exit, such as exiting on the opposite crossover, so a good trend trade is not cut short by a fixed target.
Putting It Into Practice
Start by watching one or two liquid NSE names you understand, such as HDFC Bank, Reliance or Infosys, on the daily chart, and simply note every MACD crossover and what price did next for a few weeks. Record the exact MACD line and signal line values at each cross so you build a feel for what a strong cross looks like versus a weak one. A trading journal that logs the crossover values, your entry, your exit and your net profit after costs turns the indicator from a guess into a measurable edge over time.
Only after you have seen dozens of these on screen, and understood how STT, charges and tax shrink the headline number, should you risk real capital. The MACD crossover is a genuinely useful momentum signal, but it rewards traders who respect its lag, filter its whipsaws and count their costs honestly. Treat every number here as illustrative, confirm current rates and contract specifications on official sources, and never trade on a single indicator alone.
Sources and Further Reading
For authoritative data and further reading on this topic, refer to Zerodha Varsity, Investopedia and NSE India. Always confirm current rules, rates and contract specifications on the official source before you trade.
Related Topics
Related Articles
Long vs Short Position in Indian Markets: A Comprehensive Guide
Long vs short positions in India: T+1 settlement, SEBI short-sell rules, real Nifty and Reliance examples, and correct 2024 STCG and LTCG tax.
Understanding the Qstick Indicator for Indian Markets
Learn the Qstick indicator with a worked Reliance example, best Nifty and Bank Nifty settings, a costed options trade and Indian tax rules.
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.
Understanding the Ascending Triangle Pattern in Indian Markets
Learn the ascending triangle pattern with measured price targets, worked Reliance and Bank Nifty examples in rupees, stops, volume and Indian tax rules.
Understanding Trading Terminals in Indian Markets
What a trading terminal is, how Kite, NEST and ODIN compare, plus a worked Nifty options example, lot sizes, margins and Indian tax rules.
How to Trade Zinc on MCX: A Guide for Indian Markets
Learn how to trade Zinc on MCX with this comprehensive guide tailored for Indian traders.
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
Yearly ₹2,499 · No broker credentials