/** * UCS Top & Bottom Candle * * Panel indicator (overlay=false) with: * - Momentum histogram (plot.style_columns, yellow) * - SMI line (blue) * - SMI Signal line (red) * - 3 hlines: 40 (overbought/red), -40 (oversold/green), 0 (zero/blue) * - Fills between hlines: H0-H2 green (oversold zone), H0-H1 red (overbought zone) * - barcolor: lime when SMI < -35 and mom crosses above 0, red when SMI > 35 and mom crosses below 0 * * Reference: TradingView "UCS_Top & Bottom Candle" (community) */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, BarColorData } from '../types'; export interface TopBottomCandleInputs { percentKLength: number; percentDLength: number; } export declare const defaultInputs: TopBottomCandleInputs; 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[]; barColors: BarColorData[]; }; export declare const TopBottomCandle: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: TopBottomCandleInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=top-bottom-candle.d.ts.map