I have developed an indicator that works fine. Its used on multiple charts. It has a feature for triggering various alarms and playing a sound when the alarms are triggered.
If I wish to turn off either of these features, I need to go into the properties of the indicator on 12 separate chart to turn on/off the two Boolean properties associated with sound and weather the alerts are triggered.
What I would like to do, is add a button on the toolbar of each chart to modify the value of these Boolean fields rather that enter the property settings of 12 charts to do the same thing. Its more of a convenience thing...
I have searched this forum and various other site and found some discussions on the matter, and even some code that was very useful, but I need to be able to analize the on click event of the button in some way to set these Boolean properties... I havnt been able to do that yet.
Any suggestions would be helpful.
Comment