var change(int n)
{
return scale((priceClose(0) - priceClose(n))/priceClose(0),100)/100;
}

var range(int n)
{
return scale((HH(n) - LL(n))/priceClose(0),100)/100;
}

above are the user defined function, these two came with the NN sample of Zorro manual, you can find the whole thing on zorro.

and that Close on line 110 is defined on line 74 of the first image.


to reiterate original question:
How Do I add additional parameters to adviseLong or adviseShort function?