Skip to content
Back to skills

Macd

ASecurity

Calculate MACD from price data. Use when computing MACD/signal/histogram from a price series, spotting crossovers, reading momentum, or planning MACD-based entries.

  • 12 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
businesspythonbashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill macd --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Macd?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Macd
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-macd/badge)](https://www.skillsdirectory.com/skills/bytesagain-macd)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "MACD — Moving Average Convergence Divergence"
description: "Calculate MACD from price data. Use when computing MACD/signal/histogram from a price series, spotting crossovers, reading momentum, or planning MACD-based entries."
version: "2.0.4"
author: "BytesAgain"
homepage: https://bytesagain.com
source: https://github.com/bytesagain/ai-skills
tags: ["macd", "trading", "crypto", "stocks", "technical-analysis", "finance", "momentum"]
---

# MACD — Moving Average Convergence Divergence

Calculate MACD from price data. Compute EMA, MACD line, signal line, and histogram from a CSV or inline price series.

## Requirements
- bash 4+
- python3 (standard library only)

## Commands

### calculate
Calculate MACD from a comma-separated price series.
```bash
bash scripts/script.sh calculate "170.5,171.2,172.8,171.0,173.5,174.2,175.0,174.8,176.1,175.5,177.2,178.0,176.5,177.8,179.0,178.5,180.2,179.8,181.0,180.5,182.3,181.8,183.0,182.5,184.0,183.5"
```

### calculate-file
Calculate MACD from a CSV file (one price per line or column).
```bash
bash scripts/script.sh calculate-file prices.csv
```

### interpret
Interpret MACD, signal, and histogram values with trading signals.
```bash
bash scripts/script.sh interpret 1.25 0.80
```

### crossover
Explain crossover patterns and trading rules.
```bash
bash scripts/script.sh crossover
```

### histogram
MACD histogram analysis and momentum reading guide.
```bash
bash scripts/script.sh histogram
```

### strategies
MACD trading strategies with entry/exit rules.
```bash
bash scripts/script.sh strategies
```

### help
Show all commands.
```bash
bash scripts/script.sh help
```

## Output
- Computed MACD line, signal line, and histogram from real price data
- EMA values at each step
- Crossover and divergence signals
- Trading strategy frameworks

## Feedback
https://bytesagain.com/feedback/
Powered by BytesAgain | bytesagain.com

Files in this skill

  • SKILL.md1.9 KB
  • scripts/script.sh14.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.