A downtrend is detected when price action progressively shows lower peaks and lower lows over time.
Trend Lines

Disclaimer