AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.stock.indicators.BBandsB Improve this Doc

Bollinger Bands %B (BBands %B) indicator class.

Methods Overview

Series
series()Indicator series instance.
Specific Indicators Settings
deviation()Indicator deviation settings.
period()Indicator period settings.

Methods Description

deviation

Getter for the deviation.

Returns:

number - The indicator deviation.
Setter for the deviation.

Params:

NameTypeDefaultDescription
deviationnumber
2
Deviation to set.

Returns:

number | anychart.core.stock.indicators.BBandsB - deviation or self for chaining.

period

Getter for the period.

Returns:

number - The indicator period.
Getter and setter for the period.

Params:

NameTypeDefaultDescription
periodnumber
20
Period to set.

Returns:

anychart.core.stock.indicators.BBandsB - Self instance for method chaining.

series

Getter for the indicator series instance.
Setter for the indicator series type.

Params:

NameTypeDescription
typeanychart.enums.StockSeriesType | stringType of the indicator series.

Returns:

anychart.core.stock.indicators.BBandsB - Self instance for method chaining.