This document is a thesis that examines clustering and memory effects in financial time series. It begins with an introduction to relevant concepts in financial markets like the efficient market hypothesis and random walk models. It then discusses pattern recognition techniques like clustering and explores their application to time series data. The document outlines the Monte Carlo framework used in simulations. It analyzes memory effects through a "bounce" study of support and resistance levels. It presents an original Bayesian clustering algorithm applied to toy and real financial data. The results provide evidence of structural regularities among the time series analyzed.