/** * BetterVolume * * Analyzes volume distribution to detect climax, churn, and low volume conditions. * Divides volume into bull/bear components based on open/close within the true range, * then identifies specific volume patterns across a lookback period. * * Reference: TradingView "Better Volume Indicator [LazyBear]" by LazyBear */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { BarColorData } from '../types'; export interface BetterVolumeInputs { length: number; enableBarColors: boolean; use2Bars: boolean; lowVol: boolean; climaxUp: boolean; climaxDown: boolean; churn: boolean; climaxChurn: boolean; } export declare const defaultInputs: BetterVolumeInputs; 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 & { barColors: BarColorData[]; }; export declare const BetterVolume: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: BetterVolumeInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=better-volume.d.ts.map