Debugging of Expert Advisors

 

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

 
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 :(

 
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.

Reason: