kestrel-chartkitv0.43.0

← All examples

heikin_ashi

Heikin-Ashi candles: averaged open, high, low and close derived from observed bars

heikin_ashi

examples/site_showcase.rs
// Heikin-Ashi candles: averaged open, high, low and close derived from observed bars
let mut transform = build_transform_checked("heikin_ashi", &HashMap::new())?;

for bar in &bars {
    let candle = transform.update(bar);
}

Not yet verified: no independent second implementation yet.

It derives a candle from each bar instead of a value, so it has no pane of its own; it is not drawn here.

  • Other input kinds
  • unit: Price