/** * Volume Accumulation Percentage Indicator * * Measures buying/selling pressure as a percentage using volume-weighted * price position within the bar range. * VA = volume * ((close - low) - (high - close)) / range * VA% = SMA(VA, length) / SMA(volume, length) * 100 * * Reference: TradingView "Volume Accumulation Percentage Indicator [LazyBear]" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface VolumeAccumulationPctInputs { length: number; } export declare const defaultInputs: VolumeAccumulationPctInputs; 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; export declare const VolumeAccumulationPct: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: VolumeAccumulationPctInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=volume-accumulation-pct.d.ts.map