/** * Moving Average Convergence Divergence (MACD) Indicator * * Hand-optimized implementation using oakscriptjs. * Trend-following momentum indicator showing relationship between two EMAs. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface MACDInputs { fastLength: number; slowLength: number; signalLength: number; src: SourceType; } export declare const defaultInputs: MACDInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const MACD: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MACDInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; }; //# sourceMappingURL=macd.d.ts.map