/** * Bollinger Bands Breakout Oscillator * * Cumulative breakout above/below Bollinger Bands over lookback window. * Bull = cumulative bars above upper BB / length * 100 * Bear = cumulative bars below lower BB / length * 100 * * Reference: TradingView "Bollinger Bands Breakout Oscillator" by LuxAlgo */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface BBBreakoutOscInputs { length: number; mult: number; src: SourceType; } export declare const defaultInputs: BBBreakoutOscInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: { value: number; options: { color: string; linestyle: "dashed"; title: string; }; }[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const BBBreakoutOscillator: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: BBBreakoutOscInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=bb-breakout-oscillator.d.ts.map