/** * Reversal Candle Pattern SetUp * * Detects bullish/bearish reversals based on consecutive same-direction * candles followed by a reversal candle breaking the previous extreme. * * Reference: TradingView "Reversal Candle Pattern SetUp" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, BgColorData } from '../types'; export interface ReversalCandleSetupInputs { lookback: number; } export declare const defaultInputs: ReversalCandleSetupInputs; 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[]; bgColors: BgColorData[]; }; export declare const ReversalCandleSetup: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: ReversalCandleSetupInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=reversal-candle-setup.d.ts.map