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.Context | Type definition for the context. |
Functions Description
calculationFunction
Calculates RSI.
Params:
Name | Type | Description |
---|---|---|
row | anychart.data.TableComputer.RowProxy | Row proxy. |
context | anychart.math.rsi.Context | Context. |
Try it:
createComputer
Creates a RSI computer for the given table mapping.
Params:
Name | Type | Description |
---|---|---|
mapping | anychart.data.TableMapping | Data mapping. |
period | number | Indicator period. |
Returns:
anychart.data.TableComputer - Table computer.Try it:
initContext
Creates a context for RSI indicator calculation.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 10 | Indicator period. |
Returns:
anychart.math.rsi.Context - Context.Try it:
startFunction
Start calculation function for RSI indicator calculation.
Params:
Name | Type | Description |
---|---|---|
context | anychart.math.rsi.Context | Context. |
Try it: