Technical Analysis for Indian Stocks — A Developer's Guide to NSE Trading Signals

Technical Analysis for Indian Stocks

10 crore Indians have demat accounts. 75% of them lose money. The most common reason isn't bad luck — it's making decisions based on WhatsApp tips and YouTube thumbnails instead of actual data.

Technical analysis isn't magic. It's math applied to price and volume data. And as a developer, you're better equipped to understand it than most finance professionals — because you already think in terms of signals, noise, and algorithms.

Here's how the most common indicators actually work, what they tell you, and when to trust them.

RSI — Relative Strength Index

What it does: Measures whether a stock has been bought too aggressively (overbought) or sold too aggressively (oversold) recently.

The math: RSI compares the average of up-days vs down-days over the last 14 periods.

RSI = 100 - (100 / (1 + RS))
RS = Average Gain / Average Loss (over 14 periods)

How to read it:

  • RSI > 70 → Overbought. The stock has run up fast. A pullback is likely (but not guaranteed).
  • RSI < 30 → Oversold. The stock has been beaten down. A bounce is likely.
  • RSI 30-70 → Neutral. No strong signal.

When RSI lies: In strong trends, RSI can stay above 70 (or below 30) for weeks. A stock in a genuine bull run will be "overbought" for months. Don't sell just because RSI hit 70 in a clear uptrend.

MACD — Moving Average Convergence Divergence

What it does: Shows whether momentum is strengthening or weakening.

The math:

MACD Line = EMA(12) - EMA(26)     // fast average minus slow average
Signal Line = EMA(9) of MACD Line  // smoothed MACD
Histogram = MACD Line - Signal Line // the difference

How to read it:

  • MACD crosses above Signal → Bullish. Momentum is turning up.
  • MACD crosses below Signal → Bearish. Momentum is fading.
  • Histogram growing → The trend is getting stronger.
  • Histogram shrinking → The trend is weakening (even if still positive).

The insight: MACD is a momentum indicator, not a price indicator. It tells you the direction of the trend's strength, not where the price will go.

Bollinger Bands

What it does: Shows whether the current price is high or low relative to recent volatility.

The math:

Middle Band = SMA(20)           // 20-day simple moving average
Upper Band = SMA(20) + 2 × σ   // 2 standard deviations above
Lower Band = SMA(20) - 2 × σ   // 2 standard deviations below

How to read it:

  • Price near upper band → Stock is expensive relative to recent range. Not necessarily a sell — could mean strong trend.
  • Price near lower band → Stock is cheap relative to recent range.
  • Bands squeezing (getting narrow) → Low volatility. A big move is coming — but you don't know which direction.
  • Bands expanding → High volatility. The move is happening.

The Bollinger Squeeze is one of the most reliable patterns: when bands compress to their tightest point in weeks, a breakout follows ~80% of the time.

Support and Resistance

What it does: Identifies price levels where the stock has historically reversed.

The concept:

  • Support: A price level where buyers step in (stock bounces up)
  • Resistance: A price level where sellers step in (stock bounces down)

Why it works: These levels represent collective memory. If RELIANCE bounced at ₹1,200 three times, traders remember. When it approaches ₹1,200 again, buyers step in early — creating a self-fulfilling prophecy.

When it breaks: When support breaks, it often becomes resistance (and vice versa). A stock that falls through ₹1,200 support will now struggle to get back above ₹1,200.

Volume — The Confirmation Layer

What it does: Tells you how much conviction is behind a price move.

  • Price up + volume up → Strong bullish signal. Buyers are committed.
  • Price up + volume down → Weak rally. Likely to reverse.
  • Price down + volume up → Strong selling. More downside likely.
  • Price down + volume down → Weak selling. Could be a bottom.

Volume confirms or denies what price tells you. Never trust a breakout on low volume.

Signal Agreement — The Key Principle

No single indicator is reliable. RSI will give you false signals. MACD will lag. Bollinger Bands will miss the direction.

But when 4 out of 5 indicators agree, the signal-to-noise ratio improves dramatically. This is the principle behind composite trading signals:

  1. Calculate each indicator independently
  2. Score each one (-1 bearish to +1 bullish)
  3. Weight and combine (MACD 25%, RSI 20%, MA 20%, S/R 20%, BB 15%)
  4. Adjust weights based on market regime (trend-following vs mean-reversion)
  5. Output a composite signal: STRONG_BUY, BUY, HOLD, SELL, STRONG_SELL

Try It Yourself

I built NSE Signal Pro — a tool that runs all of these indicators on 500+ NSE stocks and shows them on one unified page:

  • Signal with confidence score
  • Entry, Target, Stop Loss prices
  • All 7 indicators at a glance
  • News sentiment analysis
  • AI-powered explanation of what the signals mean

10 free analyses per day on NIFTY 50 stocks.

Try it: 4ugusta.dev/tools/stocks

Disclaimer

This is educational content about how technical analysis works. It is not financial advice. Stock markets involve risk. Do your own research. Past performance doesn't guarantee future results.

The tools I've built are analytical tools — they help you understand data, not make decisions for you. Always consult a SEBI-registered financial advisor before making investment decisions.

A

Augusta Bhardwaj

Full-stack & AI engineer. Building production AI systems at YC-backed startups. Founder of 4UGUSTA Systems — a web development and AI agency.

← Back to all posts