> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/reference/grid-language/indicators/percent-b.md).

# Percent B

percent\_b() shows where the price sits relative to Bollinger Bands, to spot overbought and oversold levels.

Understand the Percent B indicator in Origami Tech, which measures price relative to Bollinger Bands to signal overbought or oversold zones.

## Percent B

`percent_b(candles: List[[Candle]], period: int = 14, colum: str = "close") -> List[Decimal]`
