/** * Stoch VX3 * * Stochastic variant with 3 smoothing levels. * K = (close - lowest(low,len)) / (highest(high,len) - lowest(low,len)) * 100. * K2 = SMA(K, smooth1). K3 = SMA(K2, smooth2). Signal = SMA(K3, smooth3). * * Reference: TradingView "Stoch VX3" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface StochVX3Inputs { len: number; smooth1: number; smooth2: number; smooth3: number; } export declare const defaultInputs: StochVX3Inputs; 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 StochVX3: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: StochVX3Inputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=stoch-vx3.d.ts.map