/** * MACDAS (MACD Average Signal) * * Computes MACD-AS = MACD - Signal, then its own EMA (signalAS). * This is a "second derivative" of MACD, showing momentum of the MACD histogram. * Plots macdAS (blue) and signalAS (red) plus zero line. * * Reference: TradingView "MACDAS" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface MACDASInputs { fastperiod: number; slowperiod: number; signalperiod: number; src: SourceType; } export declare const defaultInputs: MACDASInputs; 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 MACDAS: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MACDASInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=macdas.d.ts.map