You may have missed my perhaps-too-subtle point.
The point is, if you're building an algorithmic system, you need to program some numbers into your code to define a trend.
It's not the indicators which are doing the work for you. It's the way you look at the price, be it through ATR, stochs or...