ta_slug_macd
Compute the full MACD series for any cryptocurrency asset by specifying slug, timeframe, and EMA periods to obtain MACD line, signal line, and histogram.
Instructions
Full MACD series
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "ta_slug_macd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Asset slug (e.g. bitcoin) | |
| start | No | Start timestamp in ms | |
| end | No | End timestamp in ms | |
| short | No | Short EMA period (default: 12) | |
| long | No | Long EMA period (default: 26) | |
| signal | No | Signal line EMA period (default: 9) | |
| fetchInterval | No | Timeframe for price bars | |
| includeOriginal | No | Include original price data |