/** * KDJ Indicator * * Extended Stochastic with J line = 3K - 2D. * J > 100 = extreme overbought, J < 0 = extreme oversold. * * K = bcwsma(RSV, signal, 1) // equivalent to RMA * D = bcwsma(K, signal, 1) * J = 3K - 2D * * Reference: TradingView "KDJ Indicator" by KingThies */ import type { Bar, IndicatorResult, InputConfig, PlotConfig } from 'oakscriptjs'; export interface KDJInputs { period: number; signal: number; } export declare const defaultInputs: KDJInputs; 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 KDJ: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: KDJInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=kdj.d.ts.map