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.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

Getter for the fast indicator period.

Returns:

number - Fast indicator period.
Setter for the fast indicator period.

Params:

NameTypeDefaultDescription
valuenumber
2
Fast period to set.

Returns:

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

period

Getter for the indicator period.

Returns:

number - Indicator period.
Setter for the indicator period.

Params:

NameTypeDefaultDescription
valuenumber
20
Period to set.

Returns:

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

series

Setter for the indicator series.

Params:

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

Returns:

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

slowPeriod

Getter for the slow indicator period.

Returns:

number - Slow indicator period.
Setter for the slow indicator period.

Params:

NameTypeDefaultDescription
valuenumber
30
Slow period to set.

Returns:

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