/** * Volume Flow Indicator (VFI) * * Volume-based oscillator using log price changes and volume cutoff. * VFI = SUM(signed_volume, length) / SMA(volume, length) * * Reference: TradingView "Volume Flow Indicator [LazyBear]" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface VolumeFlowIndicatorInputs { length: number; coef: number; vcoef: number; signalLength: number; smoothVFI: boolean; } export declare const defaultInputs: VolumeFlowIndicatorInputs; 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 VolumeFlowIndicator: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: VolumeFlowIndicatorInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=volume-flow-indicator.d.ts.map