/** * Coppock Curve Indicator * * Long-term momentum indicator calculated as a weighted moving average * of the sum of two rate of change periods. * Coppock = WMA(ROC(long) + ROC(short), wmaLength) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; export interface CoppockCurveInputs { /** WMA smoothing length */ wmaLength: number; /** Long ROC period */ longRocLength: number; /** Short ROC period */ shortRocLength: number; } export declare const defaultInputs: CoppockCurveInputs; 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 CoppockCurve: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: CoppockCurveInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=coppock-curve.d.ts.map