- MetaEditor - Professional editor of trading applications
- MQL5 Wizard: Development of trading robots for MetaTrader 5
- When MetaTrader 5 Web Terminal is indispensable
I do not understand how the debugger works. I am using the 'comment' command to display variable values in the top left corner of strategy tester, but sometimes I cannot tell what section of my code is changing those variables. I have tried using the debugger but I do not know how to advance the code to a certain point in time. I would think there would be a way to do that like you can by clicking the 'skip to' button on strategy tester
I was testing historical data when I found my bug. I added the following line of code so that I could create a breakpoint at the time of the candle where I noticed the bug. I also added a watch on the variable I wanted to observe. When the break point was hit, the time was today 2013.05.07. How do I use the debugger so that I can review my variables at the specific candle that is causing me issues.
if (TimeCurrent() > "2001.02.01 22:00") { printf ("break"); }
I was testing historical data when I found my bug. I added the following line of code so that I could create a breakpoint at the time of the candle where I noticed the bug. I also added a watch on the variable I wanted to observe. When the break point was hit, the time was today 2013.05.07. How do I use the debugger so that I can review my variables at the specific candle that is causing me issues.
- www.mql5.com
The debugger doesn't work with Strategy Tester. Maybe later. You can ask directly to Metaquotes (write to ServiceDesk).
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use