AnyChart
API Reference
Still have questions?
Contact support
Top

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

Momentum indicator class.

Methods Overview

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

Methods Description

period

Getter for the indicator period.

Returns:

number - Indicator period.
Setter for the indicator period.

Params:

NameTypeDefaultDescription
periodnumber
14
Period to set.

Returns:

anychart.core.stock.indicators.MFI - 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.

Returns:

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