/** * Range Filter [DW] * * Smoothed range filter that tracks price movement. * smoothRange = EMA(|close - close[1]|, period) * mult * Filter moves up when close > filter + smoothRange, down vice versa. * Upper and lower bands derived from filter +/- smoothRange. * * Reference: TradingView "Range Filter [DW]" (TV#567) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { BarColorData } from '../types'; export interface RangeFilterDWInputs { period: number; mult: number; src: SourceType; } export declare const defaultInputs: RangeFilterDWInputs; 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 & { barColors: BarColorData[]; }; export declare const RangeFilterDW: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: RangeFilterDWInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=range-filter-dw.d.ts.map