{
  "slug": "bollinger-bands",
  "name": "gizza-ai/bollinger-bands",
  "version": "0.1.0",
  "title": "Bollinger Bands Calculator — moving average ± standard deviations — gizza.ai",
  "description": "Compute Bollinger Bands (SMA plus/minus standard deviations) for a price series, plus %B and bandwidth, in your browser. Free, private, no upload.",
  "tags": [
    "bollinger bands",
    "technical analysis",
    "moving average",
    "standard deviation",
    "percent b",
    "bandwidth",
    "trading indicator"
  ],
  "category": "math",
  "urls": {
    "page": "https://gizza.ai/tools/bollinger-bands/",
    "markdown": "https://gizza.ai/tools/bollinger-bands/index.md",
    "descriptor": "https://gizza.ai/tools/bollinger-bands/tool.json",
    "deep_link_example": "https://gizza.ai/tools/bollinger-bands/?prices=10%2C%2011%2C%2012%2C%2013%2C%2012%2C%2014%2C%2015%2C%2016%2C%2015%2C%2017&period=20&num_std=2"
  },
  "cli": "gizza tool bollinger-bands \"10, 11, 12, 13, 12, 14, 15, 16, 15, 17\"",
  "tool": {
    "description": "Compute Bollinger Bands for a price/value series (separated by spaces, commas, semicolons, or newlines, oldest first). For each rolling window of `period` values (default 20) the middle band is the simple moving average and the upper/lower bands are the SMA plus/minus `num_std` (default 2) population standard deviations. Also returns %B and bandwidth for the latest point. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "num_std": {
          "default": 2.0,
          "description": "Standard-deviation multiplier for the upper/lower bands. Defaults to 2.",
          "minimum": 0,
          "type": "number"
        },
        "period": {
          "default": 20.0,
          "description": "Moving-average window length (the SMA period). Defaults to 20.",
          "minimum": 1,
          "type": "integer"
        },
        "prices": {
          "description": "The price/value series, separated by spaces, commas, semicolons, or newlines (oldest first).",
          "type": "string"
        }
      },
      "required": [
        "prices"
      ],
      "type": "object"
    }
  }
}