indicator_stochastic
Compute the Stochastic Oscillator (STOCH) for a trading pair to gauge momentum by comparing closing price to the high-low range over a configurable period.
Instructions
Calculate the Stochastic Oscillator (STOCH) - compares closing price to price range over a period
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_stochastic"
}
}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 |
| signalPeriod | No | Signal period for STOCH |