/** * Support and Resistance Levels with Breaks * * Pivot-based S/R with break detection. * Tracks pivot highs as resistance and pivot lows as support. * Detects breaks when close crosses above resistance or below support. * * Reference: TradingView "Support and Resistance Levels with Breaks" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface SRLevelsBreaksInputs { pivotLen: number; volumeThresh: number; } export declare const defaultInputs: SRLevelsBreaksInputs; 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 SRLevelsBreaks: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: SRLevelsBreaksInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=sr-levels-breaks.d.ts.map