/** * Directional Movement Index + ADX & Key Levels * * DMI with ADX and key levels at 20 and 25. * Standard Wilder's smoothing for +DI, -DI, ADX. * * Reference: TradingView "Directional Movement Index + ADX & Key Levels" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, BarColorData } from '../types'; export interface DMIADXInputs { adxLen: number; keyLevel: number; } export declare const defaultInputs: DMIADXInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: { value: number; options: { color: string; linestyle: "dashed"; title: string; }; }[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult & { markers: MarkerData[]; barColors: BarColorData[]; }; export declare const DMIADX: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: DMIADXInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=dmi-adx-levels.d.ts.map