AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.stock.indicators.WMA Improve this Doc

Weighted Moving Average (WMA) indicator class. Learn more about the WMA indicator.

Methods Overview

Series
series()Indicator series instance.
Specific Indicators Settings
period()Indicator period setting.

Methods Description

period

Getter for the period.

Returns:

number - Indicator period.
Setter for the period.

Params:

NameTypeDefaultDescription
periodnumber
9
Period.

Returns:

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

series

Getter for the indicator series instance.
Setter for the indicator series type.

Params:

NameTypeDescription
typeanychart.enums.StockSeriesType | stringType of the indicator series (type as "line", "column", "area").

Returns:

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