Download MetaTrader 5

Setting window name for Custom Indicator in Separate Window

To add comments, please log in or register
All MQL5.community events are grouped together. Have a look at the Wall!
collierab
153
collierab 2013.11.17 07:30 

hi!

i am in the process of writing an indicator which will be displayed in a separate window. the functionality is complete and now i am just sorting out the aesthetics. in the corresponding region of the Data Window each of the indicator lines has an appropriate name, however, the "group" of lines appears under "Indicator window 1". I would like to have the name of the indicator show there rather than this rather generic label. i have already used IndicatorShortName() to put the name of the indicator onto the window itself. how can i substitute this for "Indicator window 1" in the Data Window too?

many thanks,

andrew.

Ex Ovo Omnia
3156
Ex Ovo Omnia 2013.11.17 10:22  
I assume that "Indicator window 1" cannot be altered. The subwindow may host multiple indicators, and only one (probably the first) of them can control its shortname.
Tonny Obare
1025
Tonny Obare 2013.11.17 12:34  
You could do it object style
whroeder1
14532
whroeder1 2013.11.17 13:29  
Ovo: I assume that "Indicator window 1" cannot be altered.
I believe thats true. If you label the lines with SetIndexLabel you'll not notice the separator.
whroeder1
14532
whroeder1 2013.11.17 13:30  
tonny: You could do it object style
There are no objects in the data window.
collierab
153
collierab 2013.11.18 05:25  
okay, guys, thanks for the feedback. it's not a big issue, but i thought that i would ask anyway!
To add comments, please log in or register