/** * Leledc Levels * * Bar counting method for exhaustion detection. * Counts consecutive bars closing above/below close[4]. * When counter reaches length, signals potential exhaustion (top/bottom). * * Reference: TradingView "Leledc Levels" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, BarColorData } from '../types'; export interface LeledcLevelsInputs { length: number; bars: number; } export declare const defaultInputs: LeledcLevelsInputs; 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[]; barColors: BarColorData[]; }; export declare const LeledcLevels: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: LeledcLevelsInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=leledc-levels.d.ts.map