Drawing lines that have an end (instead of OBJ_TREND)

 

Hi,

I know it can be done and I have read all the object-types over and over again with no success.

What object-type is to be used if i want to draw a line with a beginning AND an end on-screen?

Thanks alot in advance for any help.

/ McKeen

 

if you set the OBJPROP_RAY property to false, then OBJ_TREND will have a beginning and an end ...

https://docs.mql4.com/objects/ObjectSet

 
csebastian:

if you set the OBJPROP_RAY property to false, then OBJ_TREND will have a beginning and an end ...

https://docs.mql4.com/objects/ObjectSet


Thank you!

/ McKeen

Reason: