Skip to content

Documentation / @finchart/indicators / attachSuperTrend

Function: attachSuperTrend() ​

attachSuperTrend(options): Plugin<SeriesHost, IndicatorApi<SuperTrend>>

Defined in: indicators/src/plugins.ts:1981

Mounts SuperTrend on that pane — the two branches, the uptrend support (up) and downtrend resistance (down), are each null over the other's regime, so two differently colored lines alternate. The default colors are the up/down palette — direction is the whole meaning of this indicator.

Parameters ​

options ​

AttachSuperTrendOptions

Returns ​

Plugin<SeriesHost, IndicatorApi<SuperTrend>>