The Haller Theory of Stock Market Trends