Skip to content

charton API


charton API / @chart-on/ta / rsiAt

Function: rsiAt() ​

rsiAt(values, i, length, out, state): number

Defined in: momentum.ts:57

Single-bar form of rsi: reads bar i - 1 of state, writes bar i of state and out, and returns the RSI.

Parameters ​

values ​

Series

i ​

number

length ​

number

out ​

Float64Array

state ​

RsiState

Returns ​

number