Logotipo de Technical Analysis

Technical Analysis

Comunidad
Shubhamkumartrichy
technical-analysis

Systematic chart reading for NSE/BSE stocks and indices: trend and moving-average alignment, swing structure, support/resistance clusters, unfilled gaps, volume and delivery %, an indicator dashboard (RSI, MACD, Bollinger, ADX, Stochastic), ATR stops, circuit and gap-risk checks, and probabilistic scenarios. Ships a zero-dependency engine (ta.py) that reads CSV, broker-MCP candles or fetches via yfinance, verified against the `ta` library. Use when the user asks: "what's the trend on X", "support and resistance for X", "is X bullish or bearish", "indicators for X", "chart analysis", "volume analysis", "levels for NIFTY/BANKNIFTY", or any interpretation of price action on Indian equities and indices.

Descripción general

EditorShubhamkumartrichy
Repositorioclaude-trading-skills-india
Nombre de la habilidadtechnical-analysis
Estrellas
57
Forks
11
Archivos incluidos
1
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 1

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por Shubhamkumartrichy en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Technical Analysis en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/technical-analysis
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Shubhamkumartrichy/claude-trading-skills-india.git /tmp/claude-trading-skills-india
mkdir -p .claude/skills
cp -r /tmp/claude-trading-skills-india/skills/technical-analysis .claude/skills/technical-analysis
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Technical Analysis en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Technical Analysis automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Technical Analysis no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Technical Analysis (NSE/BSE)

Read the chart systematically and report every indicator, not only the ones that agree with a bias. Let the script do the arithmetic. Your job is interpretation and context.

1. Get candles

Pick the first option that works:

bash
# A. Broker MCP: save the candle response to a JSON file, then
python3 scripts/ta.py summary --candles candles.json --symbol RELIANCE
# B. yfinance (pip install yfinance). NSE stocks auto-map to .NS; indices: NIFTY, BANKNIFTY, SENSEX, INDIAVIX, NIFTYIT …
python3 scripts/ta.py summary --symbol RELIANCE              # --exchange BSE for .BO
python3 scripts/ta.py fetch --symbol NIFTY --period 5y --out nifty.csv
# C. User/exported CSV (Date, Open, High, Low, Close, Volume, any case)
python3 scripts/ta.py summary --csv reliance.csv

Use at least 250 daily bars so SMA200 and 52-week levels exist. yfinance prices are split-adjusted but not dividend-adjusted, which matches broker charts. Check the last bar's date. The script warns when data is stale. Intraday bars from yfinance are limited (60 days for 15m, 730 days for 1h).

Other sub-commands: levels, divergence, fib, mtf, indicators --rows 15; add --json for raw output.

2. Trend

  • Structure: higher highs and higher lows is an uptrend; lower highs and lower lows is a downtrend; anything else is a range. The script reports it from swing points (--swing 5 = 5 bars each side).
  • MA alignment: price > SMA20 > SMA50 > SMA200 is a strong uptrend, the reverse a strong downtrend, and mixed means transition or chop.
  • Golden or death cross (SMA50 vs SMA200): the script reports recent crosses. It is a lagging confirmation, not an entry.
  • Relative strength: compare the stock to NIFTY and to its sector index (NIFTYIT, NIFTYBANK, NIFTYAUTO, …). Leaders in a weak market and laggards in a strong one are different trades.

3. Support and resistance

  • Swing-point clusters within ~1.5% (the script counts touches). Two or more touches is meaningful.
  • 52-week high/low and round numbers (₹1,000, ₹2,500; NIFTY 25,000; BANKNIFTY 55,000) act as magnets. Indian retail and option writers anchor heavily on round strikes.
  • Unfilled gaps: gap-up zones act as support and gap-down zones as resistance. Overnight gaps are frequent because of GIFT Nifty and US cues.
  • Dynamic levels: SMA20 (short), SMA50 (medium), SMA200 (major).
  • For indices and F&O stocks: the largest call-OI strike tends to cap rallies and the largest put-OI strike tends to hold dips into expiry (see fno-options-analysis).

