Ok, PRT does not operate on arrays. I think that means what I am attempting to accomplish is not possible yet.
Also, when have I not put parameters within brackets?
Am I limited in what I can set customclose to? I believe so. If so, this does not work for my purposes.
For example, if I want to use (close * 2.7) then yes your function works great! But if I want to later use (open / 1.3) or the squareroot(open * close) then I would need to write a custom function for each math operator.
Ideally, we just create one function, create the values (array) we want to pass in and function call never changes only the array. In other words, I do not want to hard code the multiplication into a multiplication function. Then also create a division function, etc. But if this is the only way then just tell me and I can survive.
Also, changing code at runtime is not my concern. I thought we already covered that above.