For the purposes of technical analysis you can use any of the 4 prices and their combinations: open, close, high and low.
Charts are usually plotted using closing prices for the time period selected. Trend lines are drawn by connecting highs or lows. It’s not uncommon to plot moving averages of high, low and close for the same period.