I should also mention that prior to this, the optimization uses all of the CPU and then after memory fills up, the CPU usage goes way down. From time to time, the Memory usage will drop a bit which I assume is garbage collection. But the memory hovers at max and the iterations slow way down at this point and take a lot longer to complete. With now way to combine iteration results, it can be difficult to get a picture of how the strategy operates.
Workarounds include reducing timeframe covered, higher timeframes for the strategy itself, setting the parameter for https://ninjatrader.com/support/help...niteration.htm
I was having some errors when I set that to false before. I will try to clear my variables better.
I assume others have these same issues. Barring a major overhaul of how the optimizations work, are there other things I am missing?
My code is pretty clean that does not call functions unless needed. Thanks in advance y'all. I did some searches and didn't come up with much which surprised me and made me wonder if I didn't do the search right.
Comment