/** * OTT Bands * * OTT with upper and lower percentage bands. * Support line (MA) with upper band and lower band * derived from the OTT trailing stop percentage offsets. * Supports 8 MA types: SMA, EMA, WMA, TMA, VAR, WWMA, ZLEMA, TSF. * * Reference: TradingView "Optimized Trend Tracker Bands" by KivancOzbilgic */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface OTTBandsInputs { period: number; percent: number; upperCoeff: number; lowerCoeff: number; showFiboLines: boolean; showSupport: boolean; highlight: boolean; mav: string; src: SourceType; } export declare const defaultInputs: OTTBandsInputs; 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 OTTBands: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: OTTBandsInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=ott-bands.d.ts.map