/** * Stochastic Momentum Index UCSgears Variant * * SMI variant with double EMA smoothing. * rel = close - (highest(high, kLen) + lowest(low, kLen)) / 2. * SMI = 100 * EMA(EMA(rel, dLen), smoothLen) / (EMA(EMA(range, dLen), smoothLen) / 2). * signal = EMA(smi, smoothLen). * * Reference: TradingView "Stochastic Momentum Index (SMI) UCSgears" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface SMIUCSInputs { kLen: number; dLen: number; smoothLen: number; } export declare const defaultInputs: SMIUCSInputs; 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 SMIUCS: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: SMIUCSInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=smi-ucs.d.ts.map