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