/** * Least Squares Moving Average (LSMA) Indicator * * Hand-optimized implementation using oakscriptjs. * Uses linear regression to fit a line through recent prices. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface LSMAInputs { length: number; src: SourceType; offset: number; } export declare const defaultInputs: LSMAInputs; 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 LSMA: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: LSMAInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=lsma.d.ts.map