@thi.ng/transducers-stats
Version:
Transducers for statistical / technical analysis
12 lines • 531 B
TypeScript
import type { Transducer } from "@thi.ng/transducers";
/**
* https://www.fidelity.com/learning-center/trading-investing/technical-analysis/technical-indicator-guide/hull-moving-average
*
* Note: the number of results will be `period + floor(sqrt(period)) - 2` less
* than the number of processed inputs.
*
* @param period -
*/
export declare function hma(period: number): Transducer<number, any>;
export declare function hma(period: number, src: Iterable<number>): IterableIterator<number>;
//# sourceMappingURL=hma.d.ts.map