AnyChart
API Reference
Still have questions?
Contact support
Top

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

Bollinger Bands Width (BBands Width) 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.

Try it:

Setter for the deviation.

Params:

Name Type Default Description
value number
2
Deviation to set.

Returns:

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

Try it:

period

Getter for the period.

Returns:

number - The indicator period.

Try it:

Setter for the period.

Params:

Name Type Default Description
value number
20
Period to set.

Returns:

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

Try it:

series

Getter for the indicator series instance.

Try it:

Setter for the indicator series type.

Params:

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

Returns:

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

Try it: