technical-analysis
БесплатноЗапускает вложенные скриптыНе проверенCompute technical indicators like RSI, MACD, Bollinger Bands, SMA, EMA for a stock. Use when user asks about technical analysis, indicators, RSI, MACD, moving…
от staskh★ 427 звёзд на GitHubОб этом скилле
Technical Analysis
Compute technical indicators using pandas-ta. Supports multi-symbol analysis and earnings data.
Instructions
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/technicals.py SYMBOL [--period PERIOD] [--indicators INDICATORS] [--earnings]
Arguments
SYMBOL- Ticker symbol or comma-separated list (e.g.,AAPLorAAPL,MSFT,GOOGL)--period- Historical period: 1mo, 3mo, 6mo, 1y (default: 3mo)--indicators- Comma-separated list: rsi,macd,bb,sma,ema,atr,adx (default: all)--earnings- Include earnings data (upcoming date + history)
Output
Single symbol returns:
price- Current price and recent changeindicators- Computed values for each indicatorrisk_metrics- Volatility (annualized %) and Sharpe ratiosignals- Buy/sell signals based on indicator levelsearnings- Upcoming date and EPS history (if--earnings)
Multiple symbols returns:
results- Array of individual symbol results
Crossovers
indicators.macd.crossover- Most recent MACD line/signal crossover, ornull:direction-"up"(MACD crossed above signal = bullish) or"down"(crossed below = bearish)bars_ago- Bars since the crossover (0 = happened on the most recent bar); trading days on the default daily bars
indicators.ema.crossover- Most recent EMA9/EMA21 crossover (same shape;nullif none).indicators.emaalso reportsema9andema21alongsideema12/ema26.
Interpretation
- RSI > 70 = overbought, RSI < 30 = oversold
- MACD crossover = momentum shift;
crossover.bars_agoof 0-5 = fresh signal - EMA9/21 crossover confirms short-term momentum; MACD typically leads, EMA confirms
- Price near Bollinger Band = potential reversal
- Golden cross (SMA20 > SMA50) = bullish
- ADX > 25 = strong trend
- Sharpe ratio > 1 = good risk-adjusted returns, > 2 = excellent
- Volatility (annualized) = standard deviation of returns scaled to annual basis
Examples
# Single symbol with all indicators
uv run python scripts/technicals.py AAPL
# Multiple symbols
uv run python scripts/technicals.py AAPL,MSFT,GOOGL
# With earnings data
uv run python scripts/technicals.py NVDA --earnings
# Specific indicators only
uv run python scripts/technicals.py TSLA --indicators rsi,macd
Intraday Technical Analysis
Same RSI/MACD/ADX-DMI math as above, computed on intraday (sub-daily) bars instead of daily closes. Daily-period indicators barely move within a single session — a whole trading day can pass with ADX unchanged to two decimal places — so they're the wrong tool for monitoring a position you plan to hold hours, not weeks. Use this for same-day/next-day position checks (day-trade or 1-3 day scalp monitoring); use the daily version above for swing/multi-week positions, or once at the start of a monitoring series as slower-moving regime context.
Instructions
uv run python scripts/intraday_technicals.py SYMBOL [--interval INTERVAL] [--period PERIOD]
Arguments
SYMBOL- Ticker symbol--interval- Bar size:1m,2m,5m,15m,30m,60m(default:5m)--period- History to compute on:5dor1mo. Default:5dfor1m–15m,1mofor30m/60m
Indicators carry across sessions, as on charting platforms: the script always computes on several prior sessions, so RSI/EMA/MACD/ADX are warmed up at the open instead of restarting from scratch each morning.
Output
bars- Bars the indicators were computed on (all sessions inperiod).price-current;prev_close(the prior session's official close from daily bars; falls back to its last intraday bar);change/change_pctvs.prev_close;session_dateandsession_barsfor the current session.warnings- Names each indicator that doesn't yet have enough bars: RSI 15, EMA21 21, ADX 28, MACD signal 34. With the defaultperiodthis only fires on thin history (new listings, long halts).indicators.rsi,.macd(macd/signal/histogram/prev_histogram),.adx(adx/dmp/dmn) - same fields and interpretation as the daily version.indicators.ema-ema9,ema21, andcrossoverwithdirection,bars_agoandcrossed_at(timestamp of the crossover bar, ET). Usecrossed_atfor elapsed time across session gaps.
Examples
# Default: 5-minute bars, computed on the last 5 sessions
uv run python scripts/intraday_technicals.py MU
# 15-minute bars for a slightly steadier read
uv run python scripts/intraday_technicals.py MU --interval 15m
# Hourly bars (computed on a month of history)
uv run python scripts/intraday_technicals.py MU --interval 60m
Gotcha
compute_raw_indicators returns null for an indicator until it has enough bars (RSI and ADX from 15, EMA21 from 21, the MACD signal line from 34), so a null-check catches the missing ones. It does not catch ADX between
Установить technical-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл technical-analysis?
Compute technical indicators like RSI, MACD, Bollinger Bands, SMA, EMA for a stock. Use when user asks about technical analysis, indicators, RSI, MACD, moving averages, overbought/oversold, or chart analysis.
Как установить скилл technical-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл technical-analysis запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic