Coding a line object's value off the scale?

 
Hi.

I'm using the excellent "PointSR" indicator that automatically finds levels of support and resistance and plots them as horizontal lines on my chart.

I have the parameters set where I'm getting a LOT of lines drawn-- which is what I want :-)

Is there any way I can stop each line displaying it's price value in the vertical scale ruler? OR, is there any way to make sure all lines are drawn "in the background" so that my scale is in front of them?

Any help much appreciated. Screenshot attached...
 

Yes, you can draw the line in the background

ObjectSet(name, OBJPROP_BACK, 0)

Another alternative is to draw terndlines horizontally, not horizontal boject type lines

 
phy:

Yes, you can draw the line in the background

ObjectSet(name, OBJPROP_BACK, 0)

Another alternative is to draw terndlines horizontally, not horizontal boject type lines

Thank you phy,

Excuse my ignorance, I'm not a programmer... where would I add this line please? Somewhere in this?:

void DrawLevel(double price)
{
price = NormalizeDouble(price,Digits);
string name = "Point SR Price Level "+DoubleToStr(price, Digits);

if(ObjectFind(name)==-1)
ObjectCreate(name,OBJ_HLINE,0,0,price);

ObjectSet(name,OBJPROP_COLOR,Color);
// ObjectSet(name,OBJPROP_WIDTH,Width);
 

After an object is created, its properties can be set, immediately,or later.

You can also use ObjectSet() to change the properties later, to move something, change color, etc.

https://docs.mql4.com/constants/objects/properties

Reason: