AnyChart
API Reference
Still have questions?
Contact support
Top

namespace anychart.math.rsi Improve this Doc

Namespace anychart.math.rsi
Learn more about indicator mathematics.

Functions Overview

calculationFunction()Calculates RSI.
createComputer()Creates a RSI computer for the given table mapping.
initContext()Creates a context for RSI indicator calculation.
startFunction()Start calculation function for RSI indicator calculation.

Typedefs Overview

anychart.math.rsi.ContextType definition for the context.

Functions Description

calculationFunction

Calculates RSI.

Params:

NameTypeDescription
rowanychart.data.TableComputer.RowProxyRow proxy.
contextanychart.math.rsi.ContextContext.

createComputer

Creates a RSI computer for the given table mapping.

Params:

NameTypeDescription
mappinganychart.data.TableMappingData mapping.
periodnumberIndicator period.

Returns:

anychart.data.TableComputer - Table computer.

initContext

Creates a context for RSI indicator calculation.

Params:

NameTypeDefaultDescription
periodnumber
10
Indicator period.

Returns:

anychart.math.rsi.Context - Context.

startFunction

Start calculation function for RSI indicator calculation.

Params:

NameTypeDescription
contextanychart.math.rsi.ContextContext.