How to identify a market’s long-term trend