@amit-kehat said in Strategy optimization never finishes:

Does someone maybe know how to resolve this issue?

I just ran this using daily data and it's fine. You may wish to add in timeframe and compression. Also, there are no outputs in your code. Perhaps this is why you are not seeing anything?

timeframe (default: TimeFrame.Days) Potential values: Ticks, Seconds, Minutes, Days, Weeks, Months and Years compression (default: 1) Number of actual bars per bar. Informative. Only effective in Data Resampling/Replaying.