/** * MACD Leader [LazyBear] / Siligardos * * Enhanced MACD with a "Leader" line that reacts faster to price changes. * Leader = (EMA(fast) + EMA(src - EMA(fast), fast)) - (EMA(slow) + EMA(src - EMA(slow), slow)) * * Reference: TradingView "MACD Leader" by LazyBear */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface MACDLeaderInputs { fastLength: number; slowLength: number; signalLength: number; src: SourceType; } export declare const defaultInputs: MACDLeaderInputs; 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 MACDLeader: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MACDLeaderInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=macd-leader.d.ts.map