class anychart.core.stock.indicators.AO Improve this Doc
Extends: anychart.core.stock.indicators.Base
Awesome Oscillator (AO) indicator class Learn more about the AO indicator.
Methods Overview
Series | |
series() | Indicator series instance. |
Specific Indicators Settings | |
fastPeriod() | Indicator fast period settings. |
maType() | Indicator smoothing type. |
slowPeriod() | Indicator slow period settings. |
Methods Description
fastPeriod
Setter for the fast period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 5 | Fast period to set. |
Returns:
anychart.core.stock.indicators.AO - Self instance for method chaining.Try it:
maType
Getter for the indicator smoothing type.
Returns:
anychart.enums.MovingAverageType | string - Indicator smoothing type.Try it:
Setter for the indicator smoothing type.
Params:
Name | Type | Default | Description |
---|---|---|---|
type | anychart.enums.MovingAverageType | string | 'sma' | Indicator smoothing type. |
Returns:
anychart.core.stock.indicators.AO - Self instance for method chaining.Try it:
series
Getter for the indicator series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator series.Try it:
Setter for the indicator series type.
Params:
Name | Type | Default | Description |
---|---|---|---|
type | anychart.enums.StockSeriesType | string | 'line' | Type of the indicator series. |
Returns:
anychart.core.stock.indicators.AO - Self instance for method chaining.Try it:
slowPeriod
Setter for the slow period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 34 | Slow period to set. |
Returns:
anychart.core.stock.indicators.AO - Self instance for method chaining.Try it: