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.
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 |