/** * Optimized Trend Tracker Oscillator (OTTO) * * Plots HOTT (High OTT) and LOTT (Low OTT) as non-overlay lines with fill. * HOTT = adjusted OTT trailing stop (lagged 2 bars), LOTT = VIDYA-ratio source. * Buy signal when LOTT crosses above HOTT, Sell when LOTT crosses below HOTT. * * Pine: overlay=false, two line plots + fill + buy/sell markers. * Supports 10 MA types: SMA, EMA, WMA, DEMA, TMA, VAR, WWMA, ZLEMA, TSF, HULL. * * Reference: TradingView "Optimized Trend Tracker Oscillator OTTO" by KivancOzbilgic */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface OTTOInputs { period: number; percent: number; fastVidyaLen: number; slowVidyaLen: number; correctingConst: number; src: SourceType; showSignals: boolean; highlighting: boolean; mav: string; } export declare const defaultInputs: OTTOInputs; 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 OTTO: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: OTTOInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=otto.d.ts.map