/** * VolumeBarBreakout * * Identifies the highest volume bar in a lookback period, then plots * its high and low as support/resistance levels. Generates BUY signals * on breakout above the high, and SELL signals on breakdown below the low. * * Reference: TradingView "Volume Bar Breakout and Breakdown Indicator" by tradeswithashish */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface VolumeBarBreakoutInputs { lookback: number; } export declare const defaultInputs: VolumeBarBreakoutInputs; 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 VolumeBarBreakout: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: VolumeBarBreakoutInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=volume-bar-breakout.d.ts.map