Learning how to spot a trending and ranging market can be tricky. Get some tips on how to do it and what to look for.