How to draw a segment of horizontal line instead of HLINE?

Oh, well, I can draw a rectangle (with the same price value) to simulate a segment of line.
Trend line without ray property
That's great! Slava, thank you very much! Then I can draw segments of line with trend line also.