Custom Overlay is an indicator not based on existing price values. Instead, it uses user-given values. Use setData() -method for the indicator to add the data values. Custom Overlay is drawn as a line on the price chart.
Adds new data values at the end of the existing values.
Data values to add.
Disposes the indicator.
Gets the indicator name.
The indicator name.
Sets new data values for the Custom Overlay. Replaces existing data.
New data values for the indicator.
Sets the line color of the indicator.
New line color as string, should be in HEX format e.g. #FFFFFF.
Sets the line width of the indicator.
New line width.
Sets the name of the indicator.
New indicator name.
Moves the indicator from its calculated position forward or backward.
New offset value.
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.
Custom Overlay is an indicator not based on existing price values. Instead, it uses user-given values. Use setData() -method for the indicator to add the data values. Custom Overlay is drawn as a line on the price chart.