/** * McGinley Dynamic Indicator * * Hand-optimized implementation using oakscriptjs. * An adaptive moving average that adjusts to market speed. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface McGinleyDynamicInputs { length: number; src: SourceType; } export declare const defaultInputs: McGinleyDynamicInputs; 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 McGinleyDynamic: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: McGinleyDynamicInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=mcginley-dynamic.d.ts.map