Skip to content

charton API


charton API / @chart-on/ta / supertrendAt

Function: supertrendAt() ​

supertrendAt(high, low, close, i, length, mult, out, state): void

Defined in: trend.ts:170

Single-bar form of supertrend: reads bar i - 1 and writes bar i of out and state.

Parameters ​

high ​

Series

low ​

Series

close ​

Series

i ​

number

length ​

number

mult ​

number

out ​

Supertrend

state ​

SupertrendState

Returns ​

void