/** * Squeeze Momentum Indicator * * Bollinger Bands inside Keltner Channels = squeeze. * Momentum = linreg of (close - avg(Donchian midline, SMA)). * * Reference: TradingView "Squeeze Momentum Indicator" by LazyBear */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface SqueezeMomentumInputs { bbLength: number; bbMult: number; kcLength: number; kcMult: number; useTrueRange: boolean; src: SourceType; } export declare const defaultInputs: SqueezeMomentumInputs; 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 SqueezeMomentum: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: SqueezeMomentumInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=squeeze-momentum.d.ts.map