Finite lines...

 
I'm using ObjectCreate with OBJ_TREND because it seems to be the only thing to draw a line from A to B, but it goes past B forever.

Any way to just draw a finite line?

Thank You
 
I would be interested in a solution for this as well.

Edit: I found it rigth after writing here.

ObjectCreate("x",OBJ_TREND,0,Time,L,Time,H);
ObjectSet("x",OBJPROP_RAY, false);
Reason: