/** * HyperTrend [LuxAlgo] * * ATR-based adaptive trend following indicator with upper/lower bands. * Uses a multiplicative factor to detect trend changes, then builds * an average line that drifts in trend direction. Bands are drawn * around the average at a configurable width percentage. * * Reference: TradingView "HyperTrend [LuxAlgo]" by LuxAlgo */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface HyperTrendInputs { mult: number; slope: number; widthPct: number; } export declare const defaultInputs: HyperTrendInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const HyperTrend: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: HyperTrendInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=hyper-trend.d.ts.map