As I have finally managed to go live experimenting, can you spot an error preventing the two MessageBox calls from being successful, while both Alerts display proper values?:
Martinigue: Oh yes ..I just recalled that a MessgeBox cannot be called from an indicator code ...
Yup . . . MessageBox() "The function cannot be called from custom indicators since they are executed within interface thread and may not decelerate it."
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
As I have finally managed to go live experimenting, can you spot an error preventing the two MessageBox calls from being successful, while both Alerts display proper values?:
This is driving me nuts at the moment ...
Oh yes ..I just recalled that a MessgeBox cannot be called from an indicator code ...
Great thread!! But - it is function for only clear window (only graph).
But what if I have main window + subwindow with indicator? What do I find x,y subwindow?
Great thread!! But - it is function for only clear window (only graph).
But what if I have main window + subwindow with indicator? What do I find x,y subwindow?