class anychart.core.stock.indicators.EMA Improve this Doc
Exponential Moving Average (EMA) indicator class. Learn more about the EMA indicator.
Methods Overview
Series | |
series() | Indicator series instance. |
Specific Indicators Settings | |
period() | Indicator period setting. |
Methods Description
period
Setter for the period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 20 | Period. |
Returns:
anychart.core.stock.indicators.EMA - 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 | Description |
---|---|---|
type | anychart.enums.StockSeriesType | string | Type of the indicator series (type as "line", "column", "ohlc"). |
Returns:
anychart.core.stock.indicators.EMA - Self instance for method chaining.Try it: