/** * Relative Vigor Index (RVI/RVGI) Indicator * * Measures the conviction of a recent price action. * Based on the relationship between close-open and high-low. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface RVIInputs { /** Period length */ length: number; /** Plot offset */ offset: number; } export declare const defaultInputs: RVIInputs; 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 RVI: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: RVIInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=rvi.d.ts.map