There's a technique to spot changes in trend