Download MetaTrader 5
To add comments, please log in or register
Deposit to your account via Visa QIWI Wallet
sji_sji
15
sji_sji 2016.08.13 16:46 
First post here - so my apologies if this has been covered.
Is it possible to back-test an mql4 script on previous period of time? Is there a way to configure a server to use old chart info? I'm building a algorithm that moves on major news and executing at the right pace is very important. I'd like to back test it on previous news events. Any help would be appreciated!
peter.MT4Web
158
peter.MT4Web 2016.08.13 17:52  

That's the nature of a "back-test".

You test your expert advisor on past data to check if it's acting as you want. But if you have developed a script, make an expert advisor out of it.

Fernando Carreiro
2204
Fernando Carreiro 2016.08.13 21:52  
sji_sji: Is it possible to back-test an mql4 script on previous period of time? Is there a way to configure a server to use old chart info? I'm building a algorithm that moves on major news and executing at the right pace is very important. I'd like to back test it on previous news events. Any help would be appreciated!

In MetaTrader 4, that is done in the "Strategy Tester". As with any application, it is best to read the documentation first before considering such basic queries.

Keith Watford
Moderator
9465
Keith Watford 2016.08.14 00:10  
sji_sji:
  I'd like to back test it on previous news events. Any help would be appreciated!
There is no slippage in the strategy tester so slippage that you may experience around news times on a real time chart will not happen in the tester. This can give misleading results.
whroeder1
14206
whroeder1 2016.08.15 11:52  
And there is no tick history, only simulated from M1 OHLCV. Therefor movement during news will not be accurate.
/
To add comments, please log in or register