onInit()

The method in which the properties for the created objects are set via mScript.addBuffer

Description

It is launched for the first time when the indicator is placed on the chart.
After that, the method is launched every time the properties are changed through the settings window.

Example

onInit() {
     // method body
}