What is the aspects that makes an agent fast or slow?

 

Hi,

I was wondering what makes a simulation/optimization fast or slow? I have 8 local agents with this hardware: i7-4700HQ @ 2.40 GHz, 16267MB. I also have installed MT5 in the HDD, because it was consuming like all the space in the SSD. Which aspects are the most important?

Should I use an external SSD? Does it matters if I have the data storaged in a HDD and the agents installed in a SSD?


How I can run MT5 in my SSD and use the HDD just to store data of ticks and that stuff?


Thanks in advance!

 
Best performance gain can be had with optimized code. Fast hardware helps, but bad code hogs any hardware.
 

Yes, I am aware that the performance via optimized code its very important, but how much time should a slow optimization that has around 800.000 take? Considering that the code has like 320 lines, nothing very complex. 


And how can I optimize a code? What should I pay attention?

Reason: