/** * Scalping Line Indicator * * Non-overlay oscillator: ScalpLine = SMA(close, signalPeriod) - ssMA * where ssMA is a double-smoothed SMA clamped to close when price moves beyond percent band. * Fill between ScalpLine and zero: green when >= 0, red when < 0. * * Reference: TradingView "Scalping Line Indicator" by KivancOzbilgic */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface ScalpingLineInputs { src: SourceType; percent: number; mainPeriod: number; signalPeriod: number; } export declare const defaultInputs: ScalpingLineInputs; 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 ScalpingLine: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: ScalpingLineInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=scalping-line.d.ts.map