class anychart.core.stock.indicators.AMA Improve this Doc
Adaptive Moving Average (AMA) indicator class. Learn more about the AMA indicator.
Methods Overview
| Series | |
| series() | Indicator series settings. |
| Specific Indicators Settings | |
| fastPeriod() | Fast indicator period settings. |
| period() | Indicator period settings. |
| slowPeriod() | Slow indicator period settings. |
Methods Description
fastPeriod
Setter for the fast indicator period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | number | 2 | Fast period to set. |
Returns:
anychart.core.stock.indicators.AMA - Self instance for method chaining.Try it:
period
Setter for the indicator period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | number | 20 | Period to set. |
Returns:
anychart.core.stock.indicators.AMA - Self instance for method chaining.Try it:
series
Getter for the indicator series.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator series.Try it:
Setter for the indicator series.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| type | anychart.enums.StockSeriesType | "line" | Type of the indicator series. |
Returns:
anychart.core.stock.indicators.AMA - Self instance for method chaining.Try it:
slowPeriod
Setter for the slow indicator period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | number | 30 | Slow period to set. |
Returns:
anychart.core.stock.indicators.AMA - Self instance for method chaining.Try it:
