/** * Turtle Trade Channels * * Classic Turtle Trading channel breakout system. * Entry channel: highest high / lowest low over entryLength bars. * Exit channel: highest high / lowest low over exitLength bars. * * Reference: TradingView "Turtle Trade Channels" by Richard Dennis / William Eckhardt */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface TurtleTradeChannelsInputs { entryLength: number; exitLength: number; } export declare const defaultInputs: TurtleTradeChannelsInputs; 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 TurtleTradeChannels: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: TurtleTradeChannelsInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=turtle-trade-channels.d.ts.map