/** * Swing Highs/Lows & Candle Patterns * * Identifies swing highs/lows using ta.pivothigh/ta.pivotlow, classifies them as * HH/LH or HL/LL, and detects candle patterns (hammer, inverted hammer, * bullish engulfing, hanging man, shooting star, bearish engulfing) at pivot points. * * Reference: TradingView "Swing Highs/Lows & Candle Patterns [LuxAlgo]" by LuxAlgo */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, LabelData } from '../types'; export interface SwingHighsLowsPatternsInputs { length: number; } export declare const defaultInputs: SwingHighsLowsPatternsInputs; 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[]; labels: LabelData[]; }; export declare const SwingHighsLowsPatterns: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: SwingHighsLowsPatternsInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=swing-highs-lows-patterns.d.ts.map