Skip to content

    Ulcer Index for Indian Markets: A Practical Guide with a Real Nifty Example

    Quick answer

    Learn the Ulcer Index with a real 14 session Nifty drawdown example giving a 3.30 value, plus F&O sizing, costs and Indian tax rules.

    19 June 2026
    15 min read
    2,914 words

    Key Takeaways

    • 1.The Ulcer Index measures only downside pain. It looks at how deep your price falls below its recent peak and how long it stays there, then squares those drawdowns so a few sharp falls dominate the score.
    • 2.A real 14 session Nifty example below gives an Ulcer Index of 3.30, computed from an actual peak of 26,200 and a deepest drawdown of 5.34 percent. No more fake 150 and 145 numbers.
    • 3.A lower Ulcer Index means a smoother ride. Nifty 50 typically sits near 3 to 6 in calm phases and spikes past 12 to 15 in crashes such as March 2020 or the October 2024 correction.
    • 4.It is a risk gauge, not a buy or sell trigger. Use it to size positions and pick calmer instruments, then confirm direction with price structure, moving averages or RSI.
    • 5.In India your trading outcome also depends on STT, brokerage and tax. F&O profits are business income taxed at your slab. Equity STCG is 20 percent and LTCG is 12.5 percent above Rs 1.25 lakh.

    What the Ulcer Index Actually Measures

    The Ulcer Index answers one blunt question. If you had bought at the recent high, how much would your stomach have churned holding through the dip. It was built in 1987 by Peter Martin and Byron McCann precisely because standard deviation treats a sharp rally and a sharp fall as equally bad. Traders do not lose sleep over gains. They lose sleep over drawdowns, the gap between where price peaked and where it sits now.

    Two things drive the score. First is depth, how far below the running peak the close has fallen. Second is duration, how many sessions price stays underwater. Because each daily drawdown is squared before averaging, a single 8 percent fall hurts the index far more than four separate 2 percent dips. That squaring is deliberate. A trader can shrug off shallow noise but a deep, grinding decline is what causes real damage to capital and discipline.

    This makes the Ulcer Index a natural fit for Indian traders who care about capital preservation on the NSE and BSE. A stock can have the same annual return as Nifty yet put you through far deeper drawdowns. The Ulcer Index puts a single number on that hidden pain so you can compare instruments fairly before you commit money or, in the case of leveraged F&O positions, before margin calls force your hand.

    The Formula, Step by Step

    The Ulcer Index is computed over a look back window, commonly 14 sessions. The steps are simple enough to do in a spreadsheet:

    • Step 1. Track the highest close seen so far within the window. This is your running peak, not a fixed number.
    • Step 2. For each session compute the percentage drawdown, which is (today's close minus running peak) divided by running peak, times 100. This is zero or negative.
    • Step 3. Square each drawdown. Squaring removes the minus sign and punishes deep falls disproportionately.
    • Step 4. Average the squared drawdowns across the window.
    • Step 5. Take the square root of that average. That is your Ulcer Index.

    In short, Ulcer Index equals the square root of the mean of the squared percentage drawdowns. Because of step 1, the peak ratchets up as new highs are made but never drops, so once price falls the drawdown keeps growing until a fresh high is printed. That is exactly why a long, slow Nifty grind lower scores higher than a quick V shaped dip and recovery.

    Worked Example: A Real 14 Session Nifty Drawdown

    The old version of this page used made up numbers like 150 and 145 with no final score. Here is a proper, illustrative 14 session run on the Nifty 50 index. The window opens with a push to a fresh high of 26,200, then a roughly five percent correction, then a partial bounce. These levels are illustrative and rounded for teaching, but the arithmetic is exact.

    SessionNifty CloseRunning PeakDrawdown %Drawdown Squared
    125,80025,8000.000.00
    225,95025,9500.000.00
    326,10026,1000.000.00
    426,20026,2000.000.00
    525,90026,200-1.151.31
    625,60026,200-2.295.24
    725,35026,200-3.2410.53
    825,10026,200-4.2017.63
    924,95026,200-4.7722.76
    1025,20026,200-3.8214.57
    1125,05026,200-4.3919.27
    1224,80026,200-5.3428.55
    1325,00026,200-4.5820.98
    1425,30026,200-3.4411.80

    Now finish the math. The squared drawdowns add up to 152.64. Divide by 14 sessions and the mean squared drawdown is 10.90. Take the square root and the Ulcer Index is 3.30. The deepest single drawdown was 5.34 percent on session 12, when Nifty closed at 24,800 against its 26,200 peak. Notice the peak never drops below 26,200 even as price recovers to 25,300, because the running peak only ratchets upward.

    Read the number, not just the trend

    A Nifty Ulcer Index near 3.30 says this was an orderly correction, uncomfortable but not a crash. For comparison, the same calculation through the March 2020 COVID collapse would have pushed Nifty's Ulcer Index well past 15, because the index fell roughly 38 percent from its February peak and stayed deeply underwater for weeks.

    How to Read Ulcer Index Values on Indian Instruments

    There is no universal good or bad threshold, because the Ulcer Index scales with the volatility of the instrument and the length of the window. What matters is comparison. Bank Nifty almost always carries a higher Ulcer Index than Nifty 50 because it swings harder, and a single beaten down small cap can show double digit readings while a stable large cap like HDFC Bank or TCS stays low. The table below gives rough, illustrative bands for a 14 session reading on a major Indian index.

    Ulcer Index (14)What it suggestsTypical Indian context
    0 to 3Calm, shallow dipsNifty in a steady uptrend, low VIX
    3 to 6Normal correctionHealthy pullback, like the example above
    6 to 10Elevated stressSharp sector rotation, budget or election jitters
    10 to 15Heavy drawdownBank Nifty in a fast decline, global risk off
    Above 15Crash conditionsMarch 2020 COVID fall, 2008 style panic

    Treat these as relative guideposts, not hard rules. The honest way to use them is to compute the Ulcer Index for the specific instrument you trade over a consistent window, then watch how today's value compares to its own recent history. A Reliance reading that jumps from 4 to 11 is telling you the stock just entered a far rougher patch, regardless of where that sits on any generic scale.

    Choosing the Look Back Period for Indian Markets

    The window length changes the personality of the indicator. A short 14 session window reacts quickly and suits intraday and short swing traders on volatile names like Bank Nifty. A longer 50 or 100 session window smooths the reading and suits positional investors comparing the drawdown character of blue chips over a quarter or more. There is no single correct setting, only the setting that matches your holding period.

    • 14 sessions: Fast, responsive. Good for short swing trades and volatile F&O underlyings like Bank Nifty.
    • 21 sessions: Roughly one trading month. A balanced default for Nifty 50 swing analysis.
    • 50 sessions: Smoother. Useful for positional traders and for comparing the drawdown profiles of large cap stocks.
    • 100 sessions: Slow and stable. Best for long term portfolio risk reviews and mutual fund comparisons.

    Whatever you choose, keep it consistent when comparing instruments. Comparing a 14 session Ulcer Index on Bank Nifty against a 50 session reading on Infosys is meaningless. Lock the window, then compare like with like.

    Using the Ulcer Index to Size F&O Positions

    The Ulcer Index earns its keep in position sizing, where it can directly affect your rupee outcome. Suppose you trade Nifty options and the index is running a high Ulcer Index of 12, signalling a rough, deeply underwater market. That is a cue to trade smaller, because a leveraged position into heavy drawdown can wipe out a margin buffer fast. Recall the current Nifty lot size is 65, Bank Nifty is 15, FinNifty is 25 and Sensex is 10, so even a modest premium move is multiplied across the lot.

    Here is an illustrative trade. You buy one lot of a Nifty 25,300 weekly call at a premium of 120, with the index near the 25,300 close from our example. One lot is 65 units, so your outlay is 120 times 65, which is Rs 7,800 plus charges. If the index rallies and the premium rises to 180, you sell at 180 times 65, which is Rs 11,700. Your gross profit is Rs 3,900. After roughly Rs 100 to Rs 150 of brokerage, STT, exchange and GST charges on a flat fee broker, your net is around Rs 3,750. Numbers are illustrative and never guaranteed.

    Now flip it. If the Ulcer Index was high and the market resumed its slide, that same 120 premium could decay to 40. Selling at 40 times 75 returns Rs 3,000 against your Rs 9,000 cost, a gross loss of Rs 6,000 before charges. The lesson is direct. When the Ulcer Index is elevated, the distribution of outcomes is fatter on the downside, so cut your lot count or your premium at risk.

    STT is charged on the sell side

    For options, Securities Transaction Tax is 0.1 percent of the premium on the sell side as of the October 2024 revision, and you pay full STT on the intrinsic value if you let an in the money option get exercised at expiry. Always exit liquid options rather than holding deep in the money positions to expiry, or that exercise STT can quietly eat your edge.

    Ulcer Index Versus Other Volatility Tools

    The Ulcer Index is not a replacement for other risk measures. It is the specialist that only watches the downside. Standard deviation and Average True Range count both up moves and down moves as volatility, which can flag a strongly rising stock as risky even though that rise never hurt anyone. Bollinger Bands visualise expansion and contraction of range but say nothing about how deep a fall ran.

    MeasureWhat it capturesDirection bias
    Ulcer IndexDepth and duration of drawdownsDownside only
    Standard deviationSpread of all returnsBoth directions
    Average True Range (ATR)Average daily rangeBoth directions
    Maximum drawdownSingle worst peak to troughDownside, single point
    India VIXImplied 30 day volatility expectationForward looking, both

    Maximum drawdown is the closest cousin, but it captures only the single worst fall and ignores everything else. The Ulcer Index is richer because it accounts for every session underwater, rewarding instruments that recover quickly and penalising ones that stay depressed. Pairing the Ulcer Index with India VIX gives a useful combination, one backward looking measure of realised pain and one forward looking measure of expected turbulence.

    Combining the Ulcer Index with Trend and Momentum

    On its own the Ulcer Index tells you how rough the ride has been, not which way to bet. Combine it with direction tools to turn risk awareness into decisions. A falling Ulcer Index together with price reclaiming its 20 day or 50 day moving average suggests the storm is passing and a recovery may be building. A rising Ulcer Index while price breaks below those averages warns that the decline is deepening.

    • Moving averages: Use a 20 or 50 day average for trend direction while the Ulcer Index measures how violent the path has been.
    • RSI: A low RSI plus a peaking and turning Ulcer Index can flag washed out, oversold conditions on Nifty or a large cap.
    • India VIX: When VIX is high and the Ulcer Index is also climbing, reduce size across the board, both fear and realised pain agree.

    The discipline point matters more than any single combination. The Ulcer Index keeps you honest about risk that you might otherwise rationalise away in a falling market. When the number is high, the correct response is almost always smaller size and tighter stops, not a hopeful average down.

    Limitations and Honest Caveats

    The Ulcer Index is backward looking. It tells you about pain already suffered, not pain coming next. A low reading right before a shock event, such as an unexpected RBI policy move or a global selloff, gives false comfort, because the index has no way to anticipate news. Treat it as a description of the recent past, useful for context, never as a forecast.

    It also ignores upside entirely, which is the point but also a blind spot. Two instruments with identical Ulcer Index values can have wildly different return potential. A perpetually flat stock and a strong compounder might both show low drawdown, yet only one builds wealth. So never rank instruments by Ulcer Index alone, always read it alongside return, liquidity and your own conviction on the underlying.

    Mind the gaps and the data

    Indian stocks can gap sharply on results or news, and a single gap down can spike the Ulcer Index overnight. Also make sure you compute it on adjusted closing prices that account for splits, bonuses and dividends, otherwise a corporate action will look like a fake crash and distort the score.

    Taxes and Costs That Shape Your Real Outcome

    An indicator like the Ulcer Index helps you avoid the deepest drawdowns, but your net result in India is also set by costs and tax. These rules apply whatever indicator you use, so build them into every plan.

    • F&O profits are business income. They are taxed at your individual slab rate, not as capital gains. Keep records, because turnover can require a tax audit.
    • Equity STCG is 20 percent for holdings of one year or less, raised from 15 percent in the July 2024 budget. Add the 4 percent health and education cess on top.
    • Equity LTCG is 12.5 percent on gains above Rs 1.25 lakh in a financial year, for holdings over one year, revised from 10 percent above Rs 1 lakh.
    • STT applies to every trade. Options STT is 0.1 percent of premium on the sell side and futures STT is 0.02 percent on the sell side after the October 2024 revision.

    Why mention tax on an indicator page. Because frequent indicator driven trading creates frequent taxable events. A scalp that nets Rs 4,350 before tax can shrink meaningfully once slab rate tax on F&O business income is applied. The Ulcer Index helps you trade the calmer instruments, which often means fewer forced exits and lower churn, which in turn keeps more of your gross profit after tax.

    Sources and Further Reading

    For authoritative data and current contract specifications, refer to Zerodha Varsity, NSE India for live lot sizes and STT, the Income Tax Department for tax rules, and Investopedia for the original Ulcer Index definition. Always confirm current rates and lot sizes on the official source before you trade, as SEBI and the exchanges revise them periodically.

    Sources and Further Reading

    For authoritative data and further reading on this topic, refer to Zerodha Varsity, Investopedia, AMFI and NSE India. Always confirm current rules, rates and contract specifications on the official source before you trade.

    Related Topics

    Ulcer IndexIndian stock marketNSEBSEtechnical indicatorstrading strategiesNiftyBank 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