Skip to content

charton API


charton API / @chart-on/ta / Supertrend

Interface: Supertrend ​

Defined in: trend.ts:120

Output of supertrend: the line and the trend direction.

Properties ​

direction ​

direction: Float64Array

Defined in: trend.ts:124

1 in an uptrend, -1 in a downtrend.


line ​

line: Float64Array

Defined in: trend.ts:122

The trailing stop: the lower band in an uptrend, the upper band in a downtrend.