addLevel()

Sets the value of the specified horizontal level of the indicator displayed in a separate window.
addLevel(value:float)

Parameters

Name Type Действие Значение по умолчанию
value float Value for the given indicator level.

Description

Used in the constructor.

Example

// Add a level with a value of 0 
this.addLevel(0);
// Add a level with a value of 100 
this.addLevel(100);