Exchanges is some kind of gambling =)
well if you leave your money on exchange then it is definitely gambling because you cannot be sure that you wont lose money, or if you do trading then it is gambling too
Trading and gambling do have the same way of putting your money at stake in hope of getting more from it,
But when you said gambling, it is where you play a game or predict the result of the game to win,
Where in trading, yeah you still predict but, the risk is too minimal and you can sell what you have anytime you want.
No thrill and excitement felt, as you know that you have set a limit when to sell what coins you have,
where that feelings is what makes up gambling.
so basically, trading and gambling do have the same purpose, But they do have a different mechanics.
That makes trading not a gambling.