Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MT4 crash when accidentally double click a s/r line #3

Open
Heart1010 opened this issue Apr 18, 2018 · 1 comment
Open

MT4 crash when accidentally double click a s/r line #3

Heart1010 opened this issue Apr 18, 2018 · 1 comment

Comments

@Heart1010
Copy link

When I accidentally double click a generated s/r line from your indicator then I see the properties window from this object. When this happen my mt4 totally crash ("Keine Rückmeldung"), I have to close the mt4 task manually.

@rosasurfer
Copy link

rosasurfer commented Nov 2, 2018

Cause: A double-clicked chart object becomes "selected". If MQL tries to access a selected object it fails with ERR_OBJECT_DOES_NOT_EXIST. Incorrectly handling this error (e.g. by taking it literally, assuming it doesn't exist and trying to re-create it) leads to that crash. I recommend to make sure the object is created once and to ignore that specific error afterwards. That's what I do and I know of no other way to handle the situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants