/** * Stochastic OTT * * Optimized Trend Tracker applied to Stochastic oscillator. * Smooths raw Stochastic %K with VAR (CMO-based adaptive MA), * then applies OTT trailing stop logic to the smoothed value. * * Reference: TradingView "Stochastic Optimized Trend Tracker" by KivancOzbilgic */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface StochasticOTTInputs { kLen: number; kSmooth: number; ottPeriod: number; ottPct: number; showSupport: boolean; } export declare const defaultInputs: StochasticOTTInputs; 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[]; }; export declare const StochasticOTT: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: StochasticOTTInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=stochastic-ott.d.ts.map