How to compute quickly a reliable trend