/** * Aroon Indicator * * Identifies trend strength and potential reversals by measuring * how long since the highest high and lowest low within the period. * Aroon Up = 100 * (length - bars since highest high) / length * Aroon Down = 100 * (length - bars since lowest low) / length */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface AroonInputs { /** Period length */ length: number; } export declare const defaultInputs: AroonInputs; 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 Aroon: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: AroonInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=aroon.d.ts.map