Skip to content

charton API


charton API / @chart-on/ta / tr

Function: tr() ​

tr(high, low, close, out?): Float64Array

Defined in: volatility.ts:10

True range: the largest of high - low, |high - prevClose| and |low - prevClose|. The first bar has no previous close and uses high - low. Lookback 0.

Parameters ​

high ​

Series

low ​

Series

close ​

Series

out? ​

Float64Array<ArrayBufferLike>

Returns ​

Float64Array