indicators_bollinger-bands
Calculate Bollinger Bands with %B, bandwidth, and squeeze detection. Provide price array and optional window/standard deviation parameters.
Instructions
Bollinger Bands with %B, bandwidth, and squeeze detection.
Use when computing Bollinger Bands with squeeze detection. Provide prices and optional period/multiplier. Returns: upper/mid/lower bands, %B, bandwidth, squeeze flag, and current position relative to bands.
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": {
"prices": "<prices>"
},
"name": "indicators_bollinger-bands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prices | Yes | Array of price data | |
| window | No | Moving average window | |
| num_std | No | Number of standard deviations for bands |