Documentation menu

Class

Indicator

An indicator attached with FerroChart.addIndicator.

Methods

bands

bands(): number[];

Ids of the bands the indicator fills between its outputs (BOLL, Keltner, Ichimoku); change them with FerroChart.setBandOptions.

outputs

outputs(): Series[];

The output series, e.g. MACD's macd, signal and histogram (style them with applyOptions).

remove

remove(): void;

Removes the indicator, its outputs and the pane it created.

Like every object of the API, a Indicator holds WebAssembly memory. Objects returned by the chart are freed with it; free() (or using) releases one earlier.