You are here: Custom Study Programming > Reference > Callback Functions > Overview

Overview

Callback functions are used for handling calls from ActiveTick to JavaScript implementation of various functions.

Function Table
calculate(beginIndex, endIndex) This is the main callback function where all calculations for the custom study are performed and its results are updated.
destroy() This callback functions gets called whenever study is being destroyed.
init() This is the callback function in which custom study sets up its configuration.
onParameterChange(parameterName, parameterValue) This callback function gets called whenever a user changes one of the previously added parameter values.

 


Copyright © 2006-2009 ActiveTick LLC