Download MetaTrader 5

Problems with back test on tick

To add comments, please log in or register
Stephen Reynolds
4410
Stephen Reynolds  

Hi, with the code i send as attatchment im happy with except i dont know why it tests too slow when tested on tick test.

Im thinking it might be because ive laid out everything within the OnTick event handler and so is overworking the CPU in my PC.

 Should i look to code this using more made up functions instead?

whroeder1
15582
whroeder1  
Don't do per tick that which can be done per bar or once in init.
To add comments, please log in or register