Technical analysis is based on the idea that stock prices move in trends determined by investor sentiment. Technical analysts use charting techniques like bar charts and moving averages to identify trend changes in prices. They also use indicators like volume, short interest ratios, and put/call ratios to evaluate overall market sentiment. Technical rules are tested to see if they produce excess returns after accounting for risk and costs.