why backtesting speed on some EAS is too slow

 

hello

some pro coders please reply me.

why on some EAs backtesting speed is too fast and on another ones it is too slow?

and how to speed up backtesting speed on slower ones?

thank you previously

 

Because of the calculation/coding complexity.

 
Seyedmajid Masharian:

hello

some pro coders please reply me.

why on some EAs backtesting speed is too fast and on another ones it is too slow?

and how to speed up backtesting speed on slower ones?

thank you previously

Hi,

if it takes too long, you can first backtest or optimize it with open bars, which will make it faster.

Then you filter the best results and fine tune it with higher tick accuracy.

There is a good video on youtube that explains it:

https://www.youtube.com/watch?v=GMjhNzFFexY&t=476s

 
Andreas Bauer:

Hi,

if it takes too long, you can first backtest or optimize it with open bars, which will make it faster.

Then you filter the best results and fine tune it with higher tick accuracy.

There is a good video on youtube that explains it:

https://www.youtube.com/watch?v=GMjhNzFFexY&t=476s

do you mean its speed is up to coding type based on open price or close price or any other type such these?

can you explain more ?

is there a way to change that code by a programmer to speed that up?

 
Marco vd Heijden:

Because of the calculation/coding complexity.

how to speed up that?

 
Get a faster computer.
 
Seyedmajid Masharian: how to speed up that?
Don't do per tick what you can do per bar or per order.
          How to get backtesting faster ? - MT4 - MQL4 and MetaTrader 4 - MQL4 programming forum
 
The cause is low quality coding and lack of optimization. Testing is blazing fast with properly written code.
 
rickels.a:
The cause is low quality coding and lack of optimization. Testing is blazing fast with properly written code.

i dont know anything about coding i am a pro trader but dont know anything about coding.

how can i know if a programmer coded my EA properly ?

 
Seyedmajid Masharian: how can i know if a programmer coded my EA properly ?

Run it in the tester, and see if it does what you want it to do.