How to draw line SEGMENT

 
I need to draw line segment to show buy open and close position, I've found ObjectCreate but there is no such segment available only Trend which is infinitive line which doesn't fit my needs. So is there such line segment in mql4, to clarify I want to make lines as in tester visual mode where it shows where it opened and where it closed
 
Azael05x:  Trend which is infinitive line
Turn off OBJPROP_RAY
See my TLine
Reason: