class anychart.core.stock.indicators.BBands Improve this Doc
Bollinger Bands (BBands) indicator class.
Methods Overview
Series | |
lowerSeries() | Indicator Lower Series instance. |
middleSeries() | Indicator Middle Series instance. |
rangeSeries() | Indicator series instance. |
upperSeries() | Indicator Upper Series instance. |
Specific Indicators Settings | |
deviation() | Indicator deviation settings. |
period() | Indicator period settings. |
Methods Description
deviation
Setter for the deviation.
Params:
Name | Type | Default | Description |
---|---|---|---|
deviation | number | 2 | Deviation to set. |
Returns:
anychart.core.stock.indicators.BBands - Self instance for method chaining.Try it:
lowerSeries
Getter for the indicator Lower Series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator Lower Series.Try it:
Setter for the indicator Lower Series type.
Params:
Name | Type | Description |
---|---|---|
type | anychart.enums.StockSeriesType | string | Type of the indicator Lower Series. |
Returns:
anychart.core.stock.indicators.BBands - Self instance for method chaining.Try it:
middleSeries
Getter for the indicator Middle Series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator Middle Series.Try it:
Setter for the indicator Middle Series type.
Params:
Name | Type | Description |
---|---|---|
type | anychart.enums.StockSeriesType | string | Type of the indicator Middle Series. |
Returns:
anychart.core.stock.indicators.BBands - Self instance for method chaining.Try it:
period
Setter for the period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 20 | Period to set. |
Returns:
anychart.core.stock.indicators.BBands - Self instance for method chaining.Try it:
rangeSeries
Getter for the indicator Range Series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - The indicator Range Series.Try it:
Setter for the indicator Range Series type.
Params:
Name | Type | Default | Description |
---|---|---|---|
type | anychart.enums.StockSeriesType | string | 'range-area' | Type of the indicator Range Series. |
Returns:
anychart.core.stock.indicators.BBands - Self instance for method chaining.Try it:
upperSeries
Getter for the indicator Upper Series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator Upper Series.Try it:
Setter for the indicator Upper Series type.
Params:
Name | Type | Description |
---|---|---|
type | anychart.enums.StockSeriesType | string | Type of the indicator Upper Series. |
Returns:
anychart.core.stock.indicators.BBands - Self instance for method chaining.Try it: