I want to be able to control line description field via MQL code.
As you know when double clicking on line in MT4 you get a message where you can fill in two fields with text - 'label' and 'description'. I can set a lable name but could not find any reference how to change description.
Can someone please help!
Are you talking about line type Objects or Indicator lines ?
If you are talking about line Objects: Please read the documentation: ObjectSetText()
I am a beginner in MQL. It is a line I am talking about.
I could not attach image but it is a dialogue box that normally appears after doublick on line> 'horisontal line properties'.
On common tab there is 'name' which is controlled via SetIndexLabel(0,"labeltext"), I believe.
Also 'Description' field that I have no idea how to set via coding.
What I want code to do is draw a line that would have required description text.
I guess it is something simple but I have no idea how it is done.
Thanks - your reference has answered my question!
To add comments, please log in or register