/** * Moving Average Shift * * MA with configurable offset (shifted forward or backward in time). * * Reference: TradingView "Moving Average Shift" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface MAShiftInputs { length: number; maType: string; offset: number; src: SourceType; } export declare const defaultInputs: MAShiftInputs; 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 MAShift: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MAShiftInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=ma-shift.d.ts.map