Is there a way to open inputs dialog box by using OnChartEvent() ?

To add comments, please log in or register
DeepFocus
18
DeepFocus  

In a custom indicator, I'd like to add an object/button/whatever to the chart that allows the user to click it (or even just hit a hot key) to open up the custom indicator's input dialog box (i.e., program properties dialog box)?  Is it possible in MQL4?  What about MQL5?


The reason I want to do this is that sometimes a custom indicator's buffer is not drawn on the chart in such a way that allows the user to just right click and hit properties to go straight to the modal dialogue to change the user inputs.  The user has to hit Ctrl-I and then find the indicator on the list and then double click it to open the dialogue to change inputs. 


If mql doesn't allow this, is there another way to accomplish this? Is there a way I can draw the buffer in the lower right corner of the chart, so user can just right-click there to go to the indicator's inputs?  Or a variation on this idea?


If mql does allow this, what other dialogue boxes can I open through my mql code? 


Thanks for help!

To add comments, please log in or register