This article uses several tests to analyse serial dependence in financial data, trying to confirm the existence of some kind of nonlinear dependence in stock markets. In an attempt to provide a better explanation of the behaviour of stock markets, we used tests based on mutual information and detrended fluctuation analysis (DFA). Applying these tests to the series of stock market indexes of 10 countries, we concluded for the absence of linear autocorrelation. However, with other tests, we found nonlinear serial dependence that affects the rates of return. With DFA, we found out that most return rate series have long-range dependence, which appears to be more pronounced for Spain, Greece and Portugal. To confirm the inefficiency of those markets, based on our results, we should prove the existence of abnormal profits.