Please, I am trying to create something similar to what is in image below,
I want a button or icon that would turn on/off the indicator, I have looked at the
CButton CLabel classes etc
Also studied https://www.mql5.com/en/articles/2296 but am comfused on what am suppose to do to create a button that in basically an icon I can click to turn on or off the indicator.
Any suggestion in the right direction would be appreciated,
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.
Please, I am trying to create something similar to what is in image below,
I want a button or icon that would turn on/off the indicator, I have looked at theAlso studied https://www.mql5.com/en/articles/2296 but am comfused on what am suppose to do to create a button that in basically an icon I can click to turn on or off the indicator.
Any suggestion in the right direction would be appreciated,
thanks.