Skip to content

charton API


charton API / @chart-on/ta / atr

Function: atr() ​

atr(high, low, close, length, out?): Float64Array

Defined in: volatility.ts:30

Average true range: rma of tr. Lookback length - 1.

Parameters ​

high ​

Series

low ​

Series

close ​

Series

length ​

number

out? ​

Float64Array<ArrayBufferLike>

Returns ​

Float64Array