Trend or range
A trend, in the plain sense, is a sequence that keeps pushing one way: higher highs and higher lows, or lower highs and lower lows. A range is a stretch where price turns back before it leaves two boundaries.
The window matters
The same market can trend on a daily chart and chop on a five-minute chart. Gua answers from the candles loaded for the timeframe on the screen. Change the timeframe and the description can change, because the candles changed.
Not a switch you must trade
Calling a stretch a trend or a range is a description. It does not choose a size for you, and it does not place anything at an exchange.