# Technical Analysis

> Computes technical indicators for stock data including MACD, RSI, moving averages, Bollinger Bands, ATR, and volume analysis. Generates trading signals based on indicator conditions. Trigger when the user requests technical indicators, chart patterns, or signal calculations.

- **Type:** Skill
- **Install:** `agentstack add skill-qunyou-agent-finance-skills-technical-analysis`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [qunyou-agent](https://agentstack.voostack.com/s/qunyou-agent)
- **Installs:** 0
- **Category:** [Finance & Payments](https://agentstack.voostack.com/c/finance-and-payments)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [qunyou-agent](https://github.com/qunyou-agent)
- **Source:** https://github.com/qunyou-agent/finance-skills/tree/main/skills/trading/technical-analysis

## Install

```sh
agentstack add skill-qunyou-agent-finance-skills-technical-analysis
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Technical Analysis

Computes and interprets technical indicators for financial time series data.

## Real Code Reference

- `tradinglearn/utils/technical_indicators.py` — `calculate_macd()`, `calculate_ema()`, `calculate_sma()`
- `tradinglearn/strategies/macd_strategy.py` — `MACDStrategy.generate_signals()` with golden-cross/dead-cross logic
- `tradinglearn/pytdx2/macd_golden_cross.py` — A-share MACD golden cross scanner

## Supported Indicators

- **Trend**: SMA, EMA, WMA, MACD, Parabolic SAR, ADX
- **Momentum**: RSI, Stochastic Oscillator, Williams %R, ROC, CCI
- **Volatility**: Bollinger Bands, ATR, Keltner Channels
- **Volume**: OBV, Volume Profile, Money Flow Index, VWAP
- **Patterns**: Doji, Hammer, Engulfing, Morning/Evening Star

## Typical Workflow

1. Fetch K-line data via `fetch_stock_data(ticker)` or `QuotationClient.get_KLine_data()`
2. Compute indicators with existing functions in `utils/technical_indicators.py`
3. Generate signals: crossover events, overbought/oversold thresholds, divergence detection
4. Return DataFrame with indicator columns + signal columns

## Usage

```python
from utils.technical_indicators import calculate_macd, calculate_ema, calculate_sma

macd_df = calculate_macd(data, fast_period=12, slow_period=26, signal_period=9)
# Returns DataFrame with MACD, Signal, Histogram columns
signal = macd_df['MACD'] > macd_df['Signal']  # Golden cross condition
```

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [qunyou-agent](https://github.com/qunyou-agent)
- **Source:** [qunyou-agent/finance-skills](https://github.com/qunyou-agent/finance-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-qunyou-agent-finance-skills-technical-analysis
- Seller: https://agentstack.voostack.com/s/qunyou-agent
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
