/** * HeikinAshiChart - chandeliers Heikin-Ashi (finance lissée). * Mêmes données OHLC que CandlestickChart, mais valeurs RECALCULÉES en Heikin-Ashi : * haClose = (open + high + low + close) / 4 * haOpen = 1re bougie : (open + close) / 2 ; sinon (haOpen_prev + haClose_prev) / 2 * haHigh = max(high, haOpen, haClose) * haLow = min(low, haOpen, haClose) * Couleur hausse (haClose ≥ haOpen) / baisse via les mêmes tokens que Candlestick. * API canonique (référence Svelte, React/Vue doivent s'aligner) * * Props obligatoires : * data HeikinAshiChartDatum[] - tableau {label, open, high, low, close} * label string * * Props optionnelles : * width number (défaut 480) * height number (défaut 240) * class string */ export type HeikinAshiChartDatum = { label: string; open: number; high: number; low: number; close: number; }; type HeikinAshiChartProps = { data: HeikinAshiChartDatum[]; label: string; width?: number; height?: number; class?: string; }; declare const HeikinAshiChart: import("svelte").Component; type HeikinAshiChart = ReturnType; export default HeikinAshiChart; //# sourceMappingURL=HeikinAshiChart.svelte.d.ts.map