Skip to content

Function: addHeikinAshi()

ts
function addHeikinAshi(plot, opts): CandlestickLayer;

Defined in: finance/charts.ts:32

Heikin-Ashi candles: smooth the OHLC, then draw it as a candlestick layer.

Parameters

ParameterType
plotPlot
optsHeikinAshiOptions

Returns

CandlestickLayer

MIT licensed. WebGL2 required.