charton API / @chart-on/ta / alma
Function: alma()
alma(
values,length,offset,sigma,out?):Float64Array
Defined in: smoothing.ts:128
Gaussian-weighted moving average: weights follow a bell curve centred at offset along the window (0 the oldest bar, 1 the newest), with width length / sigma. A higher offset follows price more closely. Lookback length - 1.
Parameters
values
length
number
offset
number
sigma
number
out?
Float64Array<ArrayBufferLike>
Returns
Float64Array