Compute Indicators
compute_indicatorsCalculate MACD, RSI, 50/200-day SMAs, and Bollinger Bands for a symbol using the last year of daily candles. Returns null values when trading history is too short, such as for recent IPOs.
Instructions
Compute technical indicators for a symbol over the last year of day-end candles. Values are null when history is too short (e.g. recent IPOs).
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": {
"symbol": "<symbol>"
},
"name": "compute_indicators"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macd | No | ||
| rsi_14 | No | ||
| sma_50 | No | ||
| symbol | Yes | ||
| sma_200 | No | ||
| bollinger | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||