mcpField
T
technical-analysis

technical-analysis

github.com/bhala-srinivashData & databases59215 installsUpdated 34w ago
Repository

About technical-analysis

A stock-chart analysis skill that structures technical analysis around trends, support and resistance, volume, indicators, and scenarios. It is intended for stock analysis using available data tools or prices supplied manually.

Key features

  1. 01Identifies primary and secondary trends
  2. 02Maps support and resistance levels
  3. 03Interprets volume against price action
  4. 04Reviews common technical indicators
  5. 05Builds probability-weighted scenarios

Use cases

  1. 01Reviewing a stock's trend and momentum
  2. 02Assessing nearby support and resistance
  3. 03Comparing volume with price movements
  4. 04Framing bullish and bearish scenarios

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bhala-srinivash/nse-trading-skills --skill technical-analysis

After installing, type/technical-analysisin Claude Code to confirm it loaded.

Details

From the project README

Technical Analysis

Read the chart systematically — don't cherry-pick indicators that confirm a bias.

Prerequisites

No hard dependencies. Works best with Groww MCP or yfinance for live data, but can analyze any stock if you provide prices manually.

Data Collection

When data tools are available, fetch in this order:

  1. Resolve symbol: search_stock_and_others_symbol on Groww
  2. Live quote: get_quotes_and_depth for current price, volume, day range
  3. Indicators: get_historical_technical_indicators for SMA, EMA, RSI, MACD, Bollinger, ADX
  4. Candles: fetch_historical_candle_data with interval=1d for at least 200 days
  5. Long history (if needed): yf.download("SYMBOL.NS", period="2y") via yfinance

Step 1: Trend Identification

  • Primary trend (weekly): Higher highs & higher lows = uptrend. Lower highs & lower lows = downtrend.
  • Secondary trend (daily): Current swing direction within the primary trend.
  • Moving average alignment:
    • Price > SMA20 > SMA50 > SMA200 = strong uptrend
    • Price < SMA20 < SMA50 < SMA200 = strong downtrend
    • Mixed = transitional / choppy
  • Cross signals: Golden cross (SMA50 > SMA200) = bullish. Death cross = bearish.

Step 2: Support & Resistance

  • Horizontal S/R: Recent swing highs and lows with at least 2 touches
  • Round numbers: Psychological levels (Rs.1,000, Rs.1,500, Rs.2,000)
  • Volume clusters: Zones where heavy trading occurred (act as magnets)
  • Dynamic S/R: SMA20 (short-term), SMA50 (medium), SMA200 (major)
  • Gap zones: Unfilled gaps act as support (gap up) or resistance (gap down)

Step 3: Volume Analysis

Price ActionVolumeInterpretation
Rising priceRising volumeStrong move — trend healthy
Rising priceFalling volumeWeak rally — suspect, may reverse
Falling priceRising volumeStrong selling — trend acceleration
Falling priceFalling volumeSelling exhaustion — bounce possible
Spike volume at support—Potential capitulation / reversal
Spike volume at resistance—Breakout attempt or distribution

Compare current volume to 20-day average. >1.5x = significant.

Step 4: Indicator Dashboard

Pull via get_historical_technical_indicators:

IndicatorBullishBearishNeutral
RSI(14)>50, rising from <30<50, falling from >7040-60, flat
MACDLine > Signal, histogram growingLine < Signal, histogram shrinkingNear zero line
Bollinger BandsPrice bouncing off lower bandPrice rejected at upper bandWalking the band
ADX>25 with +DI > -DI>25 with -DI > +DI<20 (no trend)
Stochastic%K crosses above %D below 20%K crosses below %D above 80Mid-range

Count bullish vs bearish signals to gauge overall bias.

Step 5: Probabilistic Scenarios

Always present 2-3 scenarios with rough probabilities. Assign higher probability to the scenario with more technical evidence.

SCENARIO A (Bullish) — XX% probability
- Trigger: [specific price/indicator condition]
- Target: Rs.XXX (nearest resistance / Fib level)
- Invalidation: Close below Rs.XXX

SCENARIO B (Bearish) — XX% probability
- Trigger: [specific condition]
- Target: Rs.XXX (nearest support)
- Invalidation: Close above Rs.XXX

SCENARIO C (Sideways) — XX% probability
- Range: Rs.XXX to Rs.XXX
- Duration estimate: X days/weeks
- Breakout signal: [what to watch]

Probabilities should sum to ~100%. Base them on: trend alignment, indicator consensus, volume confirmation, and S/R proximity.

Comments

Markdown supported