/** * Smoothed Moving Average (SMMA) * * Also known as RMA or Wilder's Smoothing. * SMMA = (prev_smma * (length - 1) + src) / length */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface SMMAInputs { /** Period length */ length: number; } export declare const defaultInputs: SMMAInputs; 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 SMMA: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: SMMAInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=smma.d.ts.map