get_macd
Get MACD values for any cryptocurrency pair to analyze trend direction and momentum, identify buy and sell signals based on MACD line crossings.
Instructions
Get MACD (Moving Average Convergence Divergence) for a cryptocurrency.
MACD shows trend direction and momentum:
MACD > 0: Bullish momentum
MACD < 0: Bearish momentum
MACD crossing above signal line: Buy signal
MACD crossing below signal line: Sell signal
Args: symbol: Trading pair symbol (e.g., BTCUSDT, ETHUSDT) interval: Candle interval - 1m, 5m, 15m, 30m, 1h, 4h, 1d fast: Fast EMA period (default 12) slow: Slow EMA period (default 26) signal: Signal line period (default 9) limit: Number of values to return (default 10) start_time: Start time in ISO format (e.g., 2024-01-01) end_time: End time in ISO format (e.g., 2024-02-01)
Returns: MACD values with trend interpretation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fast | No | ||
| slow | No | ||
| limit | No | ||
| signal | No | ||
| symbol | Yes | ||
| end_time | No | ||
| interval | No | 1h | |
| start_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |