Download MetaTrader 5

Debugging of Expert Advisors

To add comments, please log in or register
Sign up to publish an article and receive 200 USD
rgereal
19
rgereal 2012.12.12 22:02 

Hi Community,

I am working on my first MT5 EA and was wondering if it is possible to debug an EA not only with live data (which works fine btw) but also with historical data when using the Strategy Tester?

Cheers,
Wolfgang

phi nuts
2184
phi nuts 2012.12.13 08:06  
rgereal:

Hi Community,

I am working on my first MT5 EA and was wondering if it is possible to debug an EA not only with live data (which works fine btw) but also with historical data when using the Strategy Tester?

Cheers,
Wolfgang

AFAIK only this : add Print() everywhere and run the EA on Tester. Read the log ;)

Prepare for huge GB of logs though :(

rgereal
19
rgereal 2012.12.13 17:01  
phi.nuts:

AFAIK only this : add Print() everywhere and run the EA on Tester. Read the log ;)

Prepare for huge GB of logs though :(

Thanks,

So it will be poors-man-debugging for backtesting. That's fine. I'm happy that you can debug live runs. That's a huge time saver compared to MT4 anyway.

To add comments, please log in or register