/** * Zero Lag MACD Enhanced * * MACD calculated from Zero-Lag EMAs instead of standard EMAs. * Zero-Lag EMA = 2*EMA - EMA(EMA) (removes one period of lag). * Signal line also zero-lag smoothed. Histogram = MACD - signal. * * Reference: TradingView "Zero Lag MACD Enhanced - Version 1.2" by AC (based on Glaz) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface ZeroLagMACDInputs { fastLength: number; slowLength: number; signalLength: number; macdEmaLength: number; showDots: boolean; } export declare const defaultInputs: ZeroLagMACDInputs; 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 ZeroLagMACD: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: ZeroLagMACDInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=zero-lag-macd.d.ts.map