Download MetaTrader 5

[Solved] Unable to debug some indicators - is this because of legacy code?

To add comments, please log in or register
How to buy a product in MetaTrader AppStore? Read the article!
enjoysmath
64
enjoysmath 2015.07.21 17:26 

Hi,

 With some indicators that I have code for, when hitting "Debug / Play" in the MetaEditor, the terminal will bring up the input parameter dialog, I hit Ok and then nothing shows up in the chart (where as drag-n-dropping in terminal shows something), and the window focus moves back to MetaEditor quickly.

 Is this because the indicator is using start() instead of OnStart(...)?

 I require a good debugging environment to code with, please help me to get it working.

 Thanks.

Regards,

EM 

Ex Ovo Omnia
3156
Ex Ovo Omnia 2015.07.21 18:00  
enjoysmath:

Hi,

 With some indicators that I have code for, when hitting "Debug / Play" in the MetaEditor, the terminal will bring up the input parameter dialog, I hit Ok and then nothing shows up in the chart (where as drag-n-dropping in terminal shows something), and the window focus moves back to MetaEditor quickly.

 Is this because the indicator is using start() instead of OnStart(...)?

 I require a good debugging environment to code with, please help me to get it working.

 Thanks.

Regards,

EM 

I am afraid the debugger only works for #property strict set.
enjoysmath
64
enjoysmath 2015.07.21 18:05  
Ovo:
I am afraid the debugger only works for #property strict set.
Don't be a afraid!   That's great news!  At least we KNOW that ...  thx for help
To add comments, please log in or register