/** * BBTrend Indicator * * Uses the difference between short and long Bollinger Bands * to identify trend direction and strength. */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type Bar } from 'oakscriptjs'; export interface BBTrendInputs { /** Short Bollinger Band length */ shortLength: number; /** Long Bollinger Band length */ longLength: number; /** Standard deviation multiplier */ stdDev: number; } export declare const defaultInputs: BBTrendInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const BBTrend: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: BBTrendInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; }; //# sourceMappingURL=bbtrend.d.ts.map