charton API / @chart-on/ta / hma
Function: hma()
hma(
values,length,out?):Float64Array
Defined in: smoothing.ts:13
Hull moving average: a wma over floor(sqrt(length)) bars of 2 * wma(length / 2) - wma(length), which cuts most of the lag. Lookback length + floor(sqrt(length)) - 2.
Parameters
values
length
number
out?
Float64Array<ArrayBufferLike>
Returns
Float64Array