Skip to content

Documentation / @finchart/indicators / bbi

Function: bbi() ​

bbi(source, options?): Bbi

Defined in: indicators/src/factories.ts:1832

Bull and Bear Index (BBI) — the mean of four smas of the close, drawn on the price pane. The canonical divides by a literal 4, so four windows is the definition, not a default — the tuple type says so, and the door refuses any other count from a JavaScript caller.

Parameters ​

source ​

Source<OHLC>

options? ​

BbiOptions = {}

Returns ​

Bbi