trading-signals
Version:
Technical indicators to run technical analysis with JavaScript / TypeScript.
13 lines (12 loc) • 441 B
TypeScript
import { IndicatorSeries } from '../../base/Indicator.js';
import type { HighLow } from '../../base/Candle.type.js';
export type HigherLowTrailConfig = {
lookback: number;
monotonic?: boolean;
};
export declare class HigherLowTrail extends IndicatorSeries<HighLow> {
#private;
constructor(config: HigherLowTrailConfig);
getRequiredInputs(): number;
update(candle: HighLow<number>, replace: boolean): number | null;
}