Markets have internal dynamics leading to excess volatility and other phenomena that are difficult to explain using rational expectations models. This paper studies these using a nonequilibrium price formation rule, developed in the context of trading with market orders. Because this is so much simpler than a standard inter-temporal equilibrium model, it is possible to study multi-period markets analytically. The resulting price dynamics have second-order oscillatory terms. Value investing does not necessarily cause prices to track values. Trend following causes short-term trends in prices, but also causes longer-term oscillations. When value investing and trend following are combined, even though there is little linear structure,...