AnyChart
API Reference
Still have questions?
Contact support
Top

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

Relative Strength Index (RSI) indicator class. Learn more about the RSI indicator.

Methods Overview

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

Methods Description

period

Getter for the current period.

Returns:

number - The current period.

Try it:

Setter for the period.

Params:

Name Type Default Description
value number
14
Period.

Returns:

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

Try it:

series

Getter for the indicator RSI series instance.

Try it:

Setter for the indicator RSI 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.RSI - Self instance for method chaining.

Try it: