/** * Stochastic Oscillator Indicator * * Hand-optimized implementation using oakscriptjs. * Compares closing price to its price range over a given period. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type FillConfig, type Bar } from 'oakscriptjs'; export interface StochasticInputs { periodK: number; smoothK: number; periodD: number; } export declare const defaultInputs: StochasticInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const fillConfig: FillConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const Stochastic: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: StochasticInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; fillConfig: FillConfig[]; }; //# sourceMappingURL=stoch.d.ts.map