It would be useful to be able to identify the ranges for optimization variables in order to control decisions made in AFL during backtests.
For example, if x = optimize(“Allocation_1”,5,5,100,5), it would be useful to be able in AFL to identify that the lowest value for x is 5 and the highest value is 100.
I’ve been unable to find any way to do this in AmiBroker Help or this forum.
Yes, that will work, but I was hoping for something a bit more direct and elegant so that I wouldn’t have to set up two new variables for every optimization variable.
Maybe functions like optvar(x,“low”) and optvar(x,“high”).