/** * Bollinger Bands %B Indicator * * Shows where price is relative to the Bollinger Bands. * %B = (Price - Lower Band) / (Upper Band - Lower Band) * Values above 1 = price above upper band, below 0 = price below lower band */ import { type IndicatorResult, type InputConfig, type PlotConfig, type HLineConfig, type FillConfig, type Bar, type SourceType } from 'oakscriptjs'; export interface BBPercentBInputs { /** Period length */ length: number; /** Price source */ src: SourceType; /** Standard deviation multiplier */ mult: number; } export declare const defaultInputs: BBPercentBInputs; export declare const inputConfig: InputConfig[]; export declare const plotConfig: PlotConfig[]; export declare const hlineConfig: HLineConfig[]; export declare const fillConfig: FillConfig[]; export declare const metadata: { title: string; shortTitle: string; overlay: boolean; }; export declare function calculate(bars: Bar[], inputs?: Partial): IndicatorResult; export declare const BBPercentB: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: BBPercentBInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; hlineConfig: HLineConfig[]; fillConfig: FillConfig[]; }; //# sourceMappingURL=bb-percent-b.d.ts.map