/** * RSI Divergence * * Plots the difference between fast RSI and slow RSI as a single colored line. * divergence = RSI(fast) - RSI(slow) * Colored lime when positive, red when negative. * * Reference: TradingView "RSI Divergence" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface RSIDivergenceInputs { lenFast: number; lenSlow: number; src: SourceType; } export declare const defaultInputs: RSIDivergenceInputs; 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 RSIDivergence: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: RSIDivergenceInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=rsi-divergence.d.ts.map