indicator_sma
Compute the simple moving average (SMA) for any trading pair to identify price trends across customizable periods and timeframes.
Instructions
Calculate the Simple Moving Average (SMA) - averages prices over a period to identify trends
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": "indicator_sma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of OHLCV data points to fetch | |
| period | No | Period length | |
| symbol | Yes | Trading pair, e.g., 'BTC/USDT' | |
| timeframe | No | Timeframe, e.g., '1m', '1h', '1d' | 1h |