/** * CCT Bollinger Band Oscillator * * Normalizes price position within Bollinger Bands to 0-100 scale. * cctbbo = 100 * (src + 2*stdev - sma) / (4 * stdev) * * Reference: TradingView "CCT Bollinger Band Oscillator" by LazyBear */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface CCTBBOInputs { length: number; lengthMA: number; src: SourceType; } export declare const defaultInputs: CCTBBOInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const fillConfig: { id: string; plot1: string; plot2: string; color: string; }[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const CCTBBO: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: CCTBBOInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; fillConfig: { id: string; plot1: string; plot2: string; color: string; }[]; }; //# sourceMappingURL=cct-bbo.d.ts.map