Victor
One simple way to identify the trend is to use a simple moving average, say 20 periods. Then focus on the moving average line instead of the price bars, as the price bars can often be misleading due to fast moves, noise, etc. Also, look for higher highs or lower lows to confirm the trend.
All the best
Steve