Skip to content

charton API


charton API / @chart-on/ta / temaAt

Function: temaAt() ​

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

Defined in: smoothing.ts:91

Single-bar form of tema: reads bar i - 1 of state, writes bar i of state and out. state.ema3 is required.

Parameters ​

values ​

Series

i ​

number

length ​

number

out ​

Float64Array

state ​

ChainedEmaState

Returns ​

number