I have just tested the original indicator which used "DRAW_FILLING", and it allows the text to be shown in the foreground with no issues.
The problem occurred when I modified the indicator to use DRAW_HISTOGRAM2 instead. With this histogram style, the text gets obscured behind the fill color and cannot be shown in the foreground layer.
Please find attached the indicator file I modified.
Thanks.
hmm i'm using DRAW_HISTOGRAM_2 in my test too and it works
Lorentzos, thank you for the indicator example. Unfortunately it does not resolve the foreground issue on my system - the text still gets hidden behind the filled bands.
BTW - in MT4 with "chart on foreground" enabled, the text is not obscured by fills or candles. However in MT5, the text gets hidden behind both fills and candles.
Please see the screenshot showing how the text is obscured on my MT5 chart.
Lorentzos, thank you for the indicator example. Unfortunately it does not resolve the foreground issue on my system - the text still gets hidden behind the filled bands.
BTW - in MT4 with "chart on foreground" enabled, the text is not obscured by fills or candles. However in MT5, the text gets hidden behind both fills and candles.
Please see the screenshot showing how the text is obscured on my MT5 chart.
So you want the bars to be over the indicator display and the text to be over everything
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I think you are right.
I have just tested the original indicator which used "DRAW_FILLING", and it allows the text to be shown in the foreground with no issues.
The problem occurred when I modified the indicator to use DRAW_HISTOGRAM2 instead. With this histogram style, the text gets obscured behind the fill color and cannot be shown in the foreground layer.
Please find attached the indicator file I modified.
Thanks.
hmm i'm using DRAW_HISTOGRAM_2 in my test too and it works
Please see the screenshot showing how the text is obscured on my MT5 chart.
Please see the screenshot showing how the text is obscured on my MT5 chart.
So you want the bars to be over the indicator display and the text to be over everything
So you want the bars to be over the indicator display and the text to be over everything