Yes, simply setup the Trendline with "Snap to Price: Nearest High or Low" as seen in the trendline preference window below. This option is the first option in the drop down list box. When trendlines are setup in this fashion, they will snap to the nearest high or low of the bar to which they are dropped or dragged.
See Also
- Horizontal Line Between Bars This video demonstrates drawing horizontal reference lines between any two bars.