How To Beat The Algorithm With Trends