/** * Double Exponential Moving Average (DEMA) Indicator * * Hand-optimized implementation using oakscriptjs. * Reduces lag by applying EMA twice: DEMA = 2*EMA - EMA(EMA) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface DEMAInputs { length: number; src: SourceType; offset: number; } export declare const defaultInputs: DEMAInputs; 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 DEMA: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: DEMAInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=dema.d.ts.map