/** * Choppiness Index Indicator * * Measures market choppiness vs trending. * High values (>61.8) indicate choppy/ranging markets. * Low values (<38.2) indicate trending markets. * CI = 100 * log10(sum(ATR, n) / (highest - lowest)) / log10(n) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type FillConfig, type Bar } from 'oakscriptjs'; export interface ChoppinessInputs { /** Period length */ length: number; } export declare const defaultInputs: ChoppinessInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const fillConfig: FillConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const Choppiness: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: ChoppinessInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; fillConfig: FillConfig[]; }; //# sourceMappingURL=choppiness.d.ts.map