Forum

Trouble creating an object

So, as illustrated in the images, if I hard code in the values, the trendline will draw. But if I use functions that return identical values, nothing happens. No error message is thrown, which as I read means the create function went to the stack but didn't necessarily execute. No object appears in

Having Trouble automating optimizer with ParameterSetRange

I'm trying to automatically set a large number of input parameters using ParameterSetRange. I initialized all inputs in the EA code as I normally would for manual inputs. I added the OnTesterInit() and OnTesterDeinit() functions as follows: (refer to first image) When I run the optimizer, the log