/** * Trend Impulse Channels (Zeiierman) * * ATR-based trend-following channel indicator. A "trend" level steps * in the trend direction each bar. Flips occur when price exceeds * the trigger threshold (ATR * multiplier). Volatility bands are * drawn around the trend line. Retest and step signals are generated. * * Reference: TradingView "Trend Impulse Channels (Zeiierman)" by Zeiierman */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface TrendImpulseChannelsInputs { flipMult: number; maxStepAtr: number; bandMult: number; holdBars: number; showFill: boolean; showRetestSignals: boolean; trendFilter: boolean; showStepSignals: boolean; } export declare const defaultInputs: TrendImpulseChannelsInputs; 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 & { markers: MarkerData[]; }; export declare const TrendImpulseChannels: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: TrendImpulseChannelsInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=trend-impulse-channels.d.ts.map