A new method to detect outliers in high-frequency time series