/** * AK MACD BB Indicator * * MACD histogram enclosed by Bollinger Bands. * BB applied to MACD histogram for overbought/oversold detection. * * Reference: TradingView "AK MACD BB INDICATOR" by Algokid */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { BarColorData } from '../types'; export interface MACDBBInputs { fastLength: number; slowLength: number; signalLength: number; bbLength: number; bbMult: number; src: SourceType; } export declare const defaultInputs: MACDBBInputs; 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 & { barColors: BarColorData[]; }; export declare const MACDBB: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: MACDBBInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=macd-bb.d.ts.map