AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.

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

Bollinger Bands Width (BBands Width) 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.
Setter for the deviation.

Params:

NameTypeDefaultDescription
valuenumber
2
Deviation to set.

Returns:

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

period

Getter for the period.

Returns:

number - The indicator period.
Setter for the period.

Params:

NameTypeDefaultDescription
valuenumber
20
Period to set.

Returns:

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

series

Setter for the indicator series.

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType | string
"line"
Type of the indicator series.

Returns:

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