The time evolution of aggregate economic variables, such as stock prices, is affected by market expectations of individual investors. Neo-classical economic theory assumes that individuals form expectations rationally, thus enforcing prices to track economic fundamentals and leading to an efficient allocation of resources. However, laboratory experiments with human subjects have shown that individuals do not behave fully rational but instead follow simple heuristics. In laboratory markets prices may show persistent deviations from fundamentals similar to the large swings observed in real stock prices.Here we show that evolutionary selection among simple forecasting heuristics can explain coordination of individual behavior leading to three different aggregate outcomes JEL codes: E37, G12, D84, C91, C92.