/** * Volume Oscillator Indicator * * Measures the difference between two volume EMAs as a percentage. * osc = 100 * (shortEMA - longEMA) / longEMA */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type Bar } from 'oakscriptjs'; export interface VolumeOscillatorInputs { /** Short EMA period */ shortLength: number; /** Long EMA period */ longLength: number; } export declare const defaultInputs: VolumeOscillatorInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const VolumeOscillator: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: VolumeOscillatorInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; }; //# sourceMappingURL=volume-oscillator.d.ts.map