StrategyLab
Learn

Trading terms, explained with rupees.

Every concept you need to read a backtest, with a worked Indian example. No jargon left unexplained.

Measuring returns

XIRR

The yearly return of a series of investments made at different times, like a SIP. It gives credit for money that was invested for a shorter time, so it is the fair way to compare a SIP with a lump sum.

ExampleYou invest ₹1,00,000 in year one and another ₹1,00,000 in year two. At the end of year two it is worth ₹2,60,000. The total gain looks like 30%, but the second lakh was only invested for one year. XIRR: 18.8% a year.

CAGR

Compound annual growth rate: the steady yearly return that turns your starting amount into the final amount. For a single lump sum, CAGR and XIRR are the same.

Example₹1,00,000 in NIFTY 50 in 2011 was worth ₹5.33 L in 2026 (price index, no dividends). That is a CAGR of 11.8% over 15 years.

Maximum drawdown (worst fall)

The biggest drop from a peak to a later low. It tells you how much pain you had to sit through. A strategy with a smaller drawdown is easier to stick with, which matters as much as the return.

ExampleNIFTY 50 fell 59.9% from 8 Jan 2008 to 27 Oct 2008. ₹10 lakh at the top would have shown about ₹4.01 L at the bottom. Since 2010, its worst fall was 38.4% (14 Jan 2020 → 23 Mar 2020).

Win rate and average trade

Win rate is the share of closed trades that made money. On its own it means little: a strategy can win rarely and still make money if winners are bigger than losers.

Example10 trades: 4 winners of +12% and 6 losers of −4%. Win rate is only 40%, but the average trade is +2.4%, so the strategy makes money.

Indicators

Moving averages: SMA and EMA

A simple moving average (SMA) is the average closing price of the last N days. An exponential moving average (EMA) gives more weight to recent days, so it reacts faster.

ExampleCloses over 5 days: ₹100, ₹102, ₹101, ₹105, ₹107. The 5-day SMA is (100+102+101+105+107) ÷ 5 = ₹103. The 5-day EMA would be a little higher, because it leans towards the latest ₹107.

The 200 DMA

The 200-day moving average is the most watched long-term trend line in India. Above it, the long-term trend is usually called up; below it, down.

ExampleNIFTY 50 at 24,000 with a 200 DMA of 22,800 is 5.3% above it: an uptrend. Our 200 DMA switch strategy uses this as an on/off signal.

RSI (Relative Strength Index)

A 0–100 score comparing recent up-moves with down-moves, usually over 14 days. Below 30 is called oversold, above 70 overbought. It describes recent momentum; it does not predict a bounce.

ExampleIf a stock fell on 10 of the last 14 days, and by more than it rose, RSI(14) might be around 25: “oversold”. See how often that led to a bounce in RSI oversold bounce.

Crossovers (golden cross, death cross)

When a faster moving average moves above a slower one, the short-term trend has turned up. The 50-day crossing above the 200-day is the “golden cross”; crossing below is the “death cross”.

Example50-day SMA at 22,900 and 200-day at 22,850: golden cross. Two weeks later the 50-day is at 22,700: death cross. Sideways markets cause these back-and-forth “whipsaws”. See the backtest.

Risk & position sizing

Stop-loss and target

A stop-loss closes a trade when it has lost a set amount; a target closes it at a set profit. Together they define the risk-reward of each trade.

ExampleTarget +8%, stop-loss −5%: risk-reward is 8 ÷ 5 = 1.6. Ignoring costs, you break even if you win more than 5 ÷ (8 + 5) = 38.5% of trades.

Position sizing (the 1% rule)

Decide how much you can lose on one trade first, then work out how many shares to buy. Many swing traders risk at most 1–2% of their capital per trade.

ExampleCapital ₹5,00,000. Risk 1% = ₹5,000. Entry ₹1,000, stop-loss ₹950, so the risk is ₹50 a share. Buy ₹5,000 ÷ ₹50 = 100 shares (₹1,00,000 position). A stop-loss hit costs ₹5,000, not your account.

Intraday, swing, positional, investing

Trading styles differ by holding period, which changes costs, taxes and the effort needed.

Example
StyleTypical holdTax on profit
IntradaySame dayBusiness income, at your slab rate
SwingDays to weeksSTCG 20%
PositionalWeeks to monthsSTCG 20% (under 12 months)
InvestingOver 12 monthsLTCG 12.5% above ₹1.25 lakh a year

Costs & taxes in India

What one delivery trade costs

Even with zero brokerage, every delivery trade pays securities transaction tax (STT), stamp duty, exchange charges, SEBI fees, GST and a depository charge on the sell side.

ExampleBuying and selling ₹1,00,000 of shares (delivery): STT 0.1% on each side = ₹200, stamp duty 0.015% on the buy = ₹15, exchange and SEBI charges ≈ ₹6, GST on charges ≈ ₹1, DP charge ≈ ₹15–20. Total ≈ ₹240, about 0.24% per round trip. Our strategies assume 0.2% on every buy and every sell (0.4% per round trip) to leave room for brokerage and slippage.

Capital gains tax (FY 2026-27)

Listed shares and equity funds held up to 12 months: short-term capital gains (STCG) at 20%. Held longer: long-term (LTCG) at 12.5% on gains above ₹1.25 lakh a year. Add 4% cess. Rates unchanged in Budget 2026; check with a CA for your own case.

ExampleA swing trader books ₹60,000 of short-term profit in a year: tax = 20% × ₹60,000 = ₹12,000, plus 4% cess = ₹12,480. An investor selling after 2 years with ₹1,60,000 of long-term gain pays 12.5% on ₹35,000 = ₹4,375 plus cess = ₹4,550.

Idle cash and liquid funds

Money waiting for a signal is not free: it could earn a liquid fund or sweep-FD rate. Our backtests can credit idle cash with interest, so a strategy that waits is not unfairly punished.

Example₹2,00,000 waits 6 months for a dip at 6% a year: it earns about ₹5,900 meanwhile.

Backtesting pitfalls

Survivorship bias

Testing only on stocks that exist and are large today makes the past look better than it was, because companies that collapsed or were delisted are missing.

ExampleA 2010 investor would have held some stocks that later went to near zero. Our stock list is today's ₹1,000 Cr+ companies, so stock backtests are a little too kind. Index backtests do not have this problem.

Look-ahead bias

Using information you could not have had at the time of the trade, such as a closing price before the market closed.

ExampleA rule “buy when today's close is 4% below last week's” cannot buy at 10 AM today, because it needs today's close. A careful backtest buys at that close or the next day.

Overfitting (curve fitting)

Trying many settings and keeping the best one finds luck, not an edge. A real edge works on many stocks and periods, not just one.

ExampleTry RSI thresholds from 15 to 40 on one stock and one will look amazing by chance. That is why every strategy on this site is shown on 10 stocks and indices, not one.