/** * Bollinger Bands Stochastic RSI Extreme Signal * * Overlay=true: Bollinger Bands on price (basis/upper/lower with fill), * plus bull/bear triangle markers based on StochRSI extreme conditions. * * Bull: close[1] < lower[1] and close > lower and K[1] < lowerlimit and D[1] < lowerlimit * Bear: close[1] > upper[1] and close < upper and K[1] > upperlimit and D[1] > upperlimit * * Reference: TradingView "Bollinger Bands Stochastic RSI Extreme Signal" */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar, type SourceType } from 'oakscriptjs'; import type { MarkerData } from '../types'; export interface BBStochRSIInputs { src: SourceType; bbLength: number; bbMult: number; kSmooth: number; dSmooth: number; rsiLen: number; stochLen: number; upperLimit: number; lowerLimit: number; } export declare const defaultInputs: BBStochRSIInputs; 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 & { markers: MarkerData[]; }; export declare const BBStochRSI: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: BBStochRSIInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=bb-stoch-rsi.d.ts.map