/** * MOST on RSI * * OTT-style trailing stop applied to RSI instead of price. * Includes RSI, RSI-based MA, MOST line, divergence detection, * divergence markers/lines, OB/OS gradient fills, and optional BB bands. * * Reference: TradingView "MOST on RSI" (TV#452) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, LineDrawingData } from '../types'; export interface MOSTRSIInputs { rsiLen: number; percent: number; maLen: number; bbMult: number; showBB: boolean; showDivergence: boolean; showSignals: boolean; } export declare const defaultInputs: MOSTRSIInputs; 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 & { markers: MarkerData[]; lines: LineDrawingData[]; }; export declare const MOSTRSI: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MOSTRSIInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=most-rsi.d.ts.map