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 setting. |
Specific Indicators Settings | |
period() | Indicator period setting. |
Methods Description
period
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 series.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - The current indicator series.Try it:
Setter for the indicator RSI series.
Params:
Name | Type | Default | Description |
---|---|---|---|
type | string | anychart.enums.StockSeriesType | "line" | Type of the indicator series (type as "line", "column", "ohlc"). |
Returns:
anychart.core.stock.indicators.RSI - Self instance for method chaining.Try it: