/** * True Strength Index (TSI) Indicator * * A momentum oscillator that uses double-smoothed price changes. * TSI = 100 * (double_smooth(pc) / double_smooth(|pc|)) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type Bar } from 'oakscriptjs'; export interface TSIInputs { /** Long EMA period */ longLength: number; /** Short EMA period */ shortLength: number; /** Signal line period */ signalLength: number; } export declare const defaultInputs: TSIInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const TSI: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: TSIInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; }; //# sourceMappingURL=tsi.d.ts.map