/** * MACD DEMA * * MACD using Double Exponential Moving Average instead of EMA. * DEMA(n) = 2*EMA(n) - EMA(EMA(n), n). * * Reference: TradingView "MACD DEMA" community indicator */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface MACDDEMAInputs { fastLength: number; slowLength: number; signalLength: number; src: SourceType; } export declare const defaultInputs: MACDDEMAInputs; 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 MACDDEMA: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MACDDEMAInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=macd-dema.d.ts.map