/** * Trendlines with Breaks [LuxAlgo] * * Pivot-based trendline indicator. Detects swing highs/lows, then * calculates slope-adjusted trendlines that update on each new pivot. * Breakout signals fire when price crosses through a trendline. * * Reference: TradingView "Trendlines with Breaks [LuxAlgo]" by LuxAlgo */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, LineDrawingData } from '../types'; export interface TrendlinesWithBreaksInputs { length: number; mult: number; calcMethod: string; } export declare const defaultInputs: TrendlinesWithBreaksInputs; 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[]; lines: LineDrawingData[]; }; export declare const TrendlinesWithBreaks: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: TrendlinesWithBreaksInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=trendlines-with-breaks.d.ts.map