how to lock drawing objects position in MT4 ?

 

I want to know MT5 support disable selection for objects like Trendlines so how can we do the same thing in MT4 plz guide me I need some S/R levels they mostly get selected while scroling or clicking chart panning so plz I want to lock them help me plz :(


Thanks in Advance

 
I've not actually used it myself, but try ObjectSetInteger and OBJPROP_SELECTABLE
 
fxninjai:

I want to know MT5 support disable selection for objects like Trendlines so how can we do the same thing in MT4 plz guide me I need some S/R levels they mostly get selected while scroling or clicking chart panning so plz I want to lock them help me plz :(


Thanks in Advance


You have to look at the example you find in
 

I am afraid I don't know about MQL4 programming but plz is there any script to lock unlock all horizontal trendlines