I would like to draw a rectangle in the background of the chart but with no colour fill.
It looks like I need to set the 'back' property to FALSE in order to do this but I would like the 'back' property to be TRUE if possible so that the border lines do not draw over other objects.
Is there a way to do this please?
there is a way to set the order of display of objects so you can push it to the back. WIth property ZORDER. Read the documentation about it and using ZORDER will allow you to choose which objects go on top or below. It's like a priority to show objects in front or back .
It should work like adding
ObjectSetInteger(0,name_sell,OBJPROP_ZORDER,100);
as a extra property to all objects
there is a way to set the order of display of objects so you can push it to the back. WIth property ZORDER. Read the documentation about it and using ZORDER will allow you to choose which objects go on top or below. It's like a priority to show objects in front or back .
It should work like adding
ObjectSetInteger(0,name_sell,OBJPROP_ZORDER,100);
as a extra property to all objects
I have tried changing the z-order but this doesn't seem to make any difference.
If I set this condition the object is put in the background but also fills with colour even though I set the 'fill' property to False. This is the main issue I feel.
ObjectSetInteger(0,name,OBJPROP_BACK,True); ObjectSetInteger(0,name,OBJPROP_FILL,False);
I would like to draw a rectangle in the background of the chart but with no colour fill.
It looks like I need to set the 'back' property to FALSE in order to do this but I would like the 'back' property to be TRUE if possible so that the border lines do not draw over other objects.
Is there a way to do this please?
see here
https://www.mql5.com/en/forum/392167#comment_28588249
- 2022.03.27
- www.mql5.com
I would like to draw a rectangle in the background of the chart but with no colour fill.
It looks like I need to set the 'back' property to FALSE in order to do this but I would like the 'back' property to be TRUE if possible so that the border lines do not draw over other objects.
Is there a way to do this please?
Hi! Did you solve this problem? I think you need to include the Canvas
- 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 would like to draw a rectangle in the background of the chart but with no colour fill.
It looks like I need to set the 'back' property to FALSE in order to do this but I would like the 'back' property to be TRUE if possible so that the border lines do not draw over other objects.
Is there a way to do this please?