This callback functions gets called whenever study is being destroyed.
destroy();
The following example demonstrates the use of getParameter.
function init()
{
//add parameter
this.addParameter("Period", 10);
}
function destroy()
{
//cleanup any values
}
function calculate(beginIndex, endIndex)
{
var period = parseInt(this.getParameter("Period"));
}
Copyright © 2006-2009 ActiveTick LLC