A trendline is a chart line pattern for technical analysis, connecting either the high prices or low prices of an asset in the market. The resulting line is the trendline, which helps traders predict future price movements.