I may have missed your point, but, it reads as though you haven't looked at the chart properties tab:
Once you tick the box, you don't need to set it for each object.
Thanks for the reply oneday. I had a look and tried ticked and unticked it made no difference.
I have a pivot indicator which has about twenty lines and each one has a price marker on the Y axis which obscures the price of the currency which moves up and down the Y axis behind the price markers of the horizontal pivot lines.
If I double click one of the horizontal lines right click and select 'Horizontal Line properties" I can check 'Draw object as background' which will then let the currency price marker move on top of the pivot line price markers so I can see the current price.
I would like to know how to set this globally in mt4 if that's possible or how to code it into my indicator. Can anyone help?
Sorry I don't work with objects much but:
This might help: https://docs.mql4.com/constants/objects/properties
. OBJPROP_BACK 9 bool Boolean value to set/get background drawing flag for object. O
Sorry I don't work with objects much but:
This might help: https://docs.mql4.com/constants/objects/properties
- 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 want to set the horixontal line properties in my indicator to 'Draw object as background'. Does anyone know how I can code this?
I can click on a pivot line and and set this manually each time I open a chart which is not practical as their are over a dozen of them and as far as I can see it can't be set globally in mt4.