When I try to Optimize a strategy that contains calls to AddChartIndicator() the Strategy quickly consumes all the memory available on my PC (32GB!!). The Optimization process also gets slower and slower. It becomes completely unresponsive eventually and the only option is a force quit.
I'm talking about a regular Optimization with tens-of-thousands of iterations.
By removing the calls to AddChartIndicator() the situation resolves itself. However, this unfortunately means that the "Chart" view on the strategy Analyzer isn't very useful.
Comment