/** * Volume-Supported Linear Regression Trend (VSLRT) * * Pine: overlay=false, 2 plots: * 1) Short-term linreg slope * len1 as columns with 6-level conditional coloring * 2) Long-term linreg slope * len2 as line (linewidth=3) with 6-level conditional coloring * * Coloring logic uses buy/sell volume regression slopes to determine color intensity. * * Reference: TradingView "Volume-Supported Linear Regression Trend" by LonesomeTheBlue */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface VolumeLinRegTrendInputs { src: SourceType; len1: number; len2: number; } export declare const defaultInputs: VolumeLinRegTrendInputs; 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 VolumeLinRegTrend: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: VolumeLinRegTrendInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=volume-linreg-trend.d.ts.map