# Technical Indicators

> Calculate trading indicators (RSI, SMA, EMA) from price data.

- Skill: `xspoonai/technical-indicators` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add xspoonai/technical-indicators`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xspoonai/technical-indicators/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: XSpoonAi (https://skillmd.com/u/xspoonai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/xspoonai/technical-indicators

---


# Technical Indicators

Gives SpoonOS agents the ability to perform Technical Analysis (TA). It takes raw price arrays (which can be fetched via other skills) and computes standard indicators like Relative Strength Index (RSI) and Moving Averages.

## Quick Start

```python
# Calculate RSI for a price history
indicators = await agent.run_tool(
    "calc_indicators",
    prices=[100, 102, 101, 105, 110, ...]
)
print(f"RSI: {indicators['rsi']}")
```

## Scripts

| Script | Purpose |
|--------|---------|
| [indicators.py](scripts/indicators.py) | Math engine for trading signals |

## Best Practices

1. Use consistent timeframes (e.g., all 1-hour candle closes) for the input list.
2. Combine multiple indicators (e.g., RSI < 30 AND Price > SMA) for stronger signals.

