Supertrend is an indicator designed to follow trends and spot buy and sell signals. It is plotted on top of the price chart.
Disposes the indicator.
Gets the indicator name.
The indicator name.
Sets whether the area between the Supertrend and the price values should be colored.
Set true to enable coloring.
Sets the width of the Supertrend line.
New line width.
Sets the color of the Supertrend when it is below the price values.
New line color as string, should be in HEX format e.g. #FFFFFF.
Sets the multiplier for the Average True Range used in Supertrend calculations.
New multiplier value.
Sets the name of the indicator.
New indicator name.
Moves the indicator from its calculated position forward or backward.
New offset value.
Sets the number of time periods (n) used to calculate the indicator.
New period count.
Sets the color of the Supertrend when it is above the price values.
Sets the type of the indicator's value label(s).
Value label type.
Sets the visibility of the indicator. Hiding the indicator via setVisible(false) does not remove it. Use dispose() to delete any indicator.
Visibility of the indicator.
Supertrend is an indicator designed to follow trends and spot buy and sell signals. It is plotted on top of the price chart.