Skip to content

charton API


charton API / @chart-on/ta / trixAt

Function: trixAt() ​

trixAt(values, i, length, state): number

Defined in: momentum.ts:386

Single-bar form of trix: reads bar i - 1 and writes bar i of state, and returns the TRIX.

Parameters ​

values ​

Series

i ​

number

length ​

number

state ​

TrixState

Returns ​

number