# indicator-chart

Draws an interactive Plotly chart for a technical indicator on a given symbol, with candlesticks, overlays and subplots. Handy when you want to eyeball a signal instead of writing the script yourself.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 664 installs · ★ 19
- Author: marketcalls
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/marketcalls/openalgo-indicator-skills/tree/HEAD/.claude/skills/indicator-chart/SKILL.md
- Updated: 2026-06-12
- HTML: https://affpapa.org/en/nevibecode/skills/indicator-chart

## What it does

The skill takes four arguments: indicator, symbol, exchange and interval. Leave them out and the agent asks what you want charted. It then creates `charts/{indicator_name}/`, writes `{symbol}_{indicator}_chart.py` there, and starts from the matching template in `rules/assets/{indicator}_chart/chart.py` when one exists.

The generated script loads `.env` from the project root with `find_dotenv()`, pulls history through OpenAlgo's `client.history()`, converts the index to datetime, sorts it and drops the timezone. Indicator math comes from `openalgo.ta`. The figure uses Plotly's dark template with a category x-axis. Overlays such as EMA, Bollinger, Supertrend and Ichimoku sit on the candlestick panel; RSI, MACD, Stochastic, ADX, OBV and volume get their own panels via `make_subplots`. Output is saved as HTML and shown with `fig.show()`.

US tickers need the exchange set to `YFINANCE`, which routes data through yfinance rather than OpenAlgo. Indian symbols, by contrast, depend on a working OpenAlgo client with its key in `.env` — without that the history call fails. Lookback scales with the interval: a year on daily bars, six months on hourly, one month on five-minute.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill indicator-chart -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/indicator-chart/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/indicator-chart/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill indicator-chart -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/indicator-chart/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill indicator-chart -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/indicator-chart/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install marketcalls/openalgo-indicator-skills indicator-chart
```

2. **Manually: put the files in place**
- File: `.github/skills/indicator-chart/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill indicator-chart -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/marketcalls/openalgo-indicator-skills --path .claude/skills/indicator-chart
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/indicator-chart/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill indicator-chart -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/marketcalls/openalgo-indicator-skills/tree/HEAD/.claude/skills/indicator-chart/SKILL.md

## When to use it
- chart RSI on a stock without writing the script by hand
- put EMA and Bollinger bands on the same candlestick panel
- build a multi-panel view with RSI, MACD and volume
- mark Supertrend entry points with triangle markers
- get a plain-language read of the current indicator value

## Example prompts
- Chart EMA on SBIN, NSE, daily interval
- Show me RSI for RELIANCE on NSE daily
- Build a multi-panel chart for SBIN with candles, RSI, MACD and volume

## Similar
- [strategy-compare](https://affpapa.org/en/nevibecode/skills/strategy-compare.md) — skill · 2300 installs
- [optimize](https://affpapa.org/en/nevibecode/skills/optimize.md) — skill · 2300 installs
- [stock-info-explorer](https://affpapa.org/en/nevibecode/skills/stock-info-explorer.md) — skill · 508 installs
- [breadth-chart-analyst](https://affpapa.org/en/nevibecode/skills/breadth-chart-analyst.md) — skill · 3400 installs
- [trading-visualization](https://affpapa.org/en/nevibecode/skills/trading-visualization.md) — skill · 509 installs
- [syncfusion-react-stock-chart](https://affpapa.org/en/nevibecode/skills/syncfusion-react-stock-chart.md) — skill · 648 installs

From the same set: [marketcalls/openalgo-indicator-skills](https://affpapa.org/en/nevibecode/by/marketcalls/openalgo-indicator-skills.md) — 7 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
