Is it possible to have the arrows graphically overlay the line, but at the same time the names of the labels of those arrows appear in the bubble?
Technically, no. Separate buffers can't share the same buffer caption.
2 options off the top of my head:
- Rewrite your arrow dots as Objects in the foreground, but this is memory intensive.
- As you appear to be using color changing arrow dots as a color changing line, get rid of the arrow dots and rewrite the line as color changing. Here's another coders example:
Forum on trading, automated trading systems and testing trading strategies
Moving Average With Direction Color Change
Widy Prasetyo, 2013.02.12 08:47
PERFECT !!!!!!
Thanks again....... and here is final version
Thanks for the answer.
Separate buffers can't share the same buffer caption.
We may have misunderstood, but I don't want to share the same buffer caption. My point is that both the graphical plotting and the "text caption" are dependent on the order of the buffers. The first (zero) buffer is graphically plotted at the very bottom, but at the same time its value appears in the caption when the mouse is hovered over.
My question is whether there is any way to disable displaying the value of the lower (e.g. zero) buffer and instead allow displaying the higher (e.g. first) buffer when the mouse is hovered over.
Rewrite your arrow dots as Objects in the foreground
As you write, that's memory intensive, so it's not an option for me.
get rid of the arrow dots and rewrite the line as color changing
Of course, I can program the indicator as a line with changing color, but that is not a suitable solution for me at all, because it has some fundamental limitations.
My question is whether there is any way to disable displaying the value of the lower (e.g. zero) buffer and instead allow displaying the higher (e.g. first) buffer when the mouse is hovered over.
"Pay attention to one important point. Diagrams are plotted on the chart in the order corresponding to their indexes, as a result of which some are visually higher than others (overlap them). In this case, a histogram with index 0 is drawn first, and then a line with index 1 is drawn on top of it. Sometimes it makes sense to change the order of registration of charts in order to provide better visibility of smaller graphical constructions, which may be covered by larger (wider) plots.
Setting such priorities along the imaginary Z-axis, going deep into the screen (perpendicular to the screen) is called the Z-order. We will encounter this technique again when studying graphic objects."
The first (zero) buffer is graphically plotted at the very bottom

- www.mql5.com
"Pay attention to one important point. Diagrams are plotted on the chart in the order corresponding to their indexes, as a result of which some are visually higher than others (overlap them). In this case, a histogram with index 0 is drawn first, and then a line with index 1 is drawn on top of it. Sometimes it makes sense to change the order of registration of charts in order to provide better visibility of smaller graphical constructions, which may be covered by larger (wider) plots.
Setting such priorities along the imaginary Z-axis, going deep into the screen (perpendicular to the screen) is called the Z-order. We will encounter this technique again when studying graphic objects."
What you write is perfectly well known, but it doesn't answer my question.
Personally, I don't think it's possible to plot a line at the very bottom (buffer 0) and at the same time disable outputting its value in a bubble. Unlike graphical objects, there is no option to build a Z-order.
Or am I wrong?
What you write is perfectly well known, but it doesn't answer my question.
Personally, I don't think it's possible to plot a line at the very bottom (buffer 0) and at the same time disable outputting its value in a bubble. Unlike graphical objects, there is no option to build a Z-order.
Or am I wrong?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have an indicator that plots 3 buffers. The first is a line (buffer number 0) and the other two are arrows (bufer numbers 1 and 2) that lie on that line (see picture). With this order of the buffers, the indicator is plotted in a desirable way (the arrows overlap the line). Unfortunately, when you hover, the label name of that line appears in the bubble, but not the names of the labels of those arrows.
Is it possible to have the arrows graphically overlay the line, but at the same time the names of the labels of those arrows appear in the bubble?