We examine 112,792 daily candles using more than one million spot quotes among 24 currency pairs between 2000 and 2018. We find that chart patterns are profitable. Relying on these visually based patterns achieves returns of more than 600% after accounting for the transaction costs. Nevertheless, the transaction costs are substantial. In particular, the spread is a large burden on profitability. Overall, our evidence suggests that technical analysis could generate excess returns and that the profitability of technical analysis cannot be explained by market inefficiency. Rather, the evidence is consistent with that on the link between the efficiency and profitability of technical analysis.