/** * Smoothed Moving Average (RMA/SMMA) Indicator * * Hand-optimized implementation using oakscriptjs. * Also known as Wilder's Smoothing or SMMA. Uses exponential smoothing with alpha = 1/length. * First value is SMA, subsequent values use: (prev * (len - 1) + src) / len */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface RMAInputs { len: number; src: SourceType; } export declare const defaultInputs: RMAInputs; 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 RMA: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: RMAInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=rma.d.ts.map