@rekurt/openkline - v0.2.0
    Preparing search index...

    Class HeikinAshiRenderer

    Renders the visible window as Heikin-Ashi candles.

    Heikin-Ashi is stateful — HA.open depends on the previous HA candle — so computing it only over the visible slice would produce a wrong open at the left edge. We seed the computation with a warmup lead-in of WARMUP candles before start; the seeding bias decays within a few bars, so the visible range is visually correct.

    The transformed values are packed into a synthetic CandleView (offset = start) and handed to the standard CandleRenderer, so HA shares all the candle drawing logic (pixel snapping, two-pass bull/bear fill, min body height).

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    WARMUP: 50 = HEIKIN_ASHI_WARMUP

    Methods