Download MetaTrader 5

Setting window name for Custom Indicator in Separate Window

To add comments, please log in or register
collierab
153
collierab  

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
3356
Ex Ovo Omnia  
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
1027
Tonny Obare  
You could do it object style
whroeder1
16093
whroeder1  
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
16093
whroeder1  
tonny: You could do it object style
There are no objects in the data window.
collierab
153
collierab  
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