onUpdate()

Method containing the main code of the indicator script mScript.addBuffer

Description

Runs every time the bar is updated.

Example

async onUpdate() {
     // method body
}