Skip to content

charton API


charton API / @chart-on/ta / massIndexAt

Function: massIndexAt() ​

massIndexAt(high, low, i, length, sum, state): number

Defined in: dispersion.ts:121

Single-bar form of massIndex: reads earlier bars of state, writes bar i of state, and returns the value.

Parameters ​

high ​

Series

low ​

Series

i ​

number

length ​

number

sum ​

number

state ​

MassIndexState

Returns ​

number