But now in OnChartEvent() (where dialog.ChartEvent() is placed) the button is constantly reset to its original position (not pressed). I need the button to remain unchanged after clicking it until the next click. Can someone tell me how to solve this? Thank you very much!
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.
Hi to all! I have a problem: I created a button and added it and connected it to the dialog object
But now in OnChartEvent() (where dialog.ChartEvent() is placed) the button is constantly reset to its original position (not pressed). I need the button to remain unchanged after clicking it until the next click. Can someone tell me how to solve this? Thank you very much!