/** * Custom Donchian Channels * * Donchian channels with midline. Upper = highest high, Lower = lowest low, * Mid = (upper + lower) / 2. * * Reference: TradingView "Custom Donchian Channels" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface DonchianCustomInputs { upperLen: number; lowerLen: number; } export declare const defaultInputs: DonchianCustomInputs; 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 DonchianCustom: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: DonchianCustomInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=donchian-custom.d.ts.map