/** * UT Bot Alerts * * ATR-based trailing stop that flips direction with price. * Trailing stop = price ± (key * ATR). Ratchets in trend direction only. * * Reference: TradingView "UT Bot Alerts" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, BarColorData } from '../types'; export interface UTBotInputs { keyValue: number; atrPeriod: number; } export declare const defaultInputs: UTBotInputs; 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[]; barColors: BarColorData[]; }; export declare const UTBot: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: UTBotInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=ut-bot.d.ts.map