/** * DARVAS BOX * * Darvas Box trading method. Tracks N-bar highs to define box tops, * with box bottom as the lowest low during the lookback. * Box persists until price breaks above top or below bottom. * * Reference: TradingView "DARVAS BOX" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface DarvasBoxInputs { boxLength: number; } export declare const defaultInputs: DarvasBoxInputs; 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 DarvasBox: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: DarvasBoxInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=darvas-box.d.ts.map