how to increase backtester speed?

 
i have found it very slowly in backtest my EA.Do anyone know how to increase it?
 
11833168:
i have found it very slowly in backtest my EA.Do anyone know how to increase it?

As I know,higher RAM will be faster.or select Model "Open Price Only'

 

Use early stopping using ExpertRemove() if you meet a certain condition like too low equity or drawdown etc. Split your code into sections which need OnTick processing and functions which can run less frequent, like once a minute. Use a powerful multicore server for backtesting or rent one online (OVH, Hetzner etc).

 
avoid using functions as Comment or printf during testing. You can use a parameter to use them or not, maybe a bool parameter ShowComments for example and set it to false if testing . It helped to me.