charton API / @chart-on/ta / choppiness
Function: choppiness()
choppiness(
high,low,close,length,out?):Float64Array
Defined in: trend-strength.ts:57
Choppiness index, 0 to 100: the true range summed over length bars, relative to the high-low range of those bars, on a log scale. Near 100 the price chops sideways; near 0 it trends. length must be at least 2. Lookback length - 1. NaN while the window has no range.
Parameters
high
low
close
length
number
out?
Float64Array<ArrayBufferLike>
Returns
Float64Array