/** * SMI Ergodic Indicator * * A momentum oscillator based on True Strength Index. * SMI = EMA(EMA(pc, longLen), shortLen) / EMA(EMA(|pc|, longLen), shortLen) * Signal = EMA(SMI, signalLen) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface SMIErgodicInputs { /** Long period */ longLength: number; /** Short period */ shortLength: number; /** Signal period */ signalLength: number; } export declare const defaultInputs: SMIErgodicInputs; 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 SMIErgodic: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: SMIErgodicInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=smi-ergodic.d.ts.map