Skip to content

charton API


charton API / @chart-on/core / index / heikinAshi

Function: heikinAshi() ​

heikinAshi(bars): Bar[]

Defined in: packages/core/src/series.ts:2235

Heikin-Ashi transform of bars: each bar averaged with the transformed bar before it, smoothing out noise. Returns new bars and leaves the input unchanged.

Parameters ​

bars ​

readonly Bar[]

Returns ​

Bar[]