/** * Bjorgum TSI * * True Strength Index with signal line, fill, and OB/OS detection. * TSI = 100 * EMA(EMA(momentum, longLen), shortLen) / EMA(EMA(abs(momentum), longLen), shortLen) * Signal = EMA(TSI, signalLen) * Fast/Slow speed presets. Bar histogram for TSI-signal spread. * * Reference: TradingView "Bjorgum TSI" community indicator */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface BjorgumTSIInputs { speedInput: string; obValue: number; osValue: number; showLines: boolean; showMid: boolean; longfLen: number; shortfLen: number; signalfLen: number; longsLen: number; shortsLen: number; signalsLen: number; } export declare const defaultInputs: BjorgumTSIInputs; 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 BjorgumTSI: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: BjorgumTSIInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=bjorgum-tsi.d.ts.map