anyone can help me to find which line of code is causing ZeroDivideError? MQL message is not with enough details. - page 2

 
Emanuel Cavalcante Amorim Filho #:


Glad you found it. I had a similar problem once (another error) and it took me a while to understand that the visual mode differs from the non-visual mode. For anyone with a similar issue, just insert lots of Print calls in your indicator code and try to figure out where the error is, since there isn't really an optimal way to debug it in this case.

Thanks @Emanuel Cavalcante Amorim Filho

 
Anil Varma #:

Hi @Michael Charles Schefe

No the indicator does not used any resource files.

Yes it used include files, which I am sure is not treated as 'resource'.

a resource file must be included with #resource key word

sorry -- include, not resource.

my comment was directed at the responder, not you.