Top

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

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

Methods Overview

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

Methods Description

deviation

Getter for the deviation.

Returns:

number - The indicator deviation.

Try it:

Setter for the deviation.

Params:

Name Type Default Description
value number
2
Deviation to set.

Returns:

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

Try it:

period

Getter for the period.

Returns:

number - The indicator period.

Try it:

Getter and setter for the period.

Params:

Name Type Default Description
value number
20
Period to set.

Returns:

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

Try it:

series

Setter for the indicator series.

Params:

Name Type Default Description
type anychart.enums.StockSeriesType | string
"line"
Type of the indicator series.

Returns:

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

Try it: