/** * Renko Chart * * Renko brick overlay indicator with ATR-based or fixed box sizing. * Tracks brick open/close levels and generates trend direction. * Includes a breakout detection system and an EMA-based trend filter * with configurable reversal thresholds. * * Reference: TradingView "Renko Chart" by LonesomeTheBlue */ import { type IndicatorResult, type InputConfig, type PlotConfig, type Bar } from 'oakscriptjs'; import type { MarkerData, BarColorData } from '../types'; export interface RenkoChartInputs { mode: 'ATR' | 'Traditional'; atrPeriod: number; boxSize: number; source: 'close' | 'hl'; showBreakout: boolean; breakoutLength: number; showTrend: boolean; trendEmaLength: number; barcountWhip: number; trendThreshold: number; trendThresholdReversal: number; changeBarCol: boolean; } export declare const defaultInputs: RenkoChartInputs; 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 RenkoChart: { calculate: typeof calculate; metadata: { title: string; shortTitle: string; overlay: boolean; }; defaultInputs: RenkoChartInputs; inputConfig: InputConfig[]; plotConfig: PlotConfig[]; }; //# sourceMappingURL=renko-chart.d.ts.map