4. Volume and delivery

PriceVolumeRead
UpRisingHealthy advance
UpFallingWeak rally, suspect
DownRisingDistribution, trend acceleration
DownFallingSelling exhaustion, bounce possible
Spike at support—Capitulation or absorption
Spike at resistance—Breakout attempt or distribution

More than 1.5x the 20-day average is significant. Delivery % is an India-specific edge. NSE publishes the delivery quantity as a percentage of traded quantity per stock per day (security-wise delivery data, or the broker's "delivery %" field). A rising price with a rising delivery % means real buyers taking delivery. A rising price with a low delivery % (below about 30% in large caps) is intraday churn.

5. Indicator dashboard

The script grades each indicator bullish, bearish or neutral and counts them:

IndicatorBullishBearishNeutral
RSI(14)>50 and rising; rising out of <30<50 and falling; falling from >7040–60 flat
MACD(12,26,9)histogram >0 and growinghistogram <0 and growingnear zero
Bollinger(20,2)%B 0.5–1 (upper half)%B 0–0.5squeeze or walking the band
ADX(14)>25 with +DI > −DI>25 with −DI > +DI<20 (no trend)
Stochastic(14,3,3)%K crosses up below 20–30%K crosses down above 70–80mid-range
MA alignmentstacked upstacked downmixed

Indicators are correlated (RSI, Stochastic and MACD all measure momentum). Five bullish signals is not five independent confirmations. Weight structure and volume above the count.

6. India-specific checks (script prints these)

  • Circuit hit: a close at the day's high or low exactly at a band (2/5/10/20%) means one-sided liquidity. The next day can gap again, and exits may be impossible in a lower circuit.
  • Gap statistics: average and maximum overnight gap over 60 bars. If the stop is closer than the typical gap, it is decoration, not protection.
  • Event days: quarterly results (the stock can move 5–15%), ex-dividend (mechanical price drop), bonus/split (check adjustment), index inclusion or exclusion, and F&O ban entry or exit.
  • Closing price is a 30-minute VWAP (15:00–15:30) on NSE, so "closing basis" stops use that number, not the last tick.

7. Scenarios

Always give 2–3 scenarios whose probabilities sum to ~100%. Tilt toward the scenario with better structure + volume + higher-timeframe agreement. Keep near-equal odds when evidence conflicts.

A — Bullish (xx%): trigger [daily close above ₹X on >1.5x volume] → targets ₹T1/₹T2; invalid below ₹S
B — Bearish (xx%): trigger [close below ₹S] → targets ₹…; invalid above ₹…
C — Range (xx%): ₹L–₹H for ~N sessions; breakout tell: [volume/delivery/ADX rising above 20]

Output

Lead with the verdict and the data timestamp. Then trend, levels (nearest 2–3 each side with touches), dashboard counts, volume and delivery, divergences, ATR and stop options, India checks, and scenarios. Hand off to position-sizing and stop-loss-strategies when the user wants a trade plan.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Technical Analysis?

Systematic chart reading for NSE/BSE stocks and indices: trend and moving-average alignment, swing structure, support/resistance clusters, unfilled gaps, volume and delivery %, an indicator dashboard (RSI, MACD, Bollinger, ADX, Stochastic), ATR stops, circuit and gap-risk checks, and probabilistic scenarios. Ships a zero-dependency engine (ta.py) that reads CSV, broker-MCP candles or fetches via yfinance, verified against the `ta` library. Use when the user asks: "what's the trend on X", "support and resistance for X", "is X bullish or bearish", "indicators for X", "chart analysis", "volume...

¿Por qué usar Technical Analysis en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Technical Analysis está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Technical Analysis en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Shubhamkumartrichy/claude-trading-skills-india/tree/main/skills/technical-analysis. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Technical Analysis?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Technical Analysis?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Technical Analysis con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Technical Analysis?

Sí. Shubhamkumartrichy la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